mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 03:23:29 +01:00
docs(InteractionCollector): Document channel option type (#7551)
This commit is contained in:
@@ -6,7 +6,7 @@ const Events = require('../util/Events');
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {CollectorOptions} InteractionCollectorOptions
|
* @typedef {CollectorOptions} InteractionCollectorOptions
|
||||||
* @property {TextBasedChannelResolvable} [channel] The channel to listen to interactions from
|
* @property {TextBasedChannelsResolvable} [channel] The channel to listen to interactions from
|
||||||
* @property {ComponentType} [componentType] The type of component to listen for
|
* @property {ComponentType} [componentType] The type of component to listen for
|
||||||
* @property {GuildResolvable} [guild] The guild to listen to interactions from
|
* @property {GuildResolvable} [guild] The guild to listen to interactions from
|
||||||
* @property {InteractionType} [interactionType] The type of interaction to listen for
|
* @property {InteractionType} [interactionType] The type of interaction to listen for
|
||||||
|
|||||||
@@ -65,6 +65,13 @@ exports.NonSystemMessageTypes = [
|
|||||||
* @typedef {DMChannel|TextChannel|NewsChannel|ThreadChannel} TextBasedChannels
|
* @typedef {DMChannel|TextChannel|NewsChannel|ThreadChannel} TextBasedChannels
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Data that resolves to give a text-based channel. This can be:
|
||||||
|
* * A text-based channel
|
||||||
|
* * A snowflake
|
||||||
|
* @typedef {TextBasedChannels|Snowflake} TextBasedChannelsResolvable
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The types of channels that are text-based. The available types are:
|
* The types of channels that are text-based. The available types are:
|
||||||
* * {@link ChannelType.DM}
|
* * {@link ChannelType.DM}
|
||||||
|
|||||||
Reference in New Issue
Block a user