fix: change resolved index types to string (#169)

This commit is contained in:
Advaith
2021-07-26 12:12:35 -07:00
committed by GitHub
parent ef2a0aeb07
commit d338409410
4 changed files with 16 additions and 16 deletions

View File

@@ -114,10 +114,10 @@ export interface APIApplicationCommandInteractionData {
name: string;
options?: APIApplicationCommandInteractionDataOption[];
resolved?: {
users?: Record<Snowflake, APIUser>;
roles?: Record<Snowflake, APIRole>;
members?: Record<Snowflake, APIInteractionDataResolvedGuildMember>;
channels?: Record<Snowflake, APIInteractionDataResolvedChannel>;
users?: Record<string, APIUser>;
roles?: Record<string, APIRole>;
members?: Record<string, APIInteractionDataResolvedGuildMember>;
channels?: Record<string, APIInteractionDataResolvedChannel>;
};
}

View File

@@ -114,10 +114,10 @@ export interface APIApplicationCommandInteractionData {
name: string;
options?: APIApplicationCommandInteractionDataOption[];
resolved?: {
users?: Record<Snowflake, APIUser>;
roles?: Record<Snowflake, APIRole>;
members?: Record<Snowflake, APIInteractionDataResolvedGuildMember>;
channels?: Record<Snowflake, APIInteractionDataResolvedChannel>;
users?: Record<string, APIUser>;
roles?: Record<string, APIRole>;
members?: Record<string, APIInteractionDataResolvedGuildMember>;
channels?: Record<string, APIInteractionDataResolvedChannel>;
};
}

View File

@@ -114,10 +114,10 @@ export interface APIApplicationCommandInteractionData {
name: string;
options?: APIApplicationCommandInteractionDataOption[];
resolved?: {
users?: Record<Snowflake, APIUser>;
roles?: Record<Snowflake, APIRole>;
members?: Record<Snowflake, APIInteractionDataResolvedGuildMember>;
channels?: Record<Snowflake, APIInteractionDataResolvedChannel>;
users?: Record<string, APIUser>;
roles?: Record<string, APIRole>;
members?: Record<string, APIInteractionDataResolvedGuildMember>;
channels?: Record<string, APIInteractionDataResolvedChannel>;
};
}

View File

@@ -114,10 +114,10 @@ export interface APIApplicationCommandInteractionData {
name: string;
options?: APIApplicationCommandInteractionDataOption[];
resolved?: {
users?: Record<Snowflake, APIUser>;
roles?: Record<Snowflake, APIRole>;
members?: Record<Snowflake, APIInteractionDataResolvedGuildMember>;
channels?: Record<Snowflake, APIInteractionDataResolvedChannel>;
users?: Record<string, APIUser>;
roles?: Record<string, APIRole>;
members?: Record<string, APIInteractionDataResolvedGuildMember>;
channels?: Record<string, APIInteractionDataResolvedChannel>;
};
}