Skip to content

Commit

Permalink
Update giveroles.ts
Browse files Browse the repository at this point in the history
Upon successful assignment of roles, bot will respond with an ephemeral response.
  • Loading branch information
AHanadsaker authored Feb 24, 2024
1 parent 333be26 commit 29916ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/giveroles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ export class VerifyCommand extends Command {
console.log(roles);

await member.roles.add(roles); //Add all roles in the roles[] array
await interaction.editReply("Welcome to our Discord, we are glad you are here! **Your roles have been assigned!**");
await interaction.editReply({ content: "Welcome to our Discord, we are glad you are here! **Your roles have been assigned!**", ephemeral: true });
return;
}
}
Expand Down

0 comments on commit 29916ae

Please sign in to comment.