mirror of
https://github.com/discordjs/discord.js.git
synced 2026-06-15 10:58:18 +00:00
types(TextBasedChannels): fix awaitMessageComponent return type (#6723)
This commit is contained in:
Vendored
+1
-1
@@ -2817,7 +2817,7 @@ export interface TextBasedChannelFields extends PartialTextBasedChannelFields {
|
||||
readonly lastPinAt: Date | null;
|
||||
awaitMessageComponent<T extends MessageComponentType | MessageComponentTypes | undefined = undefined>(
|
||||
options?: AwaitMessageCollectorOptionsParams<T>,
|
||||
): Promise<InteractionCollectorReturnType<T>>;
|
||||
): Promise<InteractionExtractor<T>>;
|
||||
awaitMessages(options?: AwaitMessagesOptions): Promise<Collection<Snowflake, Message>>;
|
||||
bulkDelete(
|
||||
messages: Collection<Snowflake, Message> | readonly MessageResolvable[] | number,
|
||||
|
||||
Reference in New Issue
Block a user