mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-24 10:25:11 +02:00
Fix pokedex move
This commit is contained in:
@@ -41,9 +41,9 @@ module.exports = class PokedexMoveCommand extends Command {
|
|||||||
.setTitle(data.name)
|
.setTitle(data.name)
|
||||||
.setDescription(data.description ? data.cleanDescription : 'No description available.')
|
.setDescription(data.description ? data.cleanDescription : 'No description available.')
|
||||||
.addField('❯ Accuracy', `${data.accuracy}%`, true)
|
.addField('❯ Accuracy', `${data.accuracy}%`, true)
|
||||||
.addField('❯ Power', data.power || '???', true)
|
.addField('❯ Power', data.power.toString() || '???', true)
|
||||||
.addField('❯ PP', data.pp, true)
|
.addField('❯ PP', data.pp.toString(), true)
|
||||||
.addField('❯ Type', data.type, true)
|
.addField('❯ Type', data.type.toString(), true)
|
||||||
.addField('❯ Contest Type', data.contestType || 'N/A', true)
|
.addField('❯ Contest Type', data.contestType || 'N/A', true)
|
||||||
.addField('❯ Class', data.class, true);
|
.addField('❯ Class', data.class, true);
|
||||||
return msg.embed(embed);
|
return msg.embed(embed);
|
||||||
|
|||||||
Reference in New Issue
Block a user