mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-01 20:46:08 +00:00
feat(context): auto remove thinking when use message commands (#270)
This commit is contained in:
parent
71cab8721e
commit
24d316f070
@ -99,6 +99,7 @@ export class CommandContext<
|
||||
body: InteractionMessageUpdateBodyRequest,
|
||||
): Promise<When<InferWithPrefix, WebhookMessageStructure | MessageStructure, WebhookMessageStructure>> {
|
||||
if (this.interaction) return this.interaction.editResponse(body);
|
||||
body.content ??= '';
|
||||
return (this.messageResponse = await this.messageResponse!.edit(body)) as never;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user