diff options
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()
|