mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 14:19:11 +02:00
Fix
This commit is contained in:
@@ -62,8 +62,8 @@ module.exports = class SmogonCommand extends Command {
|
|||||||
if (!data.missingno) await data.fetchSmogonTiers(...fetchGames);
|
if (!data.missingno) await data.fetchSmogonTiers(...fetchGames);
|
||||||
const embed = new MessageEmbed()
|
const embed = new MessageEmbed()
|
||||||
.setColor(0xED1C24)
|
.setColor(0xED1C24)
|
||||||
.setAuthor(`#${data.displayID} - ${data.name}`, data.formBoxImageURL(variety.id), data.serebiiURL)
|
.setAuthor(`#${data.displayID} - ${data.name}`, data.boxImageURL, data.serebiiURL)
|
||||||
.setThumbnail(data.formSpriteImageURL(variety.id));
|
.setThumbnail(data.spriteImageURL);
|
||||||
for (const game of fetchGames) {
|
for (const game of fetchGames) {
|
||||||
embed.addField(`❯ ${games[game]}`, `[${data.smogonTiers[game].join('/')}](${data.smogonURL(game)})`, true);
|
embed.addField(`❯ ${games[game]}`, `[${data.smogonTiers[game].join('/')}](${data.smogonURL(game)})`, true);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user