@tanzanite/discord-akairo
    Preparing search index...

    Function checkChannel

    • Checks if a string could be referring to a channel.

      Type Parameters

      • C extends GuildBasedChannel

      Parameters

      • text: string

        Text to check.

      • channel: C

        Channel to check.

      • caseSensitive: boolean = false

        Makes checking by name case sensitive.

      • wholeWord: boolean = false

        Makes checking by name match full word only.

      Returns boolean