mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-24 02:15:10 +02:00
Fix
This commit is contained in:
@@ -50,7 +50,7 @@ module.exports = class AnimeAiringCommand extends Command {
|
|||||||
const title = ani.media.title.english || ani.media.title.romaji;
|
const title = ani.media.title.english || ani.media.title.romaji;
|
||||||
const airingAt = moment(ani.airingAt * 1000).tz('Asia/Tokyo').format('h:mm A');
|
const airingAt = moment(ani.airingAt * 1000).tz('Asia/Tokyo').format('h:mm A');
|
||||||
return `• ${title} (@${airingAt} JST)`
|
return `• ${title} (@${airingAt} JST)`
|
||||||
})}
|
}).join('\n')}
|
||||||
`);
|
`);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
return msg.reply(`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