Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Constructors

Methods

Constructors

constructor

Parameters

Returns GoldWatchCommand

Methods

check

  • check(message: Message): Promise<boolean>

Triggered by $goldwatch.

Parameters

  • message: Message

Returns Promise<boolean>

exclusive

  • exclusive(): boolean

If other commands should not be parsed/executed if this command is triggered.

  • Note: Does not stop higher priority commands.

Returns boolean

Whether or not this command is exclusive (i.e. stops other commands from running, doesn't stop higher priority commands).

execute

  • execute(message: Message): Promise<void>

Plays gold watch speech in voice channel of the user is in.

Parameters

  • message: Message

Returns Promise<void>

priority

  • priority(): number

Where the command should be sorted relative to other commands.

Returns number

Priority of command, with higher number being higher priority.

  • Inherited
  • Protected
  • Private
  • Static
  • Module
  • Object
  • Property
  • Function
  • Variable
  • Index
  • Type
  • Class
  • Interface
  • Enum
  • Constructor
  • Getter/Setter
Made with ❤️ by pirix-gh. Documentation generated by TypeDoc.