mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix
This commit is contained in:
@@ -47,7 +47,7 @@ module.exports = class EmojiFaceCommand extends Command {
|
||||
emojiURL = emoji.url;
|
||||
} else {
|
||||
const parsed = twemoji.parse(emoji);
|
||||
if (!parsed.length || !parsed[0] || !parsed[0].url) return msg.reply('This emoji is not yet supported.');
|
||||
if (!parsed.length || !parsed[0].url) return msg.reply('This emoji is not yet supported.');
|
||||
emojiURL = parsed[0].url;
|
||||
}
|
||||
const emojiData = await request.get(emojiURL);
|
||||
|
||||
Reference in New Issue
Block a user