Skip to content

Commit

Permalink
Added logs
Browse files Browse the repository at this point in the history
  • Loading branch information
outerwinnie committed Sep 2, 2024
1 parent 4f8a4aa commit e6450b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ private static async Task HandleCommandAsync(SocketMessage messageParam)

if (!result.IsSuccess)
{
Console.WriteLine(result.ErrorReason);
Console.WriteLine($"Command failed: {result.ErrorReason}");
await context.Channel.SendMessageAsync($"Error: {result.ErrorReason}");
}
}
Expand Down

0 comments on commit e6450b2

Please sign in to comment.