mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-02 21:16:09 +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.commandGuildId = data.data!.guild_id;
|
||||
this.locale = super.locale!;
|
||||
this.options = new CommandInteractionOptionResolver(
|
||||
data.data!.options ?? []
|
||||
);
|
||||
}
|
||||
|
||||
override type: InteractionTypes.ApplicationCommandAutocomplete;
|
||||
@ -337,6 +340,7 @@ export class AutoCompleteInteraction extends BaseInteraction implements Model {
|
||||
commandType: ApplicationCommandTypes;
|
||||
commandGuildId?: Snowflake;
|
||||
override locale: string;
|
||||
options: CommandInteractionOptionResolver;
|
||||
|
||||
async respondWithChoices(
|
||||
choices: ApplicationCommandOptionChoice[]
|
||||
|
Loading…
x
Reference in New Issue
Block a user