Skip to content

Commit

Permalink
Merge pull request #415 from stepech/fix-commands-DM-fail
Browse files Browse the repository at this point in the history
DM: fix commands failing in DMs
  • Loading branch information
stepech authored Oct 17, 2022
2 parents cfd7724 + 30a02a1 commit 9645c93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HonzaBotner.Discord/DiscordBot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ private async Task Client_ClientError(DiscordClient sender, ClientErrorEventArgs

private Task Commands_CommandInvoked(SlashCommandsExtension e, SlashCommandInvokedEventArgs args)
{
e.Client.Logger.LogDebug("Received {Command} by {Author}", args.Context.CommandName, args.Context.Member.DisplayName);
e.Client.Logger.LogDebug("Received {Command} by {Author}", args.Context.CommandName, args.Context.User.Username);
return Task.CompletedTask;
}

Expand Down

0 comments on commit 9645c93

Please sign in to comment.