diff --git a/docs/api/classes/CommandExecutable.md b/docs/api/classes/CommandExecutable.md index a75dc25df..e273855c1 100644 --- a/docs/api/classes/CommandExecutable.md +++ b/docs/api/classes/CommandExecutable.md @@ -36,7 +36,7 @@ Will be refactored / changed in future #### Defined in -[src/core/modules.ts:79](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/modules.ts#L79) +[src/core/modules.ts:79](https://github.com/sern-handler/handler/blob/81cdde2/src/core/modules.ts#L79) ___ @@ -46,7 +46,7 @@ ___ #### Defined in -[src/core/modules.ts:78](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/modules.ts#L78) +[src/core/modules.ts:78](https://github.com/sern-handler/handler/blob/81cdde2/src/core/modules.ts#L78) ___ @@ -56,7 +56,7 @@ ___ #### Defined in -[src/core/modules.ts:80](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/modules.ts#L80) +[src/core/modules.ts:80](https://github.com/sern-handler/handler/blob/81cdde2/src/core/modules.ts#L80) ## Methods @@ -76,7 +76,7 @@ ___ #### Defined in -[src/core/modules.ts:91](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/modules.ts#L91) +[src/core/modules.ts:91](https://github.com/sern-handler/handler/blob/81cdde2/src/core/modules.ts#L91) ___ @@ -90,4 +90,4 @@ ___ #### Defined in -[src/core/modules.ts:82](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/modules.ts#L82) +[src/core/modules.ts:82](https://github.com/sern-handler/handler/blob/81cdde2/src/core/modules.ts#L82) diff --git a/docs/api/classes/Context.md b/docs/api/classes/Context.md index 616645cba..bfc355c5f 100644 --- a/docs/api/classes/Context.md +++ b/docs/api/classes/Context.md @@ -36,7 +36,7 @@ CoreContext<Message, ChatInputCommandInteraction\>.constructor #### Defined in -[src/core/structures/context.ts:29](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/context.ts#L29) +[src/core/structures/context.ts:29](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/context.ts#L29) ## Properties @@ -50,7 +50,7 @@ CoreContext.ctx #### Defined in -[src/core/structures/context.ts:29](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/context.ts#L29) +[src/core/structures/context.ts:29](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/context.ts#L29) ## Accessors @@ -64,7 +64,7 @@ CoreContext.ctx #### Defined in -[src/core/structures/context.ts:37](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/context.ts#L37) +[src/core/structures/context.ts:37](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/context.ts#L37) ___ @@ -78,7 +78,7 @@ ___ #### Defined in -[src/core/structures/context.ts:66](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/context.ts#L66) +[src/core/structures/context.ts:66](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/context.ts#L66) ___ @@ -92,7 +92,7 @@ ___ #### Defined in -[src/core/structures/context.ts:48](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/context.ts#L48) +[src/core/structures/context.ts:48](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/context.ts#L48) ___ @@ -106,7 +106,7 @@ ___ #### Defined in -[src/core/structures/context.ts:52](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/context.ts#L52) +[src/core/structures/context.ts:52](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/context.ts#L52) ___ @@ -120,7 +120,7 @@ ___ #### Defined in -[src/core/structures/context.ts:56](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/context.ts#L56) +[src/core/structures/context.ts:56](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/context.ts#L56) ___ @@ -134,7 +134,7 @@ ___ #### Defined in -[src/core/structures/context.ts:33](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/context.ts#L33) +[src/core/structures/context.ts:33](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/context.ts#L33) ___ @@ -148,7 +148,7 @@ ___ #### Defined in -[src/core/structures/context.ts:70](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/context.ts#L70) +[src/core/structures/context.ts:70](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/context.ts#L70) ___ @@ -166,7 +166,7 @@ CoreContext.interaction #### Defined in -[src/core/structures/core-context.ts:15](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/core-context.ts#L15) +[src/core/structures/core-context.ts:15](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/core-context.ts#L15) ___ @@ -180,7 +180,7 @@ ___ #### Defined in -[src/core/structures/context.ts:62](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/context.ts#L62) +[src/core/structures/context.ts:62](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/context.ts#L62) ___ @@ -198,7 +198,7 @@ CoreContext.message #### Defined in -[src/core/structures/core-context.ts:12](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/core-context.ts#L12) +[src/core/structures/core-context.ts:12](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/core-context.ts#L12) ___ @@ -216,7 +216,7 @@ CoreContext.options #### Defined in -[src/core/structures/context.ts:26](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/context.ts#L26) +[src/core/structures/context.ts:26](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/context.ts#L26) ___ @@ -233,7 +233,7 @@ else, interaction.user #### Defined in -[src/core/structures/context.ts:44](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/context.ts#L44) +[src/core/structures/context.ts:44](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/context.ts#L44) ## Methods @@ -251,7 +251,7 @@ CoreContext.isMessage #### Defined in -[src/core/structures/core-context.ts:19](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/core-context.ts#L19) +[src/core/structures/core-context.ts:19](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/core-context.ts#L19) ___ @@ -269,7 +269,7 @@ CoreContext.isSlash #### Defined in -[src/core/structures/core-context.ts:23](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/core-context.ts#L23) +[src/core/structures/core-context.ts:23](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/core-context.ts#L23) ___ @@ -289,7 +289,7 @@ ___ #### Defined in -[src/core/structures/context.ts:74](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/context.ts#L74) +[src/core/structures/context.ts:74](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/context.ts#L74) ___ @@ -313,4 +313,4 @@ CoreContext.wrap #### Defined in -[src/core/structures/context.ts:84](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/context.ts#L84) +[src/core/structures/context.ts:84](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/context.ts#L84) diff --git a/docs/api/classes/DefaultErrorHandling.md b/docs/api/classes/DefaultErrorHandling.md index 0cf72c4d1..5d4901207 100644 --- a/docs/api/classes/DefaultErrorHandling.md +++ b/docs/api/classes/DefaultErrorHandling.md @@ -35,7 +35,7 @@ Number of times the process should throw an error until crashing and exiting #### Defined in -[src/core/structures/services/error-handling.ts:13](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/services/error-handling.ts#L13) +[src/core/structures/services/error-handling.ts:13](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/services/error-handling.ts#L13) ## Methods @@ -63,7 +63,7 @@ Version 4 will remove this method #### Defined in -[src/core/structures/services/error-handling.ts:9](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/services/error-handling.ts#L9) +[src/core/structures/services/error-handling.ts:9](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/services/error-handling.ts#L9) ___ @@ -90,4 +90,4 @@ If keepAlive is 0, the process crashes. #### Defined in -[src/core/structures/services/error-handling.ts:15](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/services/error-handling.ts#L15) +[src/core/structures/services/error-handling.ts:15](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/services/error-handling.ts#L15) diff --git a/docs/api/classes/DefaultLogging.md b/docs/api/classes/DefaultLogging.md index 377523ba3..74356306d 100644 --- a/docs/api/classes/DefaultLogging.md +++ b/docs/api/classes/DefaultLogging.md @@ -33,7 +33,7 @@ Version 4.0.0 will internalize this api. Please refrain from using ModuleStore! #### Defined in -[src/core/structures/services/logger.ts:9](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/services/logger.ts#L9) +[src/core/structures/services/logger.ts:9](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/services/logger.ts#L9) ___ @@ -57,7 +57,7 @@ ___ #### Defined in -[src/core/structures/services/logger.ts:10](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/services/logger.ts#L10) +[src/core/structures/services/logger.ts:10](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/services/logger.ts#L10) ___ @@ -81,7 +81,7 @@ ___ #### Defined in -[src/core/structures/services/logger.ts:14](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/services/logger.ts#L14) +[src/core/structures/services/logger.ts:14](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/services/logger.ts#L14) ___ @@ -105,7 +105,7 @@ ___ #### Defined in -[src/core/structures/services/logger.ts:18](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/services/logger.ts#L18) +[src/core/structures/services/logger.ts:18](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/services/logger.ts#L18) ___ @@ -129,4 +129,4 @@ ___ #### Defined in -[src/core/structures/services/logger.ts:22](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/services/logger.ts#L22) +[src/core/structures/services/logger.ts:22](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/services/logger.ts#L22) diff --git a/docs/api/classes/DefaultModuleManager.md b/docs/api/classes/DefaultModuleManager.md index 5e81fee3f..6382f6bf7 100644 --- a/docs/api/classes/DefaultModuleManager.md +++ b/docs/api/classes/DefaultModuleManager.md @@ -29,7 +29,7 @@ Version 4.0.0 will internalize this api. Please refrain from using DefaultModule #### Defined in -[src/core/structures/services/module-manager.ts:12](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/services/module-manager.ts#L12) +[src/core/structures/services/module-manager.ts:12](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/services/module-manager.ts#L12) ## Properties @@ -39,7 +39,7 @@ Version 4.0.0 will internalize this api. Please refrain from using DefaultModule #### Defined in -[src/core/structures/services/module-manager.ts:12](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/services/module-manager.ts#L12) +[src/core/structures/services/module-manager.ts:12](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/services/module-manager.ts#L12) ## Methods @@ -63,7 +63,7 @@ Version 4.0.0 will internalize this api. Please refrain from using DefaultModule #### Defined in -[src/core/structures/services/module-manager.ts:34](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/services/module-manager.ts#L34) +[src/core/structures/services/module-manager.ts:34](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/services/module-manager.ts#L34) ___ @@ -94,7 +94,7 @@ ___ #### Defined in -[src/core/structures/services/module-manager.ts:14](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/services/module-manager.ts#L14) +[src/core/structures/services/module-manager.ts:14](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/services/module-manager.ts#L14) ___ @@ -118,7 +118,7 @@ ___ #### Defined in -[src/core/structures/services/module-manager.ts:26](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/services/module-manager.ts#L26) +[src/core/structures/services/module-manager.ts:26](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/services/module-manager.ts#L26) ___ @@ -136,7 +136,7 @@ ___ #### Defined in -[src/core/structures/services/module-manager.ts:41](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/services/module-manager.ts#L41) +[src/core/structures/services/module-manager.ts:41](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/services/module-manager.ts#L41) ___ @@ -161,7 +161,7 @@ ___ #### Defined in -[src/core/structures/services/module-manager.ts:37](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/services/module-manager.ts#L37) +[src/core/structures/services/module-manager.ts:37](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/services/module-manager.ts#L37) ___ @@ -186,4 +186,4 @@ ___ #### Defined in -[src/core/structures/services/module-manager.ts:22](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/services/module-manager.ts#L22) +[src/core/structures/services/module-manager.ts:22](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/services/module-manager.ts#L22) diff --git a/docs/api/classes/EventExecutable.md b/docs/api/classes/EventExecutable.md index 6a3105e49..2a08134bb 100644 --- a/docs/api/classes/EventExecutable.md +++ b/docs/api/classes/EventExecutable.md @@ -36,7 +36,7 @@ Will be refactored in future #### Defined in -[src/core/modules.ts:100](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/modules.ts#L100) +[src/core/modules.ts:100](https://github.com/sern-handler/handler/blob/81cdde2/src/core/modules.ts#L100) ___ @@ -46,7 +46,7 @@ ___ #### Defined in -[src/core/modules.ts:99](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/modules.ts#L99) +[src/core/modules.ts:99](https://github.com/sern-handler/handler/blob/81cdde2/src/core/modules.ts#L99) ___ @@ -56,7 +56,7 @@ ___ #### Defined in -[src/core/modules.ts:102](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/modules.ts#L102) +[src/core/modules.ts:102](https://github.com/sern-handler/handler/blob/81cdde2/src/core/modules.ts#L102) ## Methods @@ -76,7 +76,7 @@ ___ #### Defined in -[src/core/modules.ts:111](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/modules.ts#L111) +[src/core/modules.ts:111](https://github.com/sern-handler/handler/blob/81cdde2/src/core/modules.ts#L111) ___ @@ -90,4 +90,4 @@ ___ #### Defined in -[src/core/modules.ts:103](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/modules.ts#L103) +[src/core/modules.ts:103](https://github.com/sern-handler/handler/blob/81cdde2/src/core/modules.ts#L103) diff --git a/docs/api/classes/ModuleStore.md b/docs/api/classes/ModuleStore.md index 99feac3ce..a8852d9ca 100644 --- a/docs/api/classes/ModuleStore.md +++ b/docs/api/classes/ModuleStore.md @@ -30,7 +30,7 @@ Represents a core module store that stores IDs mapped to file paths. #### Defined in -[src/core/structures/module-store.ts:11](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/module-store.ts#L11) +[src/core/structures/module-store.ts:11](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/module-store.ts#L11) ___ @@ -44,4 +44,4 @@ ___ #### Defined in -[src/core/structures/module-store.ts:10](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/module-store.ts#L10) +[src/core/structures/module-store.ts:10](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/module-store.ts#L10) diff --git a/docs/api/classes/SernEmitter.md b/docs/api/classes/SernEmitter.md index 346cb7f31..53b01f8f8 100644 --- a/docs/api/classes/SernEmitter.md +++ b/docs/api/classes/SernEmitter.md @@ -28,7 +28,7 @@ EventEmitter.constructor #### Defined in -[src/core/structures/sern-emitter.ts:10](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/sern-emitter.ts#L10) +[src/core/structures/sern-emitter.ts:10](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/sern-emitter.ts#L10) ## Properties @@ -158,7 +158,7 @@ EventEmitter.emit #### Defined in -[src/core/structures/sern-emitter.ts:40](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/sern-emitter.ts#L40) +[src/core/structures/sern-emitter.ts:40](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/sern-emitter.ts#L40) ___ @@ -357,7 +357,7 @@ EventEmitter.on #### Defined in -[src/core/structures/sern-emitter.ts:18](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/sern-emitter.ts#L18) +[src/core/structures/sern-emitter.ts:18](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/sern-emitter.ts#L18) ___ @@ -390,7 +390,7 @@ EventEmitter.once #### Defined in -[src/core/structures/sern-emitter.ts:29](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/sern-emitter.ts#L29) +[src/core/structures/sern-emitter.ts:29](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/sern-emitter.ts#L29) ___ @@ -727,7 +727,7 @@ Creates a compliant SernEmitter failure payload #### Defined in -[src/core/structures/sern-emitter.ts:59](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/sern-emitter.ts#L59) +[src/core/structures/sern-emitter.ts:59](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/sern-emitter.ts#L59) ___ @@ -1127,7 +1127,7 @@ ___ #### Defined in -[src/core/structures/sern-emitter.ts:46](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/sern-emitter.ts#L46) +[src/core/structures/sern-emitter.ts:46](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/sern-emitter.ts#L46) ___ @@ -1190,7 +1190,7 @@ Creates a compliant SernEmitter module success payload #### Defined in -[src/core/structures/sern-emitter.ts:72](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/sern-emitter.ts#L72) +[src/core/structures/sern-emitter.ts:72](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/sern-emitter.ts#L72) ___ @@ -1212,4 +1212,4 @@ Creates a compliant SernEmitter module warning payload #### Defined in -[src/core/structures/sern-emitter.ts:82](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/sern-emitter.ts#L82) +[src/core/structures/sern-emitter.ts:82](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/sern-emitter.ts#L82) diff --git a/docs/api/enums/CommandType.md b/docs/api/enums/CommandType.md index 90cad5e2c..03621b3c5 100644 --- a/docs/api/enums/CommandType.md +++ b/docs/api/enums/CommandType.md @@ -32,7 +32,7 @@ export default commandModule({ #### Defined in -[src/core/structures/enums.ts:20](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/enums.ts#L20) +[src/core/structures/enums.ts:20](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/enums.ts#L20) ___ @@ -42,7 +42,7 @@ ___ #### Defined in -[src/core/structures/enums.ts:23](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/enums.ts#L23) +[src/core/structures/enums.ts:23](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/enums.ts#L23) ___ @@ -52,7 +52,7 @@ ___ #### Defined in -[src/core/structures/enums.ts:29](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/enums.ts#L29) +[src/core/structures/enums.ts:29](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/enums.ts#L29) ___ @@ -62,7 +62,7 @@ ___ #### Defined in -[src/core/structures/enums.ts:22](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/enums.ts#L22) +[src/core/structures/enums.ts:22](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/enums.ts#L22) ___ @@ -72,7 +72,7 @@ ___ #### Defined in -[src/core/structures/enums.ts:21](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/enums.ts#L21) +[src/core/structures/enums.ts:21](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/enums.ts#L21) ___ @@ -82,7 +82,7 @@ ___ #### Defined in -[src/core/structures/enums.ts:28](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/enums.ts#L28) +[src/core/structures/enums.ts:28](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/enums.ts#L28) ___ @@ -92,7 +92,7 @@ ___ #### Defined in -[src/core/structures/enums.ts:25](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/enums.ts#L25) +[src/core/structures/enums.ts:25](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/enums.ts#L25) ___ @@ -102,7 +102,7 @@ ___ #### Defined in -[src/core/structures/enums.ts:27](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/enums.ts#L27) +[src/core/structures/enums.ts:27](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/enums.ts#L27) ___ @@ -112,7 +112,7 @@ ___ #### Defined in -[src/core/structures/enums.ts:19](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/enums.ts#L19) +[src/core/structures/enums.ts:19](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/enums.ts#L19) ___ @@ -122,7 +122,7 @@ ___ #### Defined in -[src/core/structures/enums.ts:24](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/enums.ts#L24) +[src/core/structures/enums.ts:24](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/enums.ts#L24) ___ @@ -132,7 +132,7 @@ ___ #### Defined in -[src/core/structures/enums.ts:18](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/enums.ts#L18) +[src/core/structures/enums.ts:18](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/enums.ts#L18) ___ @@ -142,4 +142,4 @@ ___ #### Defined in -[src/core/structures/enums.ts:26](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/enums.ts#L26) +[src/core/structures/enums.ts:26](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/enums.ts#L26) diff --git a/docs/api/enums/EventType.md b/docs/api/enums/EventType.md index 98543c4ee..a08b87672 100644 --- a/docs/api/enums/EventType.md +++ b/docs/api/enums/EventType.md @@ -31,7 +31,7 @@ The EventType for handling discord events #### Defined in -[src/core/structures/enums.ts:51](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/enums.ts#L51) +[src/core/structures/enums.ts:51](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/enums.ts#L51) ___ @@ -44,7 +44,7 @@ Could be for example, `process` events, database events #### Defined in -[src/core/structures/enums.ts:60](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/enums.ts#L60) +[src/core/structures/enums.ts:60](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/enums.ts#L60) ___ @@ -56,4 +56,4 @@ The EventType for handling sern events #### Defined in -[src/core/structures/enums.ts:55](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/enums.ts#L55) +[src/core/structures/enums.ts:55](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/enums.ts#L55) diff --git a/docs/api/enums/PayloadType.md b/docs/api/enums/PayloadType.md index 903a05840..440bdd70e 100644 --- a/docs/api/enums/PayloadType.md +++ b/docs/api/enums/PayloadType.md @@ -16,7 +16,7 @@ The PayloadType for a SernEmitter failure event #### Defined in -[src/core/structures/enums.ts:98](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/enums.ts#L98) +[src/core/structures/enums.ts:98](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/enums.ts#L98) ___ @@ -28,7 +28,7 @@ The PayloadType for a SernEmitter success event #### Defined in -[src/core/structures/enums.ts:94](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/enums.ts#L94) +[src/core/structures/enums.ts:94](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/enums.ts#L94) ___ @@ -40,4 +40,4 @@ The PayloadType for a SernEmitter warning event #### Defined in -[src/core/structures/enums.ts:102](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/enums.ts#L102) +[src/core/structures/enums.ts:102](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/enums.ts#L102) diff --git a/docs/api/enums/PluginType.md b/docs/api/enums/PluginType.md index 53d27f2f6..4dc895aae 100644 --- a/docs/api/enums/PluginType.md +++ b/docs/api/enums/PluginType.md @@ -30,7 +30,7 @@ The PluginType for EventPlugins #### Defined in -[src/core/structures/enums.ts:85](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/enums.ts#L85) +[src/core/structures/enums.ts:85](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/enums.ts#L85) ___ @@ -42,4 +42,4 @@ The PluginType for InitPlugins #### Defined in -[src/core/structures/enums.ts:81](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/structures/enums.ts#L81) +[src/core/structures/enums.ts:81](https://github.com/sern-handler/handler/blob/81cdde2/src/core/structures/enums.ts#L81) diff --git a/docs/api/interfaces/BothCommand.md b/docs/api/interfaces/BothCommand.md index d771440c6..264616d6d 100644 --- a/docs/api/interfaces/BothCommand.md +++ b/docs/api/interfaces/BothCommand.md @@ -20,7 +20,7 @@ custom_edit_url: null #### Defined in -[src/types/core-modules.ts:124](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L124) +[src/types/core-modules.ts:124](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L124) ___ @@ -34,7 +34,7 @@ Module.description #### Defined in -[src/types/core-modules.ts:125](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L125) +[src/types/core-modules.ts:125](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L125) ___ @@ -63,7 +63,7 @@ Module.execute #### Defined in -[src/types/core-modules.ts:127](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L127) +[src/types/core-modules.ts:127](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L127) ___ @@ -77,7 +77,7 @@ Module.name #### Defined in -[src/types/core-modules.ts:32](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L32) +[src/types/core-modules.ts:32](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L32) ___ @@ -91,7 +91,7 @@ Module.onEvent #### Defined in -[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L33) +[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L33) ___ @@ -101,7 +101,7 @@ ___ #### Defined in -[src/types/core-modules.ts:126](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L126) +[src/types/core-modules.ts:126](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L126) ___ @@ -115,7 +115,7 @@ Module.plugins #### Defined in -[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L34) +[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L34) ___ @@ -129,4 +129,4 @@ Module.type #### Defined in -[src/types/core-modules.ts:123](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L123) +[src/types/core-modules.ts:123](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L123) diff --git a/docs/api/interfaces/ButtonCommand.md b/docs/api/interfaces/ButtonCommand.md index 39b309d82..d9f6969f3 100644 --- a/docs/api/interfaces/ButtonCommand.md +++ b/docs/api/interfaces/ButtonCommand.md @@ -24,7 +24,7 @@ Module.description #### Defined in -[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L35) +[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L35) ___ @@ -52,7 +52,7 @@ Module.execute #### Defined in -[src/types/core-modules.ts:64](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L64) +[src/types/core-modules.ts:64](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L64) ___ @@ -66,7 +66,7 @@ Module.name #### Defined in -[src/types/core-modules.ts:32](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L32) +[src/types/core-modules.ts:32](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L32) ___ @@ -80,7 +80,7 @@ Module.onEvent #### Defined in -[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L33) +[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L33) ___ @@ -94,7 +94,7 @@ Module.plugins #### Defined in -[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L34) +[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L34) ___ @@ -108,4 +108,4 @@ Module.type #### Defined in -[src/types/core-modules.ts:63](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L63) +[src/types/core-modules.ts:63](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L63) diff --git a/docs/api/interfaces/ChannelSelectCommand.md b/docs/api/interfaces/ChannelSelectCommand.md index 855c9c941..5db81ab44 100644 --- a/docs/api/interfaces/ChannelSelectCommand.md +++ b/docs/api/interfaces/ChannelSelectCommand.md @@ -24,7 +24,7 @@ Module.description #### Defined in -[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L35) +[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L35) ___ @@ -52,7 +52,7 @@ Module.execute #### Defined in -[src/types/core-modules.ts:74](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L74) +[src/types/core-modules.ts:74](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L74) ___ @@ -66,7 +66,7 @@ Module.name #### Defined in -[src/types/core-modules.ts:32](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L32) +[src/types/core-modules.ts:32](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L32) ___ @@ -80,7 +80,7 @@ Module.onEvent #### Defined in -[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L33) +[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L33) ___ @@ -94,7 +94,7 @@ Module.plugins #### Defined in -[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L34) +[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L34) ___ @@ -108,4 +108,4 @@ Module.type #### Defined in -[src/types/core-modules.ts:73](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L73) +[src/types/core-modules.ts:73](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L73) diff --git a/docs/api/interfaces/CommandModuleDefs.md b/docs/api/interfaces/CommandModuleDefs.md index 0ee1f8af9..e3810cfb7 100644 --- a/docs/api/interfaces/CommandModuleDefs.md +++ b/docs/api/interfaces/CommandModuleDefs.md @@ -14,7 +14,7 @@ custom_edit_url: null #### Defined in -[src/types/core-modules.ts:149](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L149) +[src/types/core-modules.ts:149](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L149) ___ @@ -24,7 +24,7 @@ ___ #### Defined in -[src/types/core-modules.ts:157](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L157) +[src/types/core-modules.ts:157](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L157) ___ @@ -34,7 +34,7 @@ ___ #### Defined in -[src/types/core-modules.ts:159](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L159) +[src/types/core-modules.ts:159](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L159) ___ @@ -44,7 +44,7 @@ ___ #### Defined in -[src/types/core-modules.ts:154](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L154) +[src/types/core-modules.ts:154](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L154) ___ @@ -54,7 +54,7 @@ ___ #### Defined in -[src/types/core-modules.ts:150](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L150) +[src/types/core-modules.ts:150](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L150) ___ @@ -64,7 +64,7 @@ ___ #### Defined in -[src/types/core-modules.ts:156](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L156) +[src/types/core-modules.ts:156](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L156) ___ @@ -74,7 +74,7 @@ ___ #### Defined in -[src/types/core-modules.ts:151](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L151) +[src/types/core-modules.ts:151](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L151) ___ @@ -84,7 +84,7 @@ ___ #### Defined in -[src/types/core-modules.ts:155](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L155) +[src/types/core-modules.ts:155](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L155) ___ @@ -94,7 +94,7 @@ ___ #### Defined in -[src/types/core-modules.ts:153](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L153) +[src/types/core-modules.ts:153](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L153) ___ @@ -104,7 +104,7 @@ ___ #### Defined in -[src/types/core-modules.ts:158](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L158) +[src/types/core-modules.ts:158](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L158) ___ @@ -114,7 +114,7 @@ ___ #### Defined in -[src/types/core-modules.ts:160](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L160) +[src/types/core-modules.ts:160](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L160) ___ @@ -124,4 +124,4 @@ ___ #### Defined in -[src/types/core-modules.ts:152](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L152) +[src/types/core-modules.ts:152](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L152) diff --git a/docs/api/interfaces/ContextMenuMsg.md b/docs/api/interfaces/ContextMenuMsg.md index abc2d7a46..03303c275 100644 --- a/docs/api/interfaces/ContextMenuMsg.md +++ b/docs/api/interfaces/ContextMenuMsg.md @@ -24,7 +24,7 @@ Module.description #### Defined in -[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L35) +[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L35) ___ @@ -52,7 +52,7 @@ Module.execute #### Defined in -[src/types/core-modules.ts:59](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L59) +[src/types/core-modules.ts:59](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L59) ___ @@ -66,7 +66,7 @@ Module.name #### Defined in -[src/types/core-modules.ts:32](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L32) +[src/types/core-modules.ts:32](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L32) ___ @@ -80,7 +80,7 @@ Module.onEvent #### Defined in -[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L33) +[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L33) ___ @@ -94,7 +94,7 @@ Module.plugins #### Defined in -[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L34) +[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L34) ___ @@ -108,4 +108,4 @@ Module.type #### Defined in -[src/types/core-modules.ts:58](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L58) +[src/types/core-modules.ts:58](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L58) diff --git a/docs/api/interfaces/ContextMenuUser.md b/docs/api/interfaces/ContextMenuUser.md index 7a9776606..379ae0ac2 100644 --- a/docs/api/interfaces/ContextMenuUser.md +++ b/docs/api/interfaces/ContextMenuUser.md @@ -24,7 +24,7 @@ Module.description #### Defined in -[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L35) +[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L35) ___ @@ -52,7 +52,7 @@ Module.execute #### Defined in -[src/types/core-modules.ts:54](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L54) +[src/types/core-modules.ts:54](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L54) ___ @@ -66,7 +66,7 @@ Module.name #### Defined in -[src/types/core-modules.ts:32](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L32) +[src/types/core-modules.ts:32](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L32) ___ @@ -80,7 +80,7 @@ Module.onEvent #### Defined in -[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L33) +[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L33) ___ @@ -94,7 +94,7 @@ Module.plugins #### Defined in -[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L34) +[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L34) ___ @@ -108,4 +108,4 @@ Module.type #### Defined in -[src/types/core-modules.ts:53](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L53) +[src/types/core-modules.ts:53](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L53) diff --git a/docs/api/interfaces/ControlPlugin.md b/docs/api/interfaces/ControlPlugin.md index f13eed8e1..e688f9a84 100644 --- a/docs/api/interfaces/ControlPlugin.md +++ b/docs/api/interfaces/ControlPlugin.md @@ -34,7 +34,7 @@ custom_edit_url: null #### Defined in -[src/types/core-plugin.ts:73](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-plugin.ts#L73) +[src/types/core-plugin.ts:73](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-plugin.ts#L73) ___ @@ -44,4 +44,4 @@ ___ #### Defined in -[src/types/core-plugin.ts:72](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-plugin.ts#L72) +[src/types/core-plugin.ts:72](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-plugin.ts#L72) diff --git a/docs/api/interfaces/Controller.md b/docs/api/interfaces/Controller.md index ef34c7910..68c088deb 100644 --- a/docs/api/interfaces/Controller.md +++ b/docs/api/interfaces/Controller.md @@ -22,7 +22,7 @@ custom_edit_url: null #### Defined in -[src/types/core-plugin.ts:59](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-plugin.ts#L59) +[src/types/core-plugin.ts:59](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-plugin.ts#L59) ___ @@ -40,4 +40,4 @@ ___ #### Defined in -[src/types/core-plugin.ts:60](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-plugin.ts#L60) +[src/types/core-plugin.ts:60](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-plugin.ts#L60) diff --git a/docs/api/interfaces/CoreDependencies.md b/docs/api/interfaces/CoreDependencies.md index 04a833f3a..0c951a284 100644 --- a/docs/api/interfaces/CoreDependencies.md +++ b/docs/api/interfaces/CoreDependencies.md @@ -22,7 +22,7 @@ custom_edit_url: null #### Defined in -[src/types/ioc.ts:28](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/ioc.ts#L28) +[src/types/ioc.ts:28](https://github.com/sern-handler/handler/blob/81cdde2/src/types/ioc.ts#L28) ___ @@ -40,7 +40,7 @@ ___ #### Defined in -[src/types/ioc.ts:30](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/ioc.ts#L30) +[src/types/ioc.ts:30](https://github.com/sern-handler/handler/blob/81cdde2/src/types/ioc.ts#L30) ___ @@ -58,7 +58,7 @@ ___ #### Defined in -[src/types/ioc.ts:33](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/ioc.ts#L33) +[src/types/ioc.ts:33](https://github.com/sern-handler/handler/blob/81cdde2/src/types/ioc.ts#L33) ___ @@ -76,7 +76,7 @@ ___ #### Defined in -[src/types/ioc.ts:29](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/ioc.ts#L29) +[src/types/ioc.ts:29](https://github.com/sern-handler/handler/blob/81cdde2/src/types/ioc.ts#L29) ___ @@ -94,7 +94,7 @@ ___ #### Defined in -[src/types/ioc.ts:32](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/ioc.ts#L32) +[src/types/ioc.ts:32](https://github.com/sern-handler/handler/blob/81cdde2/src/types/ioc.ts#L32) ___ @@ -112,4 +112,4 @@ ___ #### Defined in -[src/types/ioc.ts:31](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/ioc.ts#L31) +[src/types/ioc.ts:31](https://github.com/sern-handler/handler/blob/81cdde2/src/types/ioc.ts#L31) diff --git a/docs/api/interfaces/CoreModuleStore.md b/docs/api/interfaces/CoreModuleStore.md index 4b06dc0f5..df31c5407 100644 --- a/docs/api/interfaces/CoreModuleStore.md +++ b/docs/api/interfaces/CoreModuleStore.md @@ -20,7 +20,7 @@ Represents a core module store that stores IDs mapped to file paths. #### Defined in -[src/core/contracts/module-store.ts:7](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/contracts/module-store.ts#L7) +[src/core/contracts/module-store.ts:7](https://github.com/sern-handler/handler/blob/81cdde2/src/core/contracts/module-store.ts#L7) ___ @@ -30,4 +30,4 @@ ___ #### Defined in -[src/core/contracts/module-store.ts:8](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/contracts/module-store.ts#L8) +[src/core/contracts/module-store.ts:8](https://github.com/sern-handler/handler/blob/81cdde2/src/core/contracts/module-store.ts#L8) diff --git a/docs/api/interfaces/DiscordEventCommand.md b/docs/api/interfaces/DiscordEventCommand.md index ad607b1c3..9122e510e 100644 --- a/docs/api/interfaces/DiscordEventCommand.md +++ b/docs/api/interfaces/DiscordEventCommand.md @@ -30,7 +30,7 @@ Module.description #### Defined in -[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L35) +[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L35) ___ @@ -44,7 +44,7 @@ Module.name #### Defined in -[src/types/core-modules.ts:105](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L105) +[src/types/core-modules.ts:105](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L105) ___ @@ -58,7 +58,7 @@ Module.onEvent #### Defined in -[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L33) +[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L33) ___ @@ -72,7 +72,7 @@ Module.plugins #### Defined in -[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L34) +[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L34) ___ @@ -86,7 +86,7 @@ Module.type #### Defined in -[src/types/core-modules.ts:106](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L106) +[src/types/core-modules.ts:106](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L106) ## Methods @@ -110,4 +110,4 @@ Module.execute #### Defined in -[src/types/core-modules.ts:107](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L107) +[src/types/core-modules.ts:107](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L107) diff --git a/docs/api/interfaces/Emitter.md b/docs/api/interfaces/Emitter.md index d39e7d2ab..1ee58784d 100644 --- a/docs/api/interfaces/Emitter.md +++ b/docs/api/interfaces/Emitter.md @@ -25,7 +25,7 @@ custom_edit_url: null #### Defined in -[src/core/contracts/emitter.ts:4](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/contracts/emitter.ts#L4) +[src/core/contracts/emitter.ts:4](https://github.com/sern-handler/handler/blob/81cdde2/src/core/contracts/emitter.ts#L4) ___ @@ -46,7 +46,7 @@ ___ #### Defined in -[src/core/contracts/emitter.ts:6](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/contracts/emitter.ts#L6) +[src/core/contracts/emitter.ts:6](https://github.com/sern-handler/handler/blob/81cdde2/src/core/contracts/emitter.ts#L6) ___ @@ -67,4 +67,4 @@ ___ #### Defined in -[src/core/contracts/emitter.ts:5](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/contracts/emitter.ts#L5) +[src/core/contracts/emitter.ts:5](https://github.com/sern-handler/handler/blob/81cdde2/src/core/contracts/emitter.ts#L5) diff --git a/docs/api/interfaces/ErrorHandling.md b/docs/api/interfaces/ErrorHandling.md index e887252a6..e38ecc6ab 100644 --- a/docs/api/interfaces/ErrorHandling.md +++ b/docs/api/interfaces/ErrorHandling.md @@ -24,7 +24,7 @@ Number of times the process should throw an error until crashing and exiting #### Defined in -[src/core/contracts/error-handling.ts:8](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/contracts/error-handling.ts#L8) +[src/core/contracts/error-handling.ts:8](https://github.com/sern-handler/handler/blob/81cdde2/src/core/contracts/error-handling.ts#L8) ## Methods @@ -48,7 +48,7 @@ Version 4 will remove this method #### Defined in -[src/core/contracts/error-handling.ts:14](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/contracts/error-handling.ts#L14) +[src/core/contracts/error-handling.ts:14](https://github.com/sern-handler/handler/blob/81cdde2/src/core/contracts/error-handling.ts#L14) ___ @@ -71,4 +71,4 @@ If keepAlive is 0, the process crashes. #### Defined in -[src/core/contracts/error-handling.ts:20](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/contracts/error-handling.ts#L20) +[src/core/contracts/error-handling.ts:20](https://github.com/sern-handler/handler/blob/81cdde2/src/core/contracts/error-handling.ts#L20) diff --git a/docs/api/interfaces/EventModuleDefs.md b/docs/api/interfaces/EventModuleDefs.md index a12f35a19..d7fa3f3ff 100644 --- a/docs/api/interfaces/EventModuleDefs.md +++ b/docs/api/interfaces/EventModuleDefs.md @@ -14,7 +14,7 @@ custom_edit_url: null #### Defined in -[src/types/core-modules.ts:165](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L165) +[src/types/core-modules.ts:165](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L165) ___ @@ -24,7 +24,7 @@ ___ #### Defined in -[src/types/core-modules.ts:164](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L164) +[src/types/core-modules.ts:164](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L164) ___ @@ -34,4 +34,4 @@ ___ #### Defined in -[src/types/core-modules.ts:166](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L166) +[src/types/core-modules.ts:166](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L166) diff --git a/docs/api/interfaces/ExternalEventCommand.md b/docs/api/interfaces/ExternalEventCommand.md index 590bc1f2a..1fd0c14fa 100644 --- a/docs/api/interfaces/ExternalEventCommand.md +++ b/docs/api/interfaces/ExternalEventCommand.md @@ -24,7 +24,7 @@ Module.description #### Defined in -[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L35) +[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L35) ___ @@ -34,7 +34,7 @@ ___ #### Defined in -[src/types/core-modules.ts:47](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L47) +[src/types/core-modules.ts:47](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L47) ___ @@ -48,7 +48,7 @@ Module.name #### Defined in -[src/types/core-modules.ts:46](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L46) +[src/types/core-modules.ts:46](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L46) ___ @@ -62,7 +62,7 @@ Module.onEvent #### Defined in -[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L33) +[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L33) ___ @@ -76,7 +76,7 @@ Module.plugins #### Defined in -[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L34) +[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L34) ___ @@ -90,7 +90,7 @@ Module.type #### Defined in -[src/types/core-modules.ts:48](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L48) +[src/types/core-modules.ts:48](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L48) ## Methods @@ -114,4 +114,4 @@ Module.execute #### Defined in -[src/types/core-modules.ts:49](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L49) +[src/types/core-modules.ts:49](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L49) diff --git a/docs/api/interfaces/Init.md b/docs/api/interfaces/Init.md index 03feee939..d41507c8d 100644 --- a/docs/api/interfaces/Init.md +++ b/docs/api/interfaces/Init.md @@ -21,4 +21,4 @@ Let dependencies implement this to initiate some logic. #### Defined in -[src/core/contracts/init.ts:8](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/contracts/init.ts#L8) +[src/core/contracts/init.ts:8](https://github.com/sern-handler/handler/blob/81cdde2/src/core/contracts/init.ts#L8) diff --git a/docs/api/interfaces/InitPlugin.md b/docs/api/interfaces/InitPlugin.md index 34e8aa7ae..2e7bc12e7 100644 --- a/docs/api/interfaces/InitPlugin.md +++ b/docs/api/interfaces/InitPlugin.md @@ -34,7 +34,7 @@ custom_edit_url: null #### Defined in -[src/types/core-plugin.ts:69](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-plugin.ts#L69) +[src/types/core-plugin.ts:69](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-plugin.ts#L69) ___ @@ -44,4 +44,4 @@ ___ #### Defined in -[src/types/core-plugin.ts:68](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-plugin.ts#L68) +[src/types/core-plugin.ts:68](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-plugin.ts#L68) diff --git a/docs/api/interfaces/Logging.md b/docs/api/interfaces/Logging.md index 826b5ea04..5fb821961 100644 --- a/docs/api/interfaces/Logging.md +++ b/docs/api/interfaces/Logging.md @@ -38,7 +38,7 @@ custom_edit_url: null #### Defined in -[src/core/contracts/logging.ts:8](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/contracts/logging.ts#L8) +[src/core/contracts/logging.ts:8](https://github.com/sern-handler/handler/blob/81cdde2/src/core/contracts/logging.ts#L8) ___ @@ -58,7 +58,7 @@ ___ #### Defined in -[src/core/contracts/logging.ts:5](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/contracts/logging.ts#L5) +[src/core/contracts/logging.ts:5](https://github.com/sern-handler/handler/blob/81cdde2/src/core/contracts/logging.ts#L5) ___ @@ -78,7 +78,7 @@ ___ #### Defined in -[src/core/contracts/logging.ts:7](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/contracts/logging.ts#L7) +[src/core/contracts/logging.ts:7](https://github.com/sern-handler/handler/blob/81cdde2/src/core/contracts/logging.ts#L7) ___ @@ -98,4 +98,4 @@ ___ #### Defined in -[src/core/contracts/logging.ts:6](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/contracts/logging.ts#L6) +[src/core/contracts/logging.ts:6](https://github.com/sern-handler/handler/blob/81cdde2/src/core/contracts/logging.ts#L6) diff --git a/docs/api/interfaces/MentionableSelectCommand.md b/docs/api/interfaces/MentionableSelectCommand.md index a8179ebbd..244655b81 100644 --- a/docs/api/interfaces/MentionableSelectCommand.md +++ b/docs/api/interfaces/MentionableSelectCommand.md @@ -24,7 +24,7 @@ Module.description #### Defined in -[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L35) +[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L35) ___ @@ -52,7 +52,7 @@ Module.execute #### Defined in -[src/types/core-modules.ts:84](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L84) +[src/types/core-modules.ts:84](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L84) ___ @@ -66,7 +66,7 @@ Module.name #### Defined in -[src/types/core-modules.ts:32](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L32) +[src/types/core-modules.ts:32](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L32) ___ @@ -80,7 +80,7 @@ Module.onEvent #### Defined in -[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L33) +[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L33) ___ @@ -94,7 +94,7 @@ Module.plugins #### Defined in -[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L34) +[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L34) ___ @@ -108,4 +108,4 @@ Module.type #### Defined in -[src/types/core-modules.ts:83](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L83) +[src/types/core-modules.ts:83](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L83) diff --git a/docs/api/interfaces/ModalSubmitCommand.md b/docs/api/interfaces/ModalSubmitCommand.md index 4bbe57dda..1462167b6 100644 --- a/docs/api/interfaces/ModalSubmitCommand.md +++ b/docs/api/interfaces/ModalSubmitCommand.md @@ -24,7 +24,7 @@ Module.description #### Defined in -[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L35) +[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L35) ___ @@ -52,7 +52,7 @@ Module.execute #### Defined in -[src/types/core-modules.ts:94](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L94) +[src/types/core-modules.ts:94](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L94) ___ @@ -66,7 +66,7 @@ Module.name #### Defined in -[src/types/core-modules.ts:32](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L32) +[src/types/core-modules.ts:32](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L32) ___ @@ -80,7 +80,7 @@ Module.onEvent #### Defined in -[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L33) +[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L33) ___ @@ -94,7 +94,7 @@ Module.plugins #### Defined in -[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L34) +[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L34) ___ @@ -108,4 +108,4 @@ Module.type #### Defined in -[src/types/core-modules.ts:93](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L93) +[src/types/core-modules.ts:93](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L93) diff --git a/docs/api/interfaces/ModuleManager.md b/docs/api/interfaces/ModuleManager.md index 2a6a71bd6..740b170ff 100644 --- a/docs/api/interfaces/ModuleManager.md +++ b/docs/api/interfaces/ModuleManager.md @@ -32,7 +32,7 @@ custom_edit_url: null #### Defined in -[src/core/contracts/module-manager.ts:13](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/contracts/module-manager.ts#L13) +[src/core/contracts/module-manager.ts:13](https://github.com/sern-handler/handler/blob/81cdde2/src/core/contracts/module-manager.ts#L13) ___ @@ -59,7 +59,7 @@ ___ #### Defined in -[src/core/contracts/module-manager.ts:18](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/contracts/module-manager.ts#L18) +[src/core/contracts/module-manager.ts:18](https://github.com/sern-handler/handler/blob/81cdde2/src/core/contracts/module-manager.ts#L18) ___ @@ -79,7 +79,7 @@ ___ #### Defined in -[src/core/contracts/module-manager.ts:14](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/contracts/module-manager.ts#L14) +[src/core/contracts/module-manager.ts:14](https://github.com/sern-handler/handler/blob/81cdde2/src/core/contracts/module-manager.ts#L14) ___ @@ -93,7 +93,7 @@ ___ #### Defined in -[src/core/contracts/module-manager.ts:17](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/contracts/module-manager.ts#L17) +[src/core/contracts/module-manager.ts:17](https://github.com/sern-handler/handler/blob/81cdde2/src/core/contracts/module-manager.ts#L17) ___ @@ -114,7 +114,7 @@ ___ #### Defined in -[src/core/contracts/module-manager.ts:16](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/contracts/module-manager.ts#L16) +[src/core/contracts/module-manager.ts:16](https://github.com/sern-handler/handler/blob/81cdde2/src/core/contracts/module-manager.ts#L16) ___ @@ -135,4 +135,4 @@ ___ #### Defined in -[src/core/contracts/module-manager.ts:15](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/contracts/module-manager.ts#L15) +[src/core/contracts/module-manager.ts:15](https://github.com/sern-handler/handler/blob/81cdde2/src/core/contracts/module-manager.ts#L15) diff --git a/docs/api/interfaces/Plugin.md b/docs/api/interfaces/Plugin.md index 356c24bd1..308c7bdd8 100644 --- a/docs/api/interfaces/Plugin.md +++ b/docs/api/interfaces/Plugin.md @@ -34,7 +34,7 @@ custom_edit_url: null #### Defined in -[src/types/core-plugin.ts:64](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-plugin.ts#L64) +[src/types/core-plugin.ts:64](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-plugin.ts#L64) ___ @@ -44,4 +44,4 @@ ___ #### Defined in -[src/types/core-plugin.ts:63](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-plugin.ts#L63) +[src/types/core-plugin.ts:63](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-plugin.ts#L63) diff --git a/docs/api/interfaces/RoleSelectCommand.md b/docs/api/interfaces/RoleSelectCommand.md index 7d2e0f3f2..038d724ea 100644 --- a/docs/api/interfaces/RoleSelectCommand.md +++ b/docs/api/interfaces/RoleSelectCommand.md @@ -24,7 +24,7 @@ Module.description #### Defined in -[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L35) +[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L35) ___ @@ -52,7 +52,7 @@ Module.execute #### Defined in -[src/types/core-modules.ts:79](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L79) +[src/types/core-modules.ts:79](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L79) ___ @@ -66,7 +66,7 @@ Module.name #### Defined in -[src/types/core-modules.ts:32](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L32) +[src/types/core-modules.ts:32](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L32) ___ @@ -80,7 +80,7 @@ Module.onEvent #### Defined in -[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L33) +[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L33) ___ @@ -94,7 +94,7 @@ Module.plugins #### Defined in -[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L34) +[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L34) ___ @@ -108,4 +108,4 @@ Module.type #### Defined in -[src/types/core-modules.ts:78](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L78) +[src/types/core-modules.ts:78](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L78) diff --git a/docs/api/interfaces/SernAutocompleteData.md b/docs/api/interfaces/SernAutocompleteData.md index d3e78fcc2..4a7634998 100644 --- a/docs/api/interfaces/SernAutocompleteData.md +++ b/docs/api/interfaces/SernAutocompleteData.md @@ -20,7 +20,7 @@ custom_edit_url: null #### Defined in -[src/types/core-modules.ts:171](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L171) +[src/types/core-modules.ts:171](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L171) ___ @@ -30,7 +30,7 @@ ___ #### Defined in -[src/types/core-modules.ts:176](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L176) +[src/types/core-modules.ts:176](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L176) ___ @@ -110,4 +110,4 @@ ___ #### Defined in -[src/types/core-modules.ts:172](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L172) +[src/types/core-modules.ts:172](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L172) diff --git a/docs/api/interfaces/SernEventCommand.md b/docs/api/interfaces/SernEventCommand.md index fdcd57af1..5841cd508 100644 --- a/docs/api/interfaces/SernEventCommand.md +++ b/docs/api/interfaces/SernEventCommand.md @@ -30,7 +30,7 @@ Module.description #### Defined in -[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L35) +[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L35) ___ @@ -44,7 +44,7 @@ Module.name #### Defined in -[src/types/core-modules.ts:41](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L41) +[src/types/core-modules.ts:41](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L41) ___ @@ -58,7 +58,7 @@ Module.onEvent #### Defined in -[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L33) +[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L33) ___ @@ -72,7 +72,7 @@ Module.plugins #### Defined in -[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L34) +[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L34) ___ @@ -86,7 +86,7 @@ Module.type #### Defined in -[src/types/core-modules.ts:42](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L42) +[src/types/core-modules.ts:42](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L42) ## Methods @@ -110,4 +110,4 @@ Module.execute #### Defined in -[src/types/core-modules.ts:43](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L43) +[src/types/core-modules.ts:43](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L43) diff --git a/docs/api/interfaces/SernEventsMapping.md b/docs/api/interfaces/SernEventsMapping.md index 7d27710a9..d7e69156b 100644 --- a/docs/api/interfaces/SernEventsMapping.md +++ b/docs/api/interfaces/SernEventsMapping.md @@ -14,7 +14,7 @@ custom_edit_url: null #### Defined in -[src/types/utility.ts:21](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/utility.ts#L21) +[src/types/utility.ts:21](https://github.com/sern-handler/handler/blob/81cdde2/src/types/utility.ts#L21) ___ @@ -24,7 +24,7 @@ ___ #### Defined in -[src/types/utility.ts:20](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/utility.ts#L20) +[src/types/utility.ts:20](https://github.com/sern-handler/handler/blob/81cdde2/src/types/utility.ts#L20) ___ @@ -34,7 +34,7 @@ ___ #### Defined in -[src/types/utility.ts:19](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/utility.ts#L19) +[src/types/utility.ts:19](https://github.com/sern-handler/handler/blob/81cdde2/src/types/utility.ts#L19) ___ @@ -44,7 +44,7 @@ ___ #### Defined in -[src/types/utility.ts:23](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/utility.ts#L23) +[src/types/utility.ts:23](https://github.com/sern-handler/handler/blob/81cdde2/src/types/utility.ts#L23) ___ @@ -54,4 +54,4 @@ ___ #### Defined in -[src/types/utility.ts:22](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/utility.ts#L22) +[src/types/utility.ts:22](https://github.com/sern-handler/handler/blob/81cdde2/src/types/utility.ts#L22) diff --git a/docs/api/interfaces/SernSubCommandData.md b/docs/api/interfaces/SernSubCommandData.md index bb4b23877..d37de5a29 100644 --- a/docs/api/interfaces/SernSubCommandData.md +++ b/docs/api/interfaces/SernSubCommandData.md @@ -76,7 +76,7 @@ ___ #### Defined in -[src/types/core-modules.ts:208](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L208) +[src/types/core-modules.ts:208](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L208) ___ @@ -104,4 +104,4 @@ APIApplicationCommandOptionBase.type #### Defined in -[src/types/core-modules.ts:207](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L207) +[src/types/core-modules.ts:207](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L207) diff --git a/docs/api/interfaces/SernSubCommandGroupData.md b/docs/api/interfaces/SernSubCommandGroupData.md index b282edd99..09d3712e0 100644 --- a/docs/api/interfaces/SernSubCommandGroupData.md +++ b/docs/api/interfaces/SernSubCommandGroupData.md @@ -90,7 +90,7 @@ ___ #### Defined in -[src/types/core-modules.ts:213](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L213) +[src/types/core-modules.ts:213](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L213) ___ @@ -114,4 +114,4 @@ ___ #### Defined in -[src/types/core-modules.ts:212](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L212) +[src/types/core-modules.ts:212](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L212) diff --git a/docs/api/interfaces/SlashCommand.md b/docs/api/interfaces/SlashCommand.md index ea708dffa..e23e73627 100644 --- a/docs/api/interfaces/SlashCommand.md +++ b/docs/api/interfaces/SlashCommand.md @@ -24,7 +24,7 @@ Module.description #### Defined in -[src/types/core-modules.ts:117](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L117) +[src/types/core-modules.ts:117](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L117) ___ @@ -53,7 +53,7 @@ Module.execute #### Defined in -[src/types/core-modules.ts:119](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L119) +[src/types/core-modules.ts:119](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L119) ___ @@ -67,7 +67,7 @@ Module.name #### Defined in -[src/types/core-modules.ts:32](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L32) +[src/types/core-modules.ts:32](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L32) ___ @@ -81,7 +81,7 @@ Module.onEvent #### Defined in -[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L33) +[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L33) ___ @@ -91,7 +91,7 @@ ___ #### Defined in -[src/types/core-modules.ts:118](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L118) +[src/types/core-modules.ts:118](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L118) ___ @@ -105,7 +105,7 @@ Module.plugins #### Defined in -[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L34) +[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L34) ___ @@ -119,4 +119,4 @@ Module.type #### Defined in -[src/types/core-modules.ts:116](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L116) +[src/types/core-modules.ts:116](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L116) diff --git a/docs/api/interfaces/StringSelectCommand.md b/docs/api/interfaces/StringSelectCommand.md index f3f9cf529..ca26a0604 100644 --- a/docs/api/interfaces/StringSelectCommand.md +++ b/docs/api/interfaces/StringSelectCommand.md @@ -24,7 +24,7 @@ Module.description #### Defined in -[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L35) +[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L35) ___ @@ -52,7 +52,7 @@ Module.execute #### Defined in -[src/types/core-modules.ts:69](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L69) +[src/types/core-modules.ts:69](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L69) ___ @@ -66,7 +66,7 @@ Module.name #### Defined in -[src/types/core-modules.ts:32](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L32) +[src/types/core-modules.ts:32](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L32) ___ @@ -80,7 +80,7 @@ Module.onEvent #### Defined in -[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L33) +[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L33) ___ @@ -94,7 +94,7 @@ Module.plugins #### Defined in -[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L34) +[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L34) ___ @@ -108,4 +108,4 @@ Module.type #### Defined in -[src/types/core-modules.ts:68](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L68) +[src/types/core-modules.ts:68](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L68) diff --git a/docs/api/interfaces/TextCommand.md b/docs/api/interfaces/TextCommand.md index c372cc1c5..18b12f93f 100644 --- a/docs/api/interfaces/TextCommand.md +++ b/docs/api/interfaces/TextCommand.md @@ -20,7 +20,7 @@ custom_edit_url: null #### Defined in -[src/types/core-modules.ts:111](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L111) +[src/types/core-modules.ts:111](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L111) ___ @@ -34,7 +34,7 @@ Module.description #### Defined in -[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L35) +[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L35) ___ @@ -63,7 +63,7 @@ Module.execute #### Defined in -[src/types/core-modules.ts:112](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L112) +[src/types/core-modules.ts:112](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L112) ___ @@ -77,7 +77,7 @@ Module.name #### Defined in -[src/types/core-modules.ts:32](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L32) +[src/types/core-modules.ts:32](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L32) ___ @@ -91,7 +91,7 @@ Module.onEvent #### Defined in -[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L33) +[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L33) ___ @@ -105,7 +105,7 @@ Module.plugins #### Defined in -[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L34) +[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L34) ___ @@ -119,4 +119,4 @@ Module.type #### Defined in -[src/types/core-modules.ts:110](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L110) +[src/types/core-modules.ts:110](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L110) diff --git a/docs/api/interfaces/UserSelectCommand.md b/docs/api/interfaces/UserSelectCommand.md index a7ae436cb..7e9008069 100644 --- a/docs/api/interfaces/UserSelectCommand.md +++ b/docs/api/interfaces/UserSelectCommand.md @@ -24,7 +24,7 @@ Module.description #### Defined in -[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L35) +[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L35) ___ @@ -52,7 +52,7 @@ Module.execute #### Defined in -[src/types/core-modules.ts:89](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L89) +[src/types/core-modules.ts:89](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L89) ___ @@ -66,7 +66,7 @@ Module.name #### Defined in -[src/types/core-modules.ts:32](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L32) +[src/types/core-modules.ts:32](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L32) ___ @@ -80,7 +80,7 @@ Module.onEvent #### Defined in -[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L33) +[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L33) ___ @@ -94,7 +94,7 @@ Module.plugins #### Defined in -[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L34) +[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L34) ___ @@ -108,4 +108,4 @@ Module.type #### Defined in -[src/types/core-modules.ts:88](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L88) +[src/types/core-modules.ts:88](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L88) diff --git a/docs/api/interfaces/Wrapper.md b/docs/api/interfaces/Wrapper.md index 7d994656d..a450d96b7 100644 --- a/docs/api/interfaces/Wrapper.md +++ b/docs/api/interfaces/Wrapper.md @@ -14,7 +14,7 @@ custom_edit_url: null #### Defined in -[src/types/core.ts:8](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core.ts#L8) +[src/types/core.ts:8](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core.ts#L8) ___ @@ -30,7 +30,7 @@ ___ #### Defined in -[src/types/core.ts:18](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core.ts#L18) +[src/types/core.ts:18](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core.ts#L18) ___ @@ -40,7 +40,7 @@ ___ #### Defined in -[src/types/core.ts:9](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core.ts#L9) +[src/types/core.ts:9](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core.ts#L9) ___ @@ -50,7 +50,7 @@ ___ #### Defined in -[src/types/core.ts:10](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core.ts#L10) +[src/types/core.ts:10](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core.ts#L10) ___ @@ -62,4 +62,4 @@ Overload to enable mode in case developer does not use a .env file. #### Defined in -[src/types/core.ts:14](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core.ts#L14) +[src/types/core.ts:14](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core.ts#L14) diff --git a/docs/api/modules.md b/docs/api/modules.md index bc87192cd..ad55931e1 100644 --- a/docs/api/modules.md +++ b/docs/api/modules.md @@ -78,7 +78,7 @@ Re-exports [controller](namespaces/Sern.md#controller) #### Defined in -[src/types/core-plugin.ts:76](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-plugin.ts#L76) +[src/types/core-plugin.ts:76](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-plugin.ts#L76) ___ @@ -88,7 +88,7 @@ ___ #### Defined in -[src/types/core-plugin.ts:77](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-plugin.ts#L77) +[src/types/core-plugin.ts:77](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-plugin.ts#L77) ___ @@ -98,7 +98,7 @@ ___ #### Defined in -[src/types/utility.ts:16](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/utility.ts#L16) +[src/types/utility.ts:16](https://github.com/sern-handler/handler/blob/81cdde2/src/types/utility.ts#L16) ___ @@ -108,7 +108,7 @@ ___ #### Defined in -[src/types/core-modules.ts:131](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L131) +[src/types/core-modules.ts:131](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L131) ___ @@ -118,7 +118,7 @@ ___ #### Defined in -[src/types/core-modules.ts:130](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L130) +[src/types/core-modules.ts:130](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L130) ___ @@ -137,7 +137,7 @@ If T has an init method, this will be called. #### Defined in -[src/types/ioc.ts:17](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/ioc.ts#L17) +[src/types/ioc.ts:17](https://github.com/sern-handler/handler/blob/81cdde2/src/types/ioc.ts#L17) ___ @@ -159,7 +159,7 @@ ___ #### Defined in -[src/core/contracts/logging.ts:11](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/contracts/logging.ts#L11) +[src/core/contracts/logging.ts:11](https://github.com/sern-handler/handler/blob/81cdde2/src/core/contracts/logging.ts#L11) ___ @@ -169,7 +169,7 @@ ___ #### Defined in -[src/types/utility.ts:26](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/utility.ts#L26) +[src/types/utility.ts:26](https://github.com/sern-handler/handler/blob/81cdde2/src/types/utility.ts#L26) ___ @@ -179,7 +179,7 @@ ___ #### Defined in -[src/types/core-plugin.ts:51](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-plugin.ts#L51) +[src/types/core-plugin.ts:51](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-plugin.ts#L51) ___ @@ -191,7 +191,7 @@ Type that replaces autocomplete with [SernAutocompleteData](interfaces/SernAutoc #### Defined in -[src/types/core-modules.ts:199](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/core-modules.ts#L199) +[src/types/core-modules.ts:199](https://github.com/sern-handler/handler/blob/81cdde2/src/types/core-modules.ts#L199) ___ @@ -218,7 +218,7 @@ T is created once and lazily. #### Defined in -[src/types/ioc.ts:7](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/ioc.ts#L7) +[src/types/ioc.ts:7](https://github.com/sern-handler/handler/blob/81cdde2/src/types/ioc.ts#L7) ___ @@ -228,7 +228,7 @@ ___ #### Defined in -[src/types/utility.ts:14](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/utility.ts#L14) +[src/types/utility.ts:14](https://github.com/sern-handler/handler/blob/81cdde2/src/types/utility.ts#L14) ___ @@ -261,7 +261,7 @@ Every time this is called, a new object is created #### Defined in -[src/types/ioc.ts:12](https://github.com/sern-handler/handler/blob/5e3dcf8/src/types/ioc.ts#L12) +[src/types/ioc.ts:12](https://github.com/sern-handler/handler/blob/81cdde2/src/types/ioc.ts#L12) ## Functions @@ -292,7 +292,7 @@ Every time this is called, a new object is created #### Defined in -[src/core/create-plugins.ts:36](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/create-plugins.ts#L36) +[src/core/create-plugins.ts:36](https://github.com/sern-handler/handler/blob/81cdde2/src/core/create-plugins.ts#L36) ___ @@ -323,7 +323,7 @@ ___ #### Defined in -[src/core/create-plugins.ts:27](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/create-plugins.ts#L27) +[src/core/create-plugins.ts:27](https://github.com/sern-handler/handler/blob/81cdde2/src/core/create-plugins.ts#L27) ___ @@ -359,7 +359,7 @@ Will probably be moved one day! #### Defined in -[src/core/create-plugins.ts:57](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/create-plugins.ts#L57) +[src/core/create-plugins.ts:57](https://github.com/sern-handler/handler/blob/81cdde2/src/core/create-plugins.ts#L57) ___ @@ -390,7 +390,7 @@ ___ #### Defined in -[src/core/create-plugins.ts:45](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/create-plugins.ts#L45) +[src/core/create-plugins.ts:45](https://github.com/sern-handler/handler/blob/81cdde2/src/core/create-plugins.ts#L45) ___ @@ -421,7 +421,7 @@ ___ #### Defined in -[src/core/create-plugins.ts:18](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/create-plugins.ts#L18) +[src/core/create-plugins.ts:18](https://github.com/sern-handler/handler/blob/81cdde2/src/core/create-plugins.ts#L18) ___ @@ -461,7 +461,7 @@ const client = Service('@sern/client'); #### Defined in -[src/core/ioc/dependency-injection.ts:37](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/ioc/dependency-injection.ts#L37) +[src/core/ioc/dependency-injection.ts:37](https://github.com/sern-handler/handler/blob/81cdde2/src/core/ioc/dependency-injection.ts#L37) ___ @@ -494,7 +494,7 @@ array of dependencies, in the same order of keys provided #### Defined in -[src/core/ioc/dependency-injection.ts:45](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/ioc/dependency-injection.ts#L45) +[src/core/ioc/dependency-injection.ts:45](https://github.com/sern-handler/handler/blob/81cdde2/src/core/ioc/dependency-injection.ts#L45) ___ @@ -518,7 +518,7 @@ ___ #### Defined in -[src/core/modules.ts:25](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/modules.ts#L25) +[src/core/modules.ts:25](https://github.com/sern-handler/handler/blob/81cdde2/src/core/modules.ts#L25) ___ @@ -553,7 +553,7 @@ where typings can be very bad. #### Defined in -[src/core/modules.ts:53](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/modules.ts#L53) +[src/core/modules.ts:53](https://github.com/sern-handler/handler/blob/81cdde2/src/core/modules.ts#L53) ___ @@ -578,7 +578,7 @@ The wrapper function to define event modules for sern #### Defined in -[src/core/modules.ts:38](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/modules.ts#L38) +[src/core/modules.ts:38](https://github.com/sern-handler/handler/blob/81cdde2/src/core/modules.ts#L38) ___ @@ -608,7 +608,7 @@ ___ #### Defined in -[src/core/ioc/base.ts:25](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/ioc/base.ts#L25) +[src/core/ioc/base.ts:25](https://github.com/sern-handler/handler/blob/81cdde2/src/core/ioc/base.ts#L25) ___ @@ -635,7 +635,7 @@ ___ #### Defined in -[src/core/create-plugins.ts:5](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/create-plugins.ts#L5) +[src/core/create-plugins.ts:5](https://github.com/sern-handler/handler/blob/81cdde2/src/core/create-plugins.ts#L5) ___ @@ -674,7 +674,7 @@ Creates a singleton object. #### Defined in -[src/core/ioc/dependency-injection.ts:12](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/ioc/dependency-injection.ts#L12) +[src/core/ioc/dependency-injection.ts:12](https://github.com/sern-handler/handler/blob/81cdde2/src/core/ioc/dependency-injection.ts#L12) ___ @@ -719,7 +719,7 @@ Creates a transient object #### Defined in -[src/core/ioc/dependency-injection.ts:22](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/ioc/dependency-injection.ts#L22) +[src/core/ioc/dependency-injection.ts:22](https://github.com/sern-handler/handler/blob/81cdde2/src/core/ioc/dependency-injection.ts#L22) ___ @@ -736,4 +736,4 @@ Exposes methods from iti #### Defined in -[src/core/ioc/base.ts:13](https://github.com/sern-handler/handler/blob/5e3dcf8/src/core/ioc/base.ts#L13) +[src/core/ioc/base.ts:13](https://github.com/sern-handler/handler/blob/81cdde2/src/core/ioc/base.ts#L13) diff --git a/docs/api/namespaces/Sern.md b/docs/api/namespaces/Sern.md index 20cecd2a8..7f12d85d6 100644 --- a/docs/api/namespaces/Sern.md +++ b/docs/api/namespaces/Sern.md @@ -26,7 +26,7 @@ The object passed into every plugin to control a command's behavior #### Defined in -[src/sern.ts:72](https://github.com/sern-handler/handler/blob/5e3dcf8/src/sern.ts#L72) +[src/sern.ts:72](https://github.com/sern-handler/handler/blob/81cdde2/src/sern.ts#L72) ## Functions @@ -59,4 +59,4 @@ Sern.init({ #### Defined in -[src/sern.ts:24](https://github.com/sern-handler/handler/blob/5e3dcf8/src/sern.ts#L24) +[src/sern.ts:24](https://github.com/sern-handler/handler/blob/81cdde2/src/sern.ts#L24) diff --git a/docs/guide/getting-started/choose-ide.md b/docs/guide/getting-started/choose-ide.md index ba99512ff..526a4e197 100644 --- a/docs/guide/getting-started/choose-ide.md +++ b/docs/guide/getting-started/choose-ide.md @@ -4,6 +4,8 @@ Choosing an IDE is a matter of personal preference. The following are some suggestions for choosing an IDE: * [Visual Studio Code](https://code.visualstudio.com) + * we have an [extension](https://marketplace.visualstudio.com/items?itemName=SrIzan.sern-snippets) to help automate development :) * [Sublime Text](https://www.sublimetext.com/) * [NotePad++](https://notepad-plus-plus.org/) +* [nvim](https://neovim.io/) (chad) diff --git a/docs/guide/getting-started/preparing.md b/docs/guide/getting-started/preparing.md index 5be166d71..e30ab7709 100644 --- a/docs/guide/getting-started/preparing.md +++ b/docs/guide/getting-started/preparing.md @@ -1,16 +1,14 @@ # Preparing to Code -After installing and IDE you need to install node. +After installing an IDE, you need to install node. [Click to download the LTS version of node right here](https://nodejs.org/en/download/). -After you downloaded node, you can start using us +After you downloaded node you will need: -Running this will install our CLI, which allows you to create a template project without writing a single line of code. -```shell -npm install -g @sern/cli -``` +#### [Discord token](https://github.com/reactiflux/discord-irc/wiki/Creating-a-discord-bot-&-getting-a-token) -If you want to do more with our CLI, continue reading our guides. +CONTINUE 🤓 + diff --git a/docs/guide/walkthrough/cli.md b/docs/guide/walkthrough/cli.md index 4d38af189..1b1fb4ec9 100644 --- a/docs/guide/walkthrough/cli.md +++ b/docs/guide/walkthrough/cli.md @@ -5,25 +5,23 @@ sidebar_position: 2 # CLI Setting up the [CLI](https://github.com/sern-handler/cli) is easy.
-- To start a brand-new project, run : +The cli is your plug to the sern ecosystem. This will allow you to install plugins with ease, install extra utilities, and much more. +If you haven't yet: ```sh -sern init (-y) +npm install -g @sern/cli ``` -:::tip -It creates a directory for you so you don't need to! -::: - -Include the `-y` flag if you want to set up defaults. The default langauge is [Typescript](https://www.typescriptlang.org/)
- - To install [plugins](plugins.md) maintained by the community [repository](https://github.com/sern-handler/awesome-plugins), + ``` sern plugins ``` :::info Make sure to have a correct [sern.config.json](./good-to-know.md#sernconfigjson) ::: + This will display a menu selection of all installable plugins.
+ **Note**: You must have a [sern.config.json](good-to-know.md) to use this command. If you want to view plugins, visit the repository linked above. diff --git a/docs/guide/walkthrough/conclusion.md b/docs/guide/walkthrough/conclusion.md index daa290619..76e71b299 100644 --- a/docs/guide/walkthrough/conclusion.md +++ b/docs/guide/walkthrough/conclusion.md @@ -6,3 +6,6 @@ sidebar_position: 9 If you reached this far, thank you for reading! We hope you have learned the necessities you need to create a bot with the sern framework. If you have any other questions, bugs, feature requests, concerns, please join our [community server](https://sern.dev/discord), and we'll be glad to answer your questions. + +![](/blog/newlogo/paperlogo.png) + diff --git a/docs/guide/walkthrough/dependency-injection.md b/docs/guide/walkthrough/dependency-injection.md index b1abccb35..85dd14b88 100644 --- a/docs/guide/walkthrough/dependency-injection.md +++ b/docs/guide/walkthrough/dependency-injection.md @@ -2,8 +2,9 @@ sidebar_position: 7 --- :::warning -This is version 2 code. Please view [transitioning to v3](../transition) +This contains version 2 code. Please view [transitioning to v3](../transition) ::: + Since version 2.0.0, dependency injection, thanks to [iti](https://github.com/molszanski/iti), is a feature to customize your bot's utilities and structures. Minimal setup for any project. @@ -66,3 +67,41 @@ export const useContainer = Sern.makeDependencies({ }) ``` + +:::tip +Below is v3 api. +::: + +## Init +Do you need to perform intializing behavor for a dependency? + +```ts +import { Init } from '@sern/handler'; +class Database implements Init { + init() { + await this.connect() + console.log('Connected'); + } +} + +``` + +Modify you Dependencies interface: +```ts title="src/dependencies.d.ts" +import type { Initializable } from '@sern/handler' + +interface Dependencies extends CoreDependencies { + database: Initializable +} + +``` +Make sure its been added: +```ts title="src/index.ts" +await makeDependencies({ + build: root => root + .add({ database => new Database() }) +}) +``` + + + diff --git a/docs/guide/walkthrough/first-command.md b/docs/guide/walkthrough/first-command.md index 0f858891f..a965ba24d 100644 --- a/docs/guide/walkthrough/first-command.md +++ b/docs/guide/walkthrough/first-command.md @@ -1,13 +1,41 @@ --- -sidebar_position: 3 +sidebar_position: 4 --- # First Command + We will dissect a basic command. If you installed a new project via the cli, This is the `ping` command located in src/commands folder. -Typescript -```typescript +:::tip +TLDR: command modules are discord bot commands. There are many types, and each one will correspond to an event from discord. +For example, CommandType.Slash commands will listen to slash command interactions. +::: + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + + +```js +const { CommandType, commandModule } = require('@sern/handler'); + +export default commandModule({ + type: CommandType.Both, + plugins: [], + description: 'A ping command', + // alias : [], + execute: async (ctx, args) => { + await ctx.reply('Pong 🏓'); + }, +}) +``` + + + + +```ts import { commandModule, CommandType } from '@sern/handler'; export default commandModule({ @@ -19,21 +47,14 @@ export default commandModule({ await ctx.reply({ content: 'Pong 🏓' }); }, }); -``` -Javascript -```javascript -const { CommandType, commandModule } = require('@sern/handler'); -exports.default = commandModule({ - type: CommandType.Both, - plugins: [], - description: 'A ping command', - // alias : [], - execute: async (ctx, args) => { - await ctx.reply('Pong 🏓'); - }, -}) ``` + + + + + + To view what each of these properties mean in depth, visit the [official documentation](https://sern.dev/docs/api/enums/CommandType). ### Types of command modules Every command module `type` is part of an enum. This field allows type inference for the rest of a module's fields.
@@ -43,7 +64,27 @@ All the command types can be found in the [official documentation](https://sern. **Note**: Keep in mind you'll need to send a modal with a custom id `dm-me`. This example below is the response to a modal being sent.
-Typescript: + + + +```javascript +const { CommandType, commandModule } = require('@sern/handler'); +exports.default = commandModule({ + name: 'dm-me', + type: CommandType.Modal, + async execute (modal) { + const value = modal.fields.getTextInputValue('message'); + modal.client.users.fetch('182326315813306368').then( u => + u.send(value + ` from ${modal.user}`) + ); + modal.reply( { ephemeral:true, content: 'Sent' }) + } +}); +``` + + + + ```typescript import { commandModule, CommandType } from '@sern/handler'; export default commandModule({ @@ -58,21 +99,12 @@ export default commandModule({ } }); ``` -Javascript: -```javascript -const { CommandType, commandModule } = require('@sern/handler'); -exports.default = commandModule({ - name: 'dm-me', - type: CommandType.Modal, - async execute (modal) { - const value = modal.fields.getTextInputValue('message'); - modal.client.users.fetch('182326315813306368').then( u => - u.send(value + ` from ${modal.user}`) - ); - modal.reply( { ephemeral:true, content: 'Sent' }) - } -}); -``` + + + + + + Commands are straight forward. Keep in mind, every other property on the commandModule object is optional **except** the type and execute function. @@ -85,31 +117,4 @@ The Context class is passed into modules with type: - `CommandType.Text` This data structure helps interop between legacy commands and slash commands with ease. -:::note -View the [docs](../../api/classes/Context.md) -::: -Typescript: -```typescript -export default commandModule({ - name: 'ping', - type: CommandType.Both, - async execute(ctx: Context) { - await ctx.reply(`pong ${ctx.user}`) - // .reply is shared between both message and interaction! - // So is an User object! - } -}); -``` -Javascript: -```javascript -exports.default = commandModule({ - name: 'ping', - type: CommandType.Both, - async execute(ctx) { //ctx is a Context instance - await ctx.reply(`pong ${ctx.user}`) - // .reply is shared between both message and interaction! - // So is an User object! - } -}); -``` diff --git a/docs/guide/walkthrough/first-event.md b/docs/guide/walkthrough/first-event.md index ac7eedab7..178400b59 100644 --- a/docs/guide/walkthrough/first-event.md +++ b/docs/guide/walkthrough/first-event.md @@ -1,21 +1,20 @@ --- -sidebar_position: 4 +sidebar_position: 5 --- # First Event Module We will dissect a basic event module.
-Typescript: -```typescript -export default eventModule({ - type: EventType.Sern, - plugins : [], - name: 'module.activate', //name of event. - execute(event) { - console.log(event); - } -}) -``` -Javascript: + +:::tip +TLDR: event modules are event listeners. there are three types EventType.Discord, EventType.Sern, EventType.External +::: + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + + ```javascript exports.default = eventModule({ type: EventType.Sern, @@ -26,37 +25,52 @@ exports.default = eventModule({ } }) ``` + + + + +```typescript +export default eventModule({ + type: EventType.Sern, + plugins : [], + name: 'module.activate', //name of event. + execute(event) { + console.log(event); + } +}) +``` + + + + + Like command modules, the `type` property denotes what kind of event it is, which can be found [here](https://sern.dev/docs/api/enums/EventType). To view what each of these properties mean in depth, visit the [official documentation](https://sern.dev/docs/api/enums/EventType). -
-Event modules are laid out similarly to command modules. These listen to any and all event you provide. +## External -### Another example of an event module +In version 2 & 3, any dependency that you have passed into makeDependencies can be registered here as well. -Typescript: -```typescript -export default eventModule({ - type: EventType.Discord, - plugins : [], - name: 'guildMemberAdd', //name of event. - async execute(member: GuildMember) { - (await member.guild.channels.fetch('channel-id') as TextChannel).send(`Welcome, ${member}`); - } +```ts title="src/index.ts" +await makeDependencies({ + build: root => root.add({ + eventlistener: single(() => new EventEmitter()) + }) }) ``` -Javascript: -```javascript +```ts title="events/myevent.ts" +export default eventModule({ + type: EventType.External, + emitter: 'eventlistener', + execute: (args) => { + console.log('Got event from eventlistener: ', args); + } -exports.default = eventModule({ - type: EventType.Discord, - plugins : [], - name: 'guildMemberAdd', //name of event. - async execute(member) { - (await member.guild.channels.fetch('channel-id')).send(`Welcome, ${member}`); - } }) + ``` + + diff --git a/docs/guide/walkthrough/goal.md b/docs/guide/walkthrough/goal.md index 5a0180fcd..7e6c3976e 100644 --- a/docs/guide/walkthrough/goal.md +++ b/docs/guide/walkthrough/goal.md @@ -2,17 +2,50 @@ sidebar_position: 1 --- -:::warning -Please read the transition page if you are moving from version 2 to version 3. -::: -# Walkthrough + +# Goal This walkthrough will be written in [TypeScript](https://www.typescriptlang.org/) but will have JavaScript snippets throughout. -# Goal +# Make robust, modular, bots -sern strives to be minimalist, but with all batteries included. Meaning, this framework provides the necessary tools -to start up a bot in minutes, and leaves plenty room space to customize your experience and create an amazing project. -It should include all the tools for any bot at any scale. +- *Modularity*: sern is built with modularity in mind. You can swap pieces and parts easily. +- *Familiar*: commands and structures are similar to classic v12 handlers and the official discord.js command handler guide, while packing many features +- *Concise*: Too much code is a liability. with sern, write more for less 🤯 + +### Using @sapphire/framework +```ts title="commands/ping.ts" showLineNumbers +import { Command } from '@sapphire/framework' +import type { CommandInteraction } from 'discord.js' + +export class PingCommand extends Command { + public constructor(context: Command.Context) { + super(context, { + description: 'Pong!', + chatInputCommand: { + register: true, + }, + }) + } + public async chatInputRun(interaction: CommandInteraction) { + await interaction.reply('Pong!') + } +} +``` +### Using @sern/handler +```ts title="commands/ping.ts" showLineNumbers +import { commandModule, CommandType } from '@sern/handler' +import { publish } from '../plugins'; + +export default commandModule({ + //This acts as both a slash command AND text command + type: CommandType.Both, + plugins: [publish()], + description: 'Pong!', + execute: (ctx, args) => { + await ctx.reply('Pong!') + } +}) +``` diff --git a/docs/guide/walkthrough/new-project.md b/docs/guide/walkthrough/new-project.md new file mode 100644 index 000000000..224f7eed9 --- /dev/null +++ b/docs/guide/walkthrough/new-project.md @@ -0,0 +1,24 @@ +--- +sidebar_position: 1 +--- + +# Create a new project + +```sh +npm install -g @sern/cli +``` +Running this will install our CLI. (you'll probably want to download this) + - helps manage your applications + - plugs you into the sern ecosystem. + + + +### Create a new bot + +```sh +npm create @sern/bot +``` +and follow the interactive prompts. + +if somehow you need help, feel free to ask [here](https://sern.dev.discord) + diff --git a/docs/guide/walkthrough/plugins.md b/docs/guide/walkthrough/plugins.md index a72fcf7f6..fee0ef2a0 100644 --- a/docs/guide/walkthrough/plugins.md +++ b/docs/guide/walkthrough/plugins.md @@ -1,59 +1,45 @@ --- -sidebar_position: 5 +sidebar_position: 6 --- # Plugins -

As of now, modules seem a little underwhelming. It appears that sern doesn't have all the features of a standard handler, -which manages permissions, categorizes, cool-downs, publishes application commands, role permissions, etc.

+:::tip +TLDR: Plugins help reduce code repetition and are installable via `sern plugins`. Put them onto the plugins field of a command/event module. +::: +## Installing +Chances are, you just want your bot to work. Plugins can preprocess and create reusable conditions for modules. -

Many important parts that manage access and help streamline command creation to make are apparently absent. -Below is an example of an event plugin, one of the types of plugins.

- -Typescript: -```typescript -export function serenOnly(): EventPlugin { - return { - type: PluginType.Event, - async execute([ctx, args], controller) { - if (ctx.user.id !== "182326315813306368") { - await ctx.reply({content: "You cannot use this command"}) - return controller.stop() - } - return controller.next(); - } - } -} +run: +```sh +sern plugins ``` -Javascript: -```javascript -export function serenOnly() { - return { - type: PluginType.Event, - async execute([ctx, args], controller) { - if (ctx.user.id !== "182326315813306368") { - await ctx.reply({content: "You cannot use this command"}) - return controller.stop() - } - return controller.next(); - } +- Install your favorite(s) (or the ones that look the coolest). In my imaginary mind, I installed the ownerOnly plugin. + - This should install in `plugins` directory in `src`. +- Some plugins only work with specific types. Most are targeted towards slash / both modules. +- Add to your module. + +```ts +import { commandModule, CommandType } from '@sern/handler' +import { ownerOnly } from '../plugins' + +export default commandModule({ + type: CommandType.Both, + plugins: [ownerOnly(['182326315813306368')], + description: 'ping command', + execute: (ctx) => { + ctx.reply('hello, owner'); } -} +}) + ``` +#### ┗|`O′|┛ perfect, your first plugin! -
As part of being extensibile, plugins make sern just as powerful, if not more powerful than -standard handlers. -Plugins modify and add new behavior to standard modules. +## Creating your own plugins -
At the moment, there are two types of plugins: +The controller determines in plugins whether to continue or fail. -- Init Plugins -- Control Plugins - -## Init Plugins -All modules are registered into sern's system. Init plugins modify how commands are loaded. -or do some kind of preprocessing before loaded. ### The controller object ```typescript export interface Controller { @@ -61,45 +47,29 @@ export interface Controller { stop: () => Err; } ``` +## Init Plugins +Init plugins modify how commands are loaded or do preprocessing. An instance of the above object is passed into every plugin.
This controls whether a module is stored into sern.
-Typescript: + ```typescript -export function inDir(dir : string) : CommandPlugin { - return { - type: PluginType.Init, - async execute({ absPath, module }) { - if(path.dirname(absPath) !== dir) { - console.log(+new Date(), `${module.name} is not in the correct directory!`); - return controller.stop() - } - console.log(+new Date(), `${module.name} is in the correct directory!`); - return controller.next(); //continue - } - } -} -``` -Javascript: -```javascript -export function inDir(dir : string) { - return { - type: PluginType.Init, - async execute({ absPath, module }) { - if(path.dirname(absPath) !== dir) { +import { CommandInitPlugin } from '@sern/handler' +import path from 'path' +export const inDir = (dir: string) => { + return CommandInitPlugin(({ module, absPath }) => { + if(path.dirname(absPath) !== dir) { console.log(+new Date(), `${module.name} is not in the correct directory!`); return controller.stop() - } - console.log(+new Date(), `${module.name} is in the correct directory!`); - return controller.next(); //continue - } - } + } + console.log(+new Date(), `${module.name} is in the correct directory!`); + return controller.next(); //continue + }); } + ``` + Above, this simple plugin logs that the module has been loaded along with a timestamp.
-Again, it is up to **you** to define plugin logic! The possibilities to customize your bots are endless. -:::tip -Init Plugins are good for ensuring the shape, maintaining location, and preprocessing commands. -::: + ## Event Plugins ![control-plugins](../../../static/img/eventplugins.drawio.svg)
- An event is emitted by discord.js. @@ -107,44 +77,8 @@ Init Plugins are good for ensuring the shape, maintaining location, and preproce - If all are successful, The command is executed. Calling `controller.stop()` notifies sern that this command should not be run, -and this event is ignored. +and command is ignored. -

So, what does a command module look like with plugins?

- -Typescript: -```typescript -import { commandModule, CommandType } from '@sern/handler'; - -export default commandModule({ - type: CommandType.Both, - plugins: [ - inDir("other"), - serenOnly() - ], - description: 'A ping command', - //alias : [], - execute: async (ctx, args) => { - await ctx.reply({ content: 'Pong 🏓' }); - }, -}); -``` -Javascript: -```typescript -const { commandModule, CommandType } = require('@sern/handler'); - -exports.default = commandModule({ - type: CommandType.Both, - plugins: [ - inDir("other"), - serenOnly() //The plugins in this section applied to this module! - ], - description: 'A ping command', - //alias : [], - execute: async (ctx, args) => { - await ctx.reply({ content: 'Pong 🏓' }); - }, -}); -``` Can you predict the behavior of this command? - Before loading into sern, this command module will check if this module is in the correct directory `other`. diff --git a/docs/guide/walkthrough/services.md b/docs/guide/walkthrough/services.md new file mode 100644 index 000000000..523556903 --- /dev/null +++ b/docs/guide/walkthrough/services.md @@ -0,0 +1,63 @@ +--- +sidebar_position: 6 +--- + +:::tip +This is version 3 api only!! +::: + +# Services + +:::tip +TLDR: The direct upgrade to useContainer. if you set up a bot with create-bot, check dependencies.d.ts. +Dependencies are the types that Services uses. +::: + +You need someway to use dependencies in your command module. Services to the rescue! +```ts title="src/dependencies.d.ts" +import { CoreDependencies, Singleton } from '@sern/handler' +import { Client } from 'discord.js' + +interface Dependencies extends CoreDependencies { + '@sern/client': Singleton +} + +``` +Recall, some keys in Dependencies are special. + +> Special key dependency must implement its contracts. +> - `@sern/client`: Your discord client. -> [Emitter](../../api/interfaces/Emitter) +> - `@sern/logger`: Log data -> [Logging](../../api/interfaces/Logging) +> - `@sern/errors`: Handling errors and lifetime -> [ErrorHandling](../../api/interfaces/ErrorHandling) +> - `@sern/modules`: Managing all command modules -> [ModuleManager](../../api/interfaces/ModuleManager) +> - `@sern/emitter`: is the key to emit events and occurences in a project -> [Emitter](../../api/interfaces/Emitter) + + +Lets try to access the client you provided. + +```ts title="src/commands/ping.ts" +import { Service } from '@sern/handler' + +export default commandModule({ + // ... + execute: (ctx) => { + //Client! + const client = Service('@sern/client'); + } + // +}) + +``` +## Safety +- Services can only be used after sern has made dependencies. + - Calling a service before will crash your application. +- Services can be safely used outside of commandModules. + - Be careful to not cause too many side effects. + + +## Related api +- use `Service` for single dependency. +- use `Services` for multiple dependencies. + + + diff --git a/docs/guide/walkthrough/transition.md b/docs/guide/walkthrough/transition.md index 6efc1e22d..b4dee8722 100644 --- a/docs/guide/walkthrough/transition.md +++ b/docs/guide/walkthrough/transition.md @@ -1,21 +1,16 @@ --- -sidebar_position: 1 +sidebar_position: 3 --- + # transition from v2 to v3 -:::warning -The "Node" moduleResolution is the only one that has been tested to work with sern. -::: -- Sern.makeDependencies -> makeDependencies - - it is asynchronous and top level function now. Make sure to await it before initing for proper synchronization. - - -```diff +```diff title="src/index.ts" - Sern.makeDependencies({ build: () => {} }) + await makeDependencies({ build: () => {} }) ``` -Also, v3 comes with the new Service api. To make sure to enable intellisense + +v3 comes with the new [Service api](../walkthrough/services). To make sure to enable intellisense include a dependencies.d.ts file into compilation. [Click here for all new features](../../../blog/3.0.0) ```ts /** @@ -42,13 +37,4 @@ A standard project file tree:
![file tree](../../../static/img/fs.png) -:::tip -Usually, you would use the create-bot tool. -For brand new bots, run -```sh -npm create @sern/bot -``` - -and follow the interactive prompts. -:::tip diff --git a/docs/intro.md b/docs/intro.md index 30db95bda..5161a62a4 100644 --- a/docs/intro.md +++ b/docs/intro.md @@ -4,7 +4,12 @@ sidebar_position: 0 # Welcome! +:::warning +Please read the [transition](./transition) page if you are moving from version 2 to version 3. +::: + ## Content +- [transition](../docs/guide/walkthrough/transition.md) for current users to transition bots to version 3. - [/docs/api](../docs/api) contains autogenerated documentation of our codebase using [typedoc](https://typedoc.org/) - [/docs/guide](../docs/guide) contains a basic startup guide and details to get started with sern faster! diff --git a/material-theme.zip b/material-theme.zip new file mode 100644 index 000000000..d57340646 Binary files /dev/null and b/material-theme.zip differ diff --git a/src/components/HomepageFeatures/index.js b/src/components/HomepageFeatures/index.js index bc853ab57..854caf95e 100644 --- a/src/components/HomepageFeatures/index.js +++ b/src/components/HomepageFeatures/index.js @@ -4,36 +4,35 @@ import styles from './styles.module.css'; const FeatureList = [ { - title: 'Batteries included', - Svg: require('@site/static/img/battery-svgrepo-com.svg').default, - description: ( - <> - Start or integrate a new project in minutes. - - ), - }, - { - title: 'Customizable', + title: 'Modular', + Svg: require('@site/static/img/puzzle-svgrepo-com.svg').default, description: ( <> - Extend or customize with community-based plugins to provide utilities, filters, and more. + Take apart, build, or customize code with ease to create robust bots. ), }, { - title: 'Modern', + title: 'Concise', Svg: require('@site/static/img/typescript-svgrepo-com.svg').default, description: ( <> - Uses modern and powerful tooling such as - swc, - tsup, - typescript, and - rxjs to future-proof and ensure project quality. + Commands are significantly smaller than other competitors. + Write impactful, concise code. ), }, + { + title: 'Familiar', + Svg: require('@site/static/img/battery-svgrepo-com.svg').default, + description: ( + <> + Code like a traditional command handler. Feels and looks like classic v12 command handlers. + + ), + }, + ]; function Feature({Svg, title, description}) { diff --git a/src/components/HomepageFeatures/styles.module.css b/src/components/HomepageFeatures/styles.module.css index b248eb2e5..f06fe436f 100644 --- a/src/components/HomepageFeatures/styles.module.css +++ b/src/components/HomepageFeatures/styles.module.css @@ -1,3 +1,4 @@ + .features { display: flex; align-items: center; diff --git a/src/css/custom.css b/src/css/custom.css index 41037e1c1..ca43e5897 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -6,20 +6,21 @@ /* You can override the default Infima variables here. */ :root { - --ifm-color-primary: #3d2d5e; + --ifm-color-primary: #ae2a55; --ifm-color-primary-dark: #372955; - --ifm-color-primary-darker: #342650; + /* darker is secondary color in material */ + --ifm-color-primary-darker: #385ca9; --ifm-color-primary-darkest: #2b2042; --ifm-color-primary-light: #433267; --ifm-color-primary-lighter: #46346c; - --ifm-color-primary-lightest: #3a2b59; - --ifm-background-color: #e7e6e8; + --ifm-color-primary-lightest: #d9e2ff; + --ifm-background-color: #fffbff; --ifm-code-font-size: 95%; --docusaurus-highlighted-code-line-bg: rgba(82, 78, 183, 0.2); --ifm-font-family-monospace: 'Fira Code', 'Meslo NGF', 'JetBrains Mono', 'Menlo', SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace; --ifm-font-family-base: Mulish, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji; - --ifm-navbar-background-color : #F25186 + --ifm-navbar-background-color: #ffd9df; } .footer--dark { @@ -29,14 +30,15 @@ /* For readability concerns, you should choose a lighter palette in dark mode. */ [data-theme='dark'] { - --ifm-color-primary: #f7dbf2; + --ifm-color-primary: #ffb1c1; --ifm-color-primary-dark: #efb5e4; - --ifm-color-primary-darker: #eaa2dd; + /* darker is secondary color in material */ + --ifm-color-primary-darker: #b0c6ff; --ifm-color-primary-darkest: #de69c9; --ifm-color-primary-light: #ffffff; --ifm-color-primary-lighter: #ffffff; --ifm-color-primary-lightest: #ffffff; --docusaurus-highlighted-code-line-bg: rgba(82, 78, 183, 0.3); --ifm-font-family-monospace: 'JetBrains Mono', 'Fira Code', 'Meslo NGF', 'Menlo', SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', monospace; - --ifm-navbar-background-color : #F25186 + --ifm-navbar-background-color :#66002a } diff --git a/src/pages/index.js b/src/pages/index.js index 8aab839f0..3a10cdfab 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -10,7 +10,7 @@ import styles from './index.module.css'; function HomepageHeader() { const { siteConfig } = useDocusaurusContext(); return ( -
+
@@ -52,7 +52,7 @@ export default function Home() { >
-
+
diff --git a/static/img/R.png b/static/img/R.png deleted file mode 100644 index ad1a862c5..000000000 Binary files a/static/img/R.png and /dev/null differ