This commit is contained in:
Dragon Fire
2021-04-06 09:56:41 -04:00
parent f7698ebf9b
commit c602fa3ad7
+1 -1
View File
@@ -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);