Make it public

This commit is contained in:
loicbersier 2020-03-19 16:17:08 +01:00
parent 04e9bc26c0
commit f681fefeec

View file

@ -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);