99| Name | Type | Description |
1010| --- | --- | --- |
1111| _ botClient | <code >BotClient</code > | Discord library Client |
12- | moduleRegistry | <code >ModuleRegistry</code > | Registry holding all modules |
13- | commandRegistry | <code >CommandRegistry</code > | Registry holding all commands |
14- | listenerRegistry | <code >ListenerRegistry</code > | Registry holding all listeners |
15- | eventManager | <code >EventManager</code > | The EventManager instance that handle all AxonCore listeners |
16- | guildConfigs | <code >GuildConfigCache</code > | The Manager that handles GuildConfigs (cache / DB etc) |
17- | [ axonConfig] | <code >AxonConfig</code > | The AxonConfig object that handles globally blacklisted users and guilds |
18- | dispatcher | <code >CommandDispatcher</code > | Dispatch commands onMessageCreate. |
19- | executor | <code >Executor</code > | Executor class that handles executing commands and listeners |
20- | moduleLoader | <code >ModuleLoader</code > | Load, unload modules. |
21- | _ messageManager | <code >MessageManager</code > | Message manager object accessible with ` <AxonClient>.l ` |
12+ | moduleRegistry | <code >[ ModuleRegistry] ( Modules/ModuleRegistry ) </code > | Registry holding all modules |
13+ | commandRegistry | <code >[ CommandRegistry] ( Commands/CommandRegistry ) </code > | Registry holding all commands |
14+ | listenerRegistry | <code >[ ListenerRegistry] ( Listeners/ListenerRegistry ) </code > | Registry holding all listeners |
15+ | eventManager | <code >[ EventManager] ( Listeners/EventManager ) </code > | The EventManager instance that handle all AxonCore listeners |
16+ | guildConfigs | <code >[ GuildConfigCache] ( Core/GuildConfigCache ) </code > | The Manager that handles GuildConfigs (cache / DB etc) |
17+ | [ axonConfig] | <code >[ AxonConfig] ( Core/AxonConfig ) </code > | The AxonConfig object that handles globally blacklisted users and guilds |
18+ | dispatcher | <code >[ CommandDispatcher] ( Commands/CommandDispatcher ) </code > | Dispatch commands onMessageCreate. |
19+ | executor | <code >[ Executor] ( Core/Executor ) </code > | Executor class that handles executing commands and listeners |
20+ | moduleLoader | <code >[ ModuleLoader] ( Modules/ModuleLoader ) </code > | Load, unload modules. |
21+ | _ messageManager | <code >[ MessageManager] ( Translation/MessageManager ) </code > | Message manager object accessible with ` <AxonClient>.l ` |
2222| library | <code >LibraryInterface</code > | LibraryInterface object depending the lib used |
23- | logger | <code >ALogger</code > | The Logger instance |
24- | axonUtils | <code >AxonUtils </code > | Util methods (AxonCore) |
25- | utils | <code >Utils</code > | Utils methods (general) |
26- | DBProvider | <code >ADBProvider</code > | The DBProvider instance |
23+ | logger | <code >[ ALogger] ( Loggers/ALogger ) </code > | The Logger instance |
24+ | axonUtils | <code >[ Axon [ Utils ] ( Utility/Utils )] ( Utility/Axon[Utils](Utility/Utils) ) </code > | Util methods (AxonCore) |
25+ | utils | <code >[ Utils] ( Utility/Utils ) </code > | Utils methods (general) |
26+ | DBProvider | <code >[ ADBProvider] ( Database/ADBProvider ) </code > | The DBProvider instance |
2727| _ configs | <code >Object</code > | configs (webhooks, template, custom) |
2828| _ configs.webhooks | <code >Object.< ; string, {id: String, token: String}> ; </code > | Webhooks configs with all webhooks id and tokens |
2929| _ configs.template | <code >Object</code > | Template config |
30- | _ configs.custom | <code >AxonOptions</code > | Custom config object optionally passed via AxonOptions |
30+ | _ configs.custom | <code >[ AxonOptions] ( Core/AxonOptions ) </code > | Custom config object optionally passed via AxonOptions |
3131| staff | <code >Object</code > | Bot Staff (owners, admins, +...) |
3232| staff.owners | <code >Array.< ; String> ; </code > | Array of user IDs with BotOwner permissions |
3333| staff.admins | <code >Array.< ; String> ; </code > | Array of user IDs with BotAdmin permissions |
6262 * [ .webhooks] ( #AxonClient+webhooks ) : <code >Object</code >
6363 * [ .template] ( #AxonClient+template ) : <code >Object</code >
6464 * [ .custom] ( #AxonClient+custom ) : <code >Object.< ; string, any> ; </code >
65- * [ .getListeners(eventName)] ( #AxonClient+getListeners ) ⇒ <code >Array.< ; Listener> ; </code >
66- * [ .getModule(module)] ( #AxonClient+getModule ) ⇒ <code >Module</code > \| <code >null</code >
67- * [ .getCommand(fullLabel)] ( #AxonClient+getCommand ) ⇒ <code >Command</code > \| <code >null</code >
65+ * [ .getListeners(eventName)] ( #AxonClient+getListeners ) ⇒ <code >Array.< ; [ Listener] ( Listeners/Listener ) > ; </code >
66+ * [ .getModule(module)] ( #AxonClient+getModule ) ⇒ <code >[ Module] ( Modules/Module ) </code > \| <code >null</code >
67+ * [ .getCommand(fullLabel)] ( #AxonClient+getCommand ) ⇒ <code >[ Command] ( Commands/Command ) </code > \| <code >null</code >
6868 * [ .start()] ( #AxonClient+start )
6969 * [ .onInit()] ( #AxonClient+onInit ) ⇒ <code >Boolean</code >
7070 * [ .onStart()] ( #AxonClient+onStart ) ⇒ <code >Promise.< ; Boolean> ; </code >
7676 * [ .initErrorListeners()] ( #AxonClient+initErrorListeners )
7777 * [ .initStatus()] ( #AxonClient+initStatus )
7878 * [ .sendFullHelp(msg, guildConfig)] ( #AxonClient+sendFullHelp )
79- * [ .registerGuildPrefixes(gID, prefixArr)] ( #AxonClient+registerGuildPrefixes ) ⇒ <code >Promise.< ; GuildConfig> ; </code >
79+ * [ .registerGuildPrefixes(gID, prefixArr)] ( #AxonClient+registerGuildPrefixes ) ⇒ <code >Promise.< ; [ GuildConfig] ( Core/GuildConfig ) > ; </code >
8080 * [ .toString()] ( #AxonClient+toString ) ⇒ <code >String</code >
8181 * [ .toJSON()] ( #AxonClient+toJSON ) ⇒ <code >Object</code >
8282 * [ "debug"] ( #AxonClient+event_debug )
@@ -157,7 +157,7 @@ Returns the custom config
157157** Read only** : true
158158<a name =" AxonClient+getListeners " ></a >
159159
160- ### axonClient.getListeners(eventName) ⇒ <code >Array.< ; Listener> ; </code >
160+ ### axonClient.getListeners(eventName) ⇒ <code >Array.< ; [ Listener] ( Listeners/Listener ) > ; </code >
161161Returns all registered listeners for the discord event name
162162
163163** Kind** : instance method of [ <code >AxonClient</code >] ( #AxonClient )
@@ -168,7 +168,7 @@ Returns all registered listeners for the discord event name
168168
169169<a name =" AxonClient+getModule " ></a >
170170
171- ### axonClient.getModule(module) ⇒ <code >Module</code > \| <code >null</code >
171+ ### axonClient.getModule(module) ⇒ <code >[ Module] ( Modules/Module ) </code > \| <code >null</code >
172172Get a module from AxonClient with the given label.
173173
174174** Kind** : instance method of [ <code >AxonClient</code >] ( #AxonClient )
@@ -179,7 +179,7 @@ Get a module from AxonClient with the given label.
179179
180180<a name =" AxonClient+getCommand " ></a >
181181
182- ### axonClient.getCommand(fullLabel) ⇒ <code >Command</code > \| <code >null</code >
182+ ### axonClient.getCommand(fullLabel) ⇒ <code >[ Command] ( Commands/Command ) </code > \| <code >null</code >
183183Get a command/subcommand from AxonClient with the given full label.
184184
185185** Kind** : instance method of [ <code >AxonClient</code >] ( #AxonClient )
@@ -291,16 +291,16 @@ This method can be overridden in child.
291291| Param | Type | Description |
292292| --- | --- | --- |
293293| msg | <code >Message</code > | The message object |
294- | guildConfig | <code >GuildConfig</code > | |
294+ | guildConfig | <code >[ GuildConfig] ( Core/GuildConfig ) </code > | |
295295
296296<a name =" AxonClient+registerGuildPrefixes " ></a >
297297
298- ### axonClient.registerGuildPrefixes(gID, prefixArr) ⇒ <code >Promise.< ; GuildConfig> ; </code >
298+ ### axonClient.registerGuildPrefixes(gID, prefixArr) ⇒ <code >Promise.< ; [ GuildConfig] ( Core/GuildConfig ) > ; </code >
299299Register a guild prefix.
300300Shortcut to guildConfig.registerPrefix()
301301
302302** Kind** : instance method of [ <code >AxonClient</code >] ( #AxonClient )
303- ** Returns** : <code >Promise.< ; GuildConfig> ; </code > - The guild Schema from the DB / Error if error
303+ ** Returns** : <code >Promise.< ; [ GuildConfig] ( Core/GuildConfig ) > ; </code > - The guild Schema from the DB / Error if error
304304
305305| Param | Type | Description |
306306| --- | --- | --- |
@@ -348,9 +348,9 @@ Fired when a command is successfully ran
348348| commandFullLabel | <code >String</code > | The command fullLabel |
349349| data | <code >Object</code > | |
350350| data.msg | <code >Message</code > | The message that triggered the command |
351- | data.command | <code >Command</code > | The Command that was executed |
352- | data.guildConfig | <code >GuildConfig</code > | The GuildConfig |
353- | data.context | <code >CommandContext</code > | The execution context |
351+ | data.command | <code >[ Command] ( Commands/Command ) </code > | The Command that was executed |
352+ | data.guildConfig | <code >[ GuildConfig] ( Core/GuildConfig ) </code > | The GuildConfig |
353+ | data.context | <code >[ CommandContext] ( Commands/CommandContext ) </code > | The execution context |
354354
355355<a name =" AxonClient+event_commandError " ></a >
356356
@@ -365,9 +365,9 @@ Fired when a command fails
365365| commandFullLabel | <code >String</code > | The command fullLabel |
366366| data | <code >Object</code > | |
367367| data.msg | <code >Message</code > | The message that triggered the command |
368- | data.command | <code >Command</code > | The Command that was executed |
369- | data.guildConfig | <code >GuildConfig</code > | The GuildConfig |
370- | data.error | <code >AxonCommandError</code > | The error |
368+ | data.command | <code >[ Command] ( Commands/Command ) </code > | The Command that was executed |
369+ | data.guildConfig | <code >[ GuildConfig] ( Core/GuildConfig ) </code > | The GuildConfig |
370+ | data.error | <code >[ AxonCommandError] ( Errors/AxonCommandError ) </code > | The error |
371371
372372<a name =" AxonClient+event_listenerExecution " ></a >
373373
@@ -383,8 +383,8 @@ Fired when a listener is executed
383383| eventName | <code >String</code > | The discord event name |
384384| listenerName | <code >String</code > | The listener label |
385385| data | <code >Object</code > | Additional information |
386- | data.listener | <code >Listener</code > | The Listener that was executed |
387- | data.guildConfig | <code >GuildConfig</code > | The GuildConfig object |
386+ | data.listener | <code >[ Listener] ( Listeners/Listener ) </code > | The Listener that was executed |
387+ | data.guildConfig | <code >[ GuildConfig] ( Core/GuildConfig ) </code > | The GuildConfig object |
388388
389389<a name =" AxonClient+event_listenerError " ></a >
390390
@@ -399,8 +399,8 @@ Fired when a listener errors
399399| eventName | <code >String</code > | The discord event name |
400400| listenerName | <code >String</code > | The Listener label |
401401| data | <code >Object</code > | Additional information |
402- | data.listener | <code >Listener</code > | The Listener that was executed |
403- | data.guildConfig | <code >GuildConfig</code > | The GuildConfig object |
402+ | data.listener | <code >[ Listener] ( Listeners/Listener ) </code > | The Listener that was executed |
403+ | data.guildConfig | <code >[ GuildConfig] ( Core/GuildConfig ) </code > | The GuildConfig object |
404404| data.error | <code >Error</code > | The error |
405405
406406<a name =" AxonClient.AxonClient " ></a >
@@ -416,6 +416,6 @@ Creates an AxonClient instance.
416416| Param | Type | Default | Description |
417417| --- | --- | --- | --- |
418418| botClient | <code >BotClient</code > | | Eris or Discordjs Client instance |
419- | [ axonOptions] | <code >AxonOptions</code > | <code >{}</code > | Axon options |
420- | [ modules] | <code >Object.< ; string, Module> ; </code > | <code >{}</code > | Object with all modules to add in the bot |
419+ | [ axonOptions] | <code >[ AxonOptions] ( Core/AxonOptions ) </code > | <code >{}</code > | Axon options |
420+ | [ modules] | <code >Object.< ; string, [ Module] ( Modules/Module ) > ; </code > | <code >{}</code > | Object with all modules to add in the bot |
421421
0 commit comments