- resolveChannels<C extends GuildBasedChannel>(
text: string,
channels: Collection<string, C>,
caseSensitive?: boolean,
wholeWord?: boolean,
): Collection<Snowflake, C> Type Parameters
- C extends GuildBasedChannel
Parameters
- text: string
- channels: Collection<string, C>
- caseSensitive: boolean = false
- wholeWord: boolean = false
Returns Collection<Snowflake, C>
Resolves multiple channels from a string, such as an ID, a name, or a mention.