We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99e0e75 commit 1a763c6Copy full SHA for 1a763c6
Tools/BiblioTech/BaseCommand.cs
@@ -20,7 +20,9 @@ public async Task SlashCommandHandler(SocketSlashCommand command)
20
Program.Log.Log($"Responding to '{Name}'");
21
var context = new CommandContext(command, command.Data.Options);
22
await command.RespondAsync(StartingMessage, ephemeral: IsEphemeral(context));
23
- await Invoke(context);
+
24
+ // Fire and forget invocation handler. Return SlashCommandHandler immediately.
25
+ _ = Invoke(context);
26
}
27
catch (Exception ex)
28
{
0 commit comments