This commit is contained in:
Dragon Fire
2021-02-11 13:46:39 -05:00
parent 775f6bc57b
commit eb52d56bd5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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) {
+1 -1
View File
@@ -11,7 +11,7 @@ module.exports = class PokemonArgumentType extends ArgumentType {
return true;
}
async parse(value) {
parse(value) {
return this.client.pokemon.fetch(value);
}
};