mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-19 13:56:43 +02:00
Fix
This commit is contained in:
@@ -37,7 +37,7 @@ module.exports = class ESRBCommand extends Command {
|
|||||||
.setTitle(data.title)
|
.setTitle(data.title)
|
||||||
.setURL(data.url)
|
.setURL(data.url)
|
||||||
.setThumbnail(data.ratingImage)
|
.setThumbnail(data.ratingImage)
|
||||||
.addField('❯ Rating', ratings(data.rating));
|
.addField('❯ Rating', ratings[data.rating]);
|
||||||
return msg.embed(embed);
|
return msg.embed(embed);
|
||||||
} 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