mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-17 08:17:35 +02:00
msg
This commit is contained in:
@@ -11,8 +11,8 @@ module.exports = class EmojiCommand extends Command {
|
||||
});
|
||||
}
|
||||
|
||||
run(message) {
|
||||
return message.say(message.guild.emojis.map(e => e).join(''))
|
||||
.catch(() => message.say('There was an error sending the emoji. Perhaps you have no custom emoji?'));
|
||||
run(msg) {
|
||||
return msg.say(msg.guild.emojis.map(e => e).join(''))
|
||||
.catch(() => msg.say('There was an error sending the emoji. Perhaps you have no custom emoji?'));
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user