diff --git a/commands/search/pokedex.js b/commands/search/pokedex.js index 9167b9a0..71fdd994 100644 --- a/commands/search/pokedex.js +++ b/commands/search/pokedex.js @@ -22,7 +22,7 @@ module.exports = class PokedexCommand extends Command { }); } - run(message, args) { + async run(message, args) { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; if (!message.channel.permissionsFor(this.client.user).hasPermission('EMBED_LINKS')) return message.say(':x: Error! I don\'t have the Embed Links Permission!');