types(Message): correct bulkDelete return type (v13) (#8469)

This commit is contained in:
RedGuy12
2022-08-10 12:37:51 -06:00
committed by GitHub
parent 9ce7e5edcf
commit 03c59e3a83
2 changed files with 2 additions and 2 deletions

2
typings/index.d.ts vendored
View File

@@ -3537,7 +3537,7 @@ export interface TextBasedChannelFields extends PartialTextBasedChannelFields {
bulkDelete(
messages: Collection<Snowflake, Message> | readonly MessageResolvable[] | number,
filterOld?: boolean,
): Promise<Collection<Snowflake, Message>>;
): Promise<Collection<Snowflake, Message | PartialMessage | undefined>>;
createMessageComponentCollector<T extends MessageComponentTypeResolvable = 'ACTION_ROW'>(
options?: MessageChannelCollectorOptionsParams<T, true>,
): InteractionCollector<MappedInteractionTypes[T]>;