Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ChannelUtils

Handles channel-related util methods

Hierarchy

  • ChannelUtils

Index

Methods

Static cache

  • cache(bot: Bot, channel: Channel, force?: boolean): void
  • Caches a channel in the correct Collection

    Parameters

    • bot: Bot

      The bot instance

    • channel: Channel

      The channel you wish to cache

    • Default value force: boolean = false

      Whether or not to force cache DM channels if already cached

    Returns void

Static create

Static createDMChannel

Static createGuildChannel

Static delete

Static getChannelGuild

Generated using TypeDoc