Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewstech committed Jan 26, 2024
1 parent 45792f6 commit b91d1f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions commands/staff.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ module.exports = {
.setDescription(`${add.username} has been added to the staff database!`)
.setColor("#0096ff");

await DmUser(interaction, add, "You have been added to the staff team! You can now use all the staff commands");
await DmUser(interaction.client, add, "You have been added to the staff team! You can now use all the staff commands");
return await interaction.editReply({ embeds: [embed] });
}
if (remove) {
Expand All @@ -75,7 +75,7 @@ module.exports = {
const embed = new EmbedBuilder()
.setDescription(`${remove.username} has been removed from the staff database!`)
.setColor("#0096ff");
await DmUser(interaction, remove, "You have been removed from the staff team! You can no longer use the staff commands");
await DmUser(interaction.client, remove, "You have been removed from the staff team! You can no longer use the staff commands");
return await interaction.editReply({ embeds: [embed] });
}
if (!add && !remove) {
Expand Down

0 comments on commit b91d1f8

Please sign in to comment.