• Resolves multiple channels from a string, such as an ID, a name, or a mention.

    Type Parameters

    • C extends GuildBasedChannel

    Parameters

    • text: string

      Text to resolve.

    • channels: Collection<string, C>

      Collection of channels to find in.

    • caseSensitive: boolean = false

      Makes finding by name case sensitive.

    • wholeWord: boolean = false

      Makes finding by name match full word only.

    Returns Collection<Snowflake, C>