add emoji for fake facts
This commit is contained in:
parent
5c10bdcb65
commit
208cf4bae6
|
@ -21,9 +21,10 @@ export default {
|
|||
});
|
||||
|
||||
const fact = response.data.fact;
|
||||
const emojiId = fact.real ? '1237383875924197456' : '1237383961332813937';
|
||||
const embed = new EmbedBuilder()
|
||||
.setTitle('Random Fact')
|
||||
.setThumbnail(bot.client.emojis.cache.get('1237383875924197456')?.imageURL() ?? interaction.guild.iconURL())
|
||||
.setThumbnail(bot.client.emojis.cache.get(emojiId)?.imageURL() ?? interaction.guild.iconURL())
|
||||
.setDescription(fact.content)
|
||||
.setURL(fact.source)
|
||||
.setFooter({
|
||||
|
|
Loading…
Reference in New Issue