mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-14 17:14:15 +01:00
fix up some bot shit
This commit is contained in:
parent
e2e030be90
commit
028d1642e1
13 changed files with 120 additions and 274 deletions
|
|
@ -14,7 +14,7 @@ public partial class MareWizardModule
|
|||
|
||||
_logger.LogInformation("{method}:{userId}", nameof(ComponentUserinfo), Context.Interaction.User.Id);
|
||||
|
||||
using var mareDb = GetDbContext();
|
||||
using var mareDb = await GetDbContext().ConfigureAwait(false);
|
||||
EmbedBuilder eb = new();
|
||||
eb.WithTitle("User Info");
|
||||
eb.WithColor(Color.Blue);
|
||||
|
|
@ -36,7 +36,7 @@ public partial class MareWizardModule
|
|||
|
||||
_logger.LogInformation("{method}:{userId}:{uid}", nameof(SelectionUserinfo), Context.Interaction.User.Id, uid);
|
||||
|
||||
using var mareDb = GetDbContext();
|
||||
using var mareDb = await GetDbContext().ConfigureAwait(false);
|
||||
EmbedBuilder eb = new();
|
||||
eb.WithTitle($"User Info for {uid}");
|
||||
await HandleUserInfo(eb, mareDb, uid).ConfigureAwait(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue