forked from Supositware/Haha-Yes
Make it public
This commit is contained in:
parent
04e9bc26c0
commit
f681fefeec
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,6 @@ class screenshotCommand extends Command {
|
||||||
aliases: ['screenshot', 'webshot', 'ss'],
|
aliases: ['screenshot', 'webshot', 'ss'],
|
||||||
category: 'utility',
|
category: 'utility',
|
||||||
clientPermissions: ['SEND_MESSAGES', 'ATTACH_FILES'],
|
clientPermissions: ['SEND_MESSAGES', 'ATTACH_FILES'],
|
||||||
ownerOnly: 'true', // Owner only until i am sure there is no security issue
|
|
||||||
args: [
|
args: [
|
||||||
{
|
{
|
||||||
id: 'url',
|
id: 'url',
|
||||||
|
@ -31,6 +30,7 @@ class screenshotCommand extends Command {
|
||||||
}
|
}
|
||||||
|
|
||||||
async exec(message, args) {
|
async exec(message, args) {
|
||||||
|
if (args.url.includes('config.json')) return message.channel.send('I don\'t think so');
|
||||||
let Embed = this.client.util.embed()
|
let Embed = this.client.util.embed()
|
||||||
.setColor(message.member.displayHexColor)
|
.setColor(message.member.displayHexColor)
|
||||||
.setTitle(args.url);
|
.setTitle(args.url);
|
||||||
|
|
Loading…
Reference in a new issue