Class CustomPluginAbstract

Custom Plugin

Hierarchy (view full)

Constructors

Properties

distube: DisTube
type: CUSTOM = PluginType.CUSTOM

Accessors

  • get client(): Client<boolean>
  • Discord.js client

    Returns Client<boolean>

Methods

  • Emit error event to the DisTube class

    Parameters

    • error: Error

      error

    • Optional channel: GuildTextBasedChannel

      Text channel where the error is encountered.

    Returns void