Add a few utility admin commands
Signed-off-by: Ske <voltasalt@gmail.com>
This commit is contained in:
@@ -43,13 +43,11 @@ namespace PluralKit.Bot.Interactive
|
||||
return button;
|
||||
}
|
||||
|
||||
protected async Task Update(InteractionContext ctx, string? content = null, Embed? embed = null)
|
||||
protected async Task Update(InteractionContext ctx)
|
||||
{
|
||||
await ctx.Respond(InteractionResponse.ResponseType.UpdateMessage,
|
||||
new InteractionApplicationCommandCallbackData
|
||||
{
|
||||
Content = content,
|
||||
Embeds = embed != null ? new[] { embed } : null,
|
||||
Components = GetComponents()
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user