From eb52d56bd57309f1a95e568d0e10cc34a5515180 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Thu, 11 Feb 2021 13:46:39 -0500 Subject: [PATCH] Fix lint --- commands/pokedex/pokedex-image.js | 2 +- types/pokemon.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/pokedex/pokedex-image.js b/commands/pokedex/pokedex-image.js index 6372f0a2..bb9b60bf 100644 --- a/commands/pokedex/pokedex-image.js +++ b/commands/pokedex/pokedex-image.js @@ -46,7 +46,7 @@ module.exports = class PokedexImageCommand extends Command { }); } - async run(msg, { pokemon }) { + run(msg, { pokemon }) { try { return msg.say(`#${pokemon.displayID} - ${pokemon.name}`, { files: [pokemon.spriteImageURL] }); } catch (err) { diff --git a/types/pokemon.js b/types/pokemon.js index f4a3bcc5..67b3cd57 100644 --- a/types/pokemon.js +++ b/types/pokemon.js @@ -11,7 +11,7 @@ module.exports = class PokemonArgumentType extends ArgumentType { return true; } - async parse(value) { + parse(value) { return this.client.pokemon.fetch(value); } };