1
0
Fork 0

Make it public

akairo
loicbersier 4 years ago
parent 04e9bc26c0
commit f681fefeec

@ -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…
Cancel
Save