mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-24 22:34:46 +02:00
Small changes, reply to some things
This commit is contained in:
@@ -40,14 +40,14 @@ module.exports = class AnimeCommand extends Command {
|
||||
.addField('❯ Type',
|
||||
`${data.showType} - ${data.status}`, true)
|
||||
.addField('❯ Episodes',
|
||||
data.episodeCount || 'N/A', true)
|
||||
data.episodeCount || '???', true)
|
||||
.addField('❯ Start Date',
|
||||
data.startDate ? new Date(data.startDate).toDateString() : 'N/A', true)
|
||||
data.startDate ? new Date(data.startDate).toDateString() : '???', true)
|
||||
.addField('❯ End Date',
|
||||
data.endDate ? new Date(data.endDate).toDateString() : 'N/A', true);
|
||||
data.endDate ? new Date(data.endDate).toDateString() : '???', true);
|
||||
return msg.embed(embed);
|
||||
} catch (err) {
|
||||
return msg.say(`Oh no, an error occurred: \`${err.message}\`. Try again later!`);
|
||||
return msg.reply(`Oh no, an error occurred: \`${err.message}\`. Try again later!`);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user