From f0926bc03a35b52c37c5b6a7284fd6c6ee49f931 Mon Sep 17 00:00:00 2001 From: Osvaldon Date: Sun, 22 Sep 2024 14:14:01 +0300 Subject: [PATCH] Changed the /login command bot responses to ephemeral (only seen by the command issuer, dismissable). --- DiscordBot.App/Commands/AuthenticationCommands.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DiscordBot.App/Commands/AuthenticationCommands.cs b/DiscordBot.App/Commands/AuthenticationCommands.cs index dccfd44..3021180 100644 --- a/DiscordBot.App/Commands/AuthenticationCommands.cs +++ b/DiscordBot.App/Commands/AuthenticationCommands.cs @@ -37,7 +37,7 @@ public AuthenticationCommands(DiscordService discordService, IServerDiscordApi s if (response.Status) await discordMember.GrantRoleAsync(_discordService.MemberRole); - await ctx.CreateResponseAsync(response.Message); + await ctx.CreateResponseAsync(response.Message, ephemeral: true); } } }