types(InteractionCollector): Fix guild and channel types (#7624)

This commit is contained in:
Jiralite
2022-03-10 08:00:58 +00:00
committed by GitHub
parent a7535a2232
commit 78140748ce
3 changed files with 13 additions and 4 deletions

View File

@@ -558,6 +558,13 @@ exports.ChannelTypes = createEnum([
* @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:
* * DM