mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-15 02:04:16 +01:00
add more logging to mare wizard module
This commit is contained in:
parent
fee84aa1ff
commit
2f1b1f4b27
9 changed files with 68 additions and 4 deletions
|
|
@ -12,6 +12,8 @@ public partial class MareWizardModule
|
|||
{
|
||||
if (!(await ValidateInteraction().ConfigureAwait(false))) return;
|
||||
|
||||
_logger.LogInformation("{method}:{userId}", nameof(ComponentUserinfo), Context.Interaction.User.Id);
|
||||
|
||||
using var mareDb = GetDbContext();
|
||||
EmbedBuilder eb = new();
|
||||
eb.WithTitle("User Info");
|
||||
|
|
@ -32,6 +34,8 @@ public partial class MareWizardModule
|
|||
{
|
||||
if (!(await ValidateInteraction().ConfigureAwait(false))) return;
|
||||
|
||||
_logger.LogInformation("{method}:{userId}:{uid}", nameof(SelectionUserinfo), Context.Interaction.User.Id, uid);
|
||||
|
||||
using var mareDb = GetDbContext();
|
||||
EmbedBuilder eb = new();
|
||||
eb.WithTitle($"User Info for {uid}");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue