Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LarmuseauNiels committed Apr 21, 2023
1 parent 69d16bb commit 8ea5d23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions interactions/commands/referrals.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = {
.setDescription("shows your referrals"),

async execute(interaction) {
interaction.deferReply({ ephemeral: true });
await interaction.deferReply({ ephemeral: true });
// add the code for showing user's referrals here
let member = await global.client.prisma.members.findUnique({
where: { ID: interaction.user.id },
Expand Down Expand Up @@ -46,7 +46,7 @@ module.exports = {
iconURL:
"https://flamingpalm.com/assets/images/logo/FlamingPalmLogoSmall.png",
});
interaction.reply({ embeds: [embed], ephemeral: true });
await interaction.editReply({ embeds: [embed], ephemeral: true });
},
isGuild: true,
};

0 comments on commit 8ea5d23

Please sign in to comment.