diff --git a/commands/guildinfo/emoji.js b/commands/guildinfo/emoji.js index d30b6359..b9d657c6 100644 --- a/commands/guildinfo/emoji.js +++ b/commands/guildinfo/emoji.js @@ -18,7 +18,7 @@ module.exports = class EmojiCommand extends commando.Command { async run(message) { if(message.channel.type !== 'dm') { - if(!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES', 'EMBED_LINKS'])) return; + if(!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } console.log("[Command] " + message.content); if (message.channel.type !== 'dm') { diff --git a/commands/imageedit/meme.js b/commands/imageedit/meme.js index 214897c9..9b0b0322 100644 --- a/commands/imageedit/meme.js +++ b/commands/imageedit/meme.js @@ -11,7 +11,7 @@ module.exports = class MemeCommand extends commando.Command { group: 'imageedit', memberName: 'meme', description: "Sends a Meme with text of your choice, and a background of your choice. Split first and second lines with a | (;meme facepalm I can't even | comprehend this)", - examples: [";meme facepalm I can't even | comprehend this"] + examples: [";meme facepalm I can't even | comprehend this", ";meme list"] }); } diff --git a/commands/response/potato.js b/commands/response/potato.js index 1011f9cb..b44cf7d0 100644 --- a/commands/response/potato.js +++ b/commands/response/potato.js @@ -11,7 +11,7 @@ module.exports = class PotatoCommand extends commando.Command { }); } - async run(message, args) { + async run(message) { if(message.channel.type !== 'dm') { if(!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES', 'ATTACH_FILES'])) return; } diff --git a/index.js b/index.js index 9d0c6cb0..7065319d 100644 --- a/index.js +++ b/index.js @@ -98,7 +98,7 @@ client.on('guildCreate', guild => { client.on('guildDelete', guild => { console.log("[Guild] I have left the guild: " + guild.name + ", " + guild.owner.user.username + " (" + guild.id + ")..."); - client.guilds.get(config.server).channels.get('265503171835592704').send("I have left the guild: " + guild.name + " (Owner: " + guild.owner.user.username + ")..."); + client.guilds.get(config.server).channels.get(config.announcementChannel).send("I have left the guild: " + guild.name + " (Owner: " + guild.owner.user.username + ")..."); client.shard.fetchClientValues('guilds.size').then(results => { console.log("[Guild Count] " + results.reduce((prev, val) => prev + val, 0)); request