diff options
author | Minteck <contact@minteck.org> | 2022-02-11 19:14:56 +0100 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-02-11 19:14:56 +0100 |
commit | 84af829e91593b7672ce25791b478354b295e34b (patch) | |
tree | 947f8bf7d3fd496a378b47a9d30927056cca297b /handler/button.js | |
parent | f41f68f6daa1cb799896c5260b31ffadd58a822b (diff) | |
download | ponyfind-84af829e91593b7672ce25791b478354b295e34b.tar.gz ponyfind-84af829e91593b7672ce25791b478354b295e34b.tar.bz2 ponyfind-84af829e91593b7672ce25791b478354b295e34b.zip |
Fix: doesn't show custom emojis where they can't show (fixes #2)
Diffstat (limited to 'handler/button.js')
-rw-r--r-- | handler/button.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/handler/button.js b/handler/button.js index 3fbebbe..f9f283e 100644 --- a/handler/button.js +++ b/handler/button.js @@ -63,7 +63,7 @@ module.exports = async (interaction) => { await interaction.reply({
ephemeral: interaction.guild !== null,
embeds: [
- getEmbed(keys[1], interaction.user.id, interaction.guild ? interaction.guild.id : 0, false, interaction.user)
+ getEmbed(keys[1], interaction.user.id, interaction.guild ? interaction.guild.id : 0, false, interaction.user, interaction.member, interaction.guild)
],
components: [
row
@@ -85,7 +85,7 @@ module.exports = async (interaction) => { await interaction.channel.send({
ephemeral: false,
embeds: [
- getEmbed(keys[1], interaction.user.id, interaction.guild ? interaction.guild.id : 0, true, interaction.user)
+ getEmbed(keys[1], interaction.user.id, interaction.guild ? interaction.guild.id : 0, true, interaction.user, interaction.member, interaction.guild)
],
components: [
new MessageActionRow()
|