Skip to content

Commit

Permalink
revert: fix: change resolved index types to string (#172)
Browse files Browse the repository at this point in the history
This reverts commit d338409.
  • Loading branch information
vladfrangu committed Jul 30, 2021
1 parent f299507 commit 647905e
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 deletions deno/payloads/v8/_interactions/slashCommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@ export interface APIApplicationCommandInteractionData {
name: string;
options?: APIApplicationCommandInteractionDataOption[];
resolved?: {
users?: Record<string, APIUser>;
roles?: Record<string, APIRole>;
members?: Record<string, APIInteractionDataResolvedGuildMember>;
channels?: Record<string, APIInteractionDataResolvedChannel>;
users?: Record<Snowflake, APIUser>;
roles?: Record<Snowflake, APIRole>;
members?: Record<Snowflake, APIInteractionDataResolvedGuildMember>;
channels?: Record<Snowflake, APIInteractionDataResolvedChannel>;
};
}

Expand Down
8 changes: 4 additions & 4 deletions deno/payloads/v9/_interactions/slashCommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@ export interface APIApplicationCommandInteractionData {
name: string;
options?: APIApplicationCommandInteractionDataOption[];
resolved?: {
users?: Record<string, APIUser>;
roles?: Record<string, APIRole>;
members?: Record<string, APIInteractionDataResolvedGuildMember>;
channels?: Record<string, APIInteractionDataResolvedChannel>;
users?: Record<Snowflake, APIUser>;
roles?: Record<Snowflake, APIRole>;
members?: Record<Snowflake, APIInteractionDataResolvedGuildMember>;
channels?: Record<Snowflake, APIInteractionDataResolvedChannel>;
};
}

Expand Down
8 changes: 4 additions & 4 deletions payloads/v8/_interactions/slashCommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@ export interface APIApplicationCommandInteractionData {
name: string;
options?: APIApplicationCommandInteractionDataOption[];
resolved?: {
users?: Record<string, APIUser>;
roles?: Record<string, APIRole>;
members?: Record<string, APIInteractionDataResolvedGuildMember>;
channels?: Record<string, APIInteractionDataResolvedChannel>;
users?: Record<Snowflake, APIUser>;
roles?: Record<Snowflake, APIRole>;
members?: Record<Snowflake, APIInteractionDataResolvedGuildMember>;
channels?: Record<Snowflake, APIInteractionDataResolvedChannel>;
};
}

Expand Down
8 changes: 4 additions & 4 deletions payloads/v9/_interactions/slashCommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@ export interface APIApplicationCommandInteractionData {
name: string;
options?: APIApplicationCommandInteractionDataOption[];
resolved?: {
users?: Record<string, APIUser>;
roles?: Record<string, APIRole>;
members?: Record<string, APIInteractionDataResolvedGuildMember>;
channels?: Record<string, APIInteractionDataResolvedChannel>;
users?: Record<Snowflake, APIUser>;
roles?: Record<Snowflake, APIRole>;
members?: Record<Snowflake, APIInteractionDataResolvedGuildMember>;
channels?: Record<Snowflake, APIInteractionDataResolvedChannel>;
};
}

Expand Down

0 comments on commit 647905e

Please sign in to comment.