mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-03 05:26:07 +00:00
fix: late hotfix that miia asked for
This commit is contained in:
parent
4d90686ee6
commit
4d779e6bb2
@ -329,6 +329,9 @@ export class AutoCompleteInteraction extends BaseInteraction implements Model {
|
|||||||
this.commandType = data.data!.type;
|
this.commandType = data.data!.type;
|
||||||
this.commandGuildId = data.data!.guild_id;
|
this.commandGuildId = data.data!.guild_id;
|
||||||
this.locale = super.locale!;
|
this.locale = super.locale!;
|
||||||
|
this.options = new CommandInteractionOptionResolver(
|
||||||
|
data.data!.options ?? []
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
override type: InteractionTypes.ApplicationCommandAutocomplete;
|
override type: InteractionTypes.ApplicationCommandAutocomplete;
|
||||||
@ -337,6 +340,7 @@ export class AutoCompleteInteraction extends BaseInteraction implements Model {
|
|||||||
commandType: ApplicationCommandTypes;
|
commandType: ApplicationCommandTypes;
|
||||||
commandGuildId?: Snowflake;
|
commandGuildId?: Snowflake;
|
||||||
override locale: string;
|
override locale: string;
|
||||||
|
options: CommandInteractionOptionResolver;
|
||||||
|
|
||||||
async respondWithChoices(
|
async respondWithChoices(
|
||||||
choices: ApplicationCommandOptionChoice[]
|
choices: ApplicationCommandOptionChoice[]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user