Skip to content

CommandHandler

Ayfri edited this page Feb 12, 2021 · 7 revisions

The CommandHandler namespace contains some functions and variables that you can see here:

Note: I'm using a namespace because it simplifies places where you want to have all the functions/variables that the CommandHandler offers, without importing it in every command/event/other.

CommandHandler events

The CommandHandler class is extending the EventEmitter class, which means that there are events that can be hooked.

You can see the list here: