From f681fefeecade4093ddafbc4bacf31d37008fe6e Mon Sep 17 00:00:00 2001 From: loicbersier Date: Thu, 19 Mar 2020 16:17:08 +0100 Subject: [PATCH] Make it public --- commands/utility/screenshot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/utility/screenshot.js b/commands/utility/screenshot.js index 3ccc785f..e279325f 100644 --- a/commands/utility/screenshot.js +++ b/commands/utility/screenshot.js @@ -9,7 +9,6 @@ class screenshotCommand extends Command { aliases: ['screenshot', 'webshot', 'ss'], category: 'utility', clientPermissions: ['SEND_MESSAGES', 'ATTACH_FILES'], - ownerOnly: 'true', // Owner only until i am sure there is no security issue args: [ { id: 'url', @@ -31,6 +30,7 @@ class screenshotCommand extends Command { } 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() .setColor(message.member.displayHexColor) .setTitle(args.url);