From 29916ae7175cfd2c36e4ef5549a3e9d93b3c33e0 Mon Sep 17 00:00:00 2001 From: Alex <43963205+AHanadsaker@users.noreply.github.com> Date: Sat, 24 Feb 2024 00:53:36 -0600 Subject: [PATCH] Update giveroles.ts Upon successful assignment of roles, bot will respond with an ephemeral response. --- src/commands/giveroles.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/giveroles.ts b/src/commands/giveroles.ts index 8042779..8578b4f 100644 --- a/src/commands/giveroles.ts +++ b/src/commands/giveroles.ts @@ -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; } }