🐛 fix(TextBasedChannel.js): change send method name from send to sendSlash 🐛 fix(index.d.ts): change applicationId parameter type from ApplicationCommandTypes to Snowflake in searchInteraction method

This commit is contained in:
hocsinhgioitoan
2023-04-19 17:25:53 +07:00
parent 9c9f573dc1
commit 036ebd9224
2 changed files with 2 additions and 2 deletions

2
typings/index.d.ts vendored
View File

@@ -4446,7 +4446,7 @@ export interface TextBasedChannelFields extends PartialTextBasedChannelFields {
fetchWebhooks(): Promise<Collection<Snowflake, Webhook>>;
sendTyping(): Promise<void>;
sendSlash(bot: UserResolvable, commandName: string, ...args: any): Promise<InteractionResponse>;
searchInteraction(applicationId: ApplicationCommandTypes, type?: ApplicationCommandTypes): Promise<object>;
searchInteraction(applicationId: Snowflake, type?: ApplicationCommandTypes): Promise<object>;
}
export function PartialWebhookMixin<T>(Base?: Constructable<T>): Constructable<T & PartialWebhookFields>;