mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-27 14:18:36 +02:00
Fix Everything
This commit is contained in:
@@ -12,10 +12,8 @@ module.exports = class EmojiCommand extends Command {
|
||||
}
|
||||
|
||||
run(msg) {
|
||||
const emoji = msg.guild.emojis;
|
||||
if (!emoji.size) {
|
||||
return msg.say('You have no Custom Emoji.');
|
||||
}
|
||||
return msg.say(emoji.map((e) => e).join(''));
|
||||
const emojis = msg.guild.emojis;
|
||||
if (!emojis.size) return msg.say('You have no Custom Emoji.');
|
||||
return msg.say(emojis.map((emoji) => emoji).join(''));
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user