mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-06 22:44:32 +02:00
Fix lint
This commit is contained in:
@@ -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
@@ -11,7 +11,7 @@ module.exports = class PokemonArgumentType extends ArgumentType {
|
||||
return true;
|
||||
}
|
||||
|
||||
async parse(value) {
|
||||
parse(value) {
|
||||
return this.client.pokemon.fetch(value);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user