aboutsummaryrefslogtreecommitdiff
path: root/commands/pony.js
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-02-11 19:14:56 +0100
committerMinteck <contact@minteck.org>2022-02-11 19:14:56 +0100
commit84af829e91593b7672ce25791b478354b295e34b (patch)
tree947f8bf7d3fd496a378b47a9d30927056cca297b /commands/pony.js
parentf41f68f6daa1cb799896c5260b31ffadd58a822b (diff)
downloadponyfind-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 'commands/pony.js')
-rw-r--r--commands/pony.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/pony.js b/commands/pony.js
index ef29fb9..cd83c66 100644
--- a/commands/pony.js
+++ b/commands/pony.js
@@ -72,7 +72,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