fix(bot): i forgot how serilog works

This commit is contained in:
spiral
2022-11-28 19:25:20 -05:00
parent 3f62f89e18
commit f06fdb38ef
2 changed files with 5 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ public class InteractionCreated: IEventHandler<InteractionCreateEvent>
{
if (evt.Type == Interaction.InteractionType.MessageComponent)
{
_logger.Information($"Discord debug: got interaction with ID {evt.Id} from custom ID {evt.Data?.CustomId}");
_logger.Information("Discord debug: got interaction with ID {id} from custom ID {custom_id}", evt.Id, evt.Data?.CustomId);
var customId = evt.Data?.CustomId;
if (customId == null) return;