The Akairo client.
Options.
Protected Readonly[brandThis field doesn't actually exist, it's just a way to make TS properly infer the events from classes that extend AsyncEventEmitter
Whether or not to automate category names.
Categories, mapped by ID to Category.
Class to handle.
The Akairo client.
The main directory to modules.
EventEmitters for use, mapped by name to EventEmitter. By default, 'client' is set to the given client.
File extensions to load.
Function that filters files when loading.
Modules loaded, mapped by ID to AkairoModule.
Reads all modules from a directory and loads them.
Directory to load from. Defaults to the directory passed in the constructor.
Filter for files, where true means it should be loaded. Defaults to the filter passed in the constructor.
Registers a listener.
Listener to use.
Filepath of listener.
Reloads all modules.
Removes all modules.
Optionalevent: KOptionalevent: string | symbolSets custom emitters.
Emitters to use. The key is the name and value is the emitter.
StaticlistenerStaticonOptionaloptions: AbortableMethodsStaticonceOptionaloptions: AbortableMethodsStaticreaddirReads files recursively from a directory.
Directory to read.
Loads listeners and registers them with EventEmitters.