Skip to content

Commit

Permalink
Add Donovan's suggested changes, also values is now an array of strings
Browse files Browse the repository at this point in the history
Co-Authored-By: Donovan Daniels <hewwo@yiff.rocks>
  • Loading branch information
JustCat80 and DonovanDMC committed Jul 24, 2021
1 parent 1563fbd commit f920556
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ declare namespace Eris {
name: string;
type: SlashCommandOptionType;
value?: SlashCommandOptionType;
options?: [InteractionDataOptions];
options?: InteractionDataOptions[];
};

type InteractionOptions = {
Expand Down Expand Up @@ -2259,8 +2259,8 @@ declare namespace Eris {
id?: string;
custom_id?: string;
name?: string;
options?: [InteractionDataOptions];
values?: [string];
options?: InteractionDataOptions[];
values?: string[];
};
guildId?: string;
id: string;
Expand Down

0 comments on commit f920556

Please sign in to comment.