mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 06:42:50 +02:00
Fix
This commit is contained in:
@@ -23,6 +23,7 @@ module.exports = class EmojiCommand extends Command {
|
|||||||
}
|
}
|
||||||
|
|
||||||
run(msg, { emoji }) {
|
run(msg, { emoji }) {
|
||||||
|
if (!emoji.author) await emoji.fetchAuthor();
|
||||||
const embed = new MessageEmbed()
|
const embed = new MessageEmbed()
|
||||||
.setColor(0x00AE86)
|
.setColor(0x00AE86)
|
||||||
.setThumbnail(emoji.url)
|
.setThumbnail(emoji.url)
|
||||||
|
|||||||
Reference in New Issue
Block a user