diff --git a/.yarn/install-state.gz b/.yarn/install-state.gz index 7680ea3b0..e95f1be27 100644 Binary files a/.yarn/install-state.gz and b/.yarn/install-state.gz differ diff --git a/docs/api/classes/Context.md b/docs/api/classes/Context.md index eed2bb62f..df3a7172e 100644 --- a/docs/api/classes/Context.md +++ b/docs/api/classes/Context.md @@ -40,7 +40,7 @@ CoreContext\<Message, ChatInputCommandInteraction\>.constructor #### Defined in -[src/core/structures/context.ts:29](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/structures/context.ts#L29) +[src/core/structures/context.ts:29](https://github.com/sern-handler/handler/blob/2106522/src/core/structures/context.ts#L29) ## Properties @@ -54,7 +54,7 @@ CoreContext.ctx #### Defined in -[src/core/structures/context.ts:29](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/structures/context.ts#L29) +[src/core/structures/context.ts:29](https://github.com/sern-handler/handler/blob/2106522/src/core/structures/context.ts#L29) ## Accessors @@ -68,7 +68,7 @@ CoreContext.ctx #### Defined in -[src/core/structures/context.ts:39](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/structures/context.ts#L39) +[src/core/structures/context.ts:39](https://github.com/sern-handler/handler/blob/2106522/src/core/structures/context.ts#L39) ___ @@ -82,7 +82,7 @@ ___ #### Defined in -[src/core/structures/context.ts:45](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/structures/context.ts#L45) +[src/core/structures/context.ts:45](https://github.com/sern-handler/handler/blob/2106522/src/core/structures/context.ts#L45) ___ @@ -96,7 +96,7 @@ ___ #### Defined in -[src/core/structures/context.ts:91](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/structures/context.ts#L91) +[src/core/structures/context.ts:91](https://github.com/sern-handler/handler/blob/2106522/src/core/structures/context.ts#L91) ___ @@ -110,7 +110,7 @@ ___ #### Defined in -[src/core/structures/context.ts:65](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/structures/context.ts#L65) +[src/core/structures/context.ts:65](https://github.com/sern-handler/handler/blob/2106522/src/core/structures/context.ts#L65) ___ @@ -124,7 +124,7 @@ ___ #### Defined in -[src/core/structures/context.ts:71](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/structures/context.ts#L71) +[src/core/structures/context.ts:71](https://github.com/sern-handler/handler/blob/2106522/src/core/structures/context.ts#L71) ___ @@ -138,7 +138,7 @@ ___ #### Defined in -[src/core/structures/context.ts:77](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/structures/context.ts#L77) +[src/core/structures/context.ts:77](https://github.com/sern-handler/handler/blob/2106522/src/core/structures/context.ts#L77) ___ @@ -152,7 +152,7 @@ ___ #### Defined in -[src/core/structures/context.ts:33](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/structures/context.ts#L33) +[src/core/structures/context.ts:33](https://github.com/sern-handler/handler/blob/2106522/src/core/structures/context.ts#L33) ___ @@ -166,7 +166,7 @@ ___ #### Defined in -[src/core/structures/context.ts:97](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/structures/context.ts#L97) +[src/core/structures/context.ts:97](https://github.com/sern-handler/handler/blob/2106522/src/core/structures/context.ts#L97) ___ @@ -184,7 +184,7 @@ CoreContext.interaction #### Defined in -[src/core/structures/core-context.ts:15](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/structures/core-context.ts#L15) +[src/core/structures/core-context.ts:15](https://github.com/sern-handler/handler/blob/2106522/src/core/structures/core-context.ts#L15) ___ @@ -198,7 +198,7 @@ ___ #### Defined in -[src/core/structures/context.ts:85](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/structures/context.ts#L85) +[src/core/structures/context.ts:85](https://github.com/sern-handler/handler/blob/2106522/src/core/structures/context.ts#L85) ___ @@ -216,7 +216,7 @@ CoreContext.message #### Defined in -[src/core/structures/core-context.ts:12](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/structures/core-context.ts#L12) +[src/core/structures/core-context.ts:12](https://github.com/sern-handler/handler/blob/2106522/src/core/structures/core-context.ts#L12) ___ @@ -234,7 +234,7 @@ CoreContext.options #### Defined in -[src/core/structures/context.ts:26](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/structures/context.ts#L26) +[src/core/structures/context.ts:26](https://github.com/sern-handler/handler/blob/2106522/src/core/structures/context.ts#L26) ___ @@ -251,7 +251,7 @@ else, interaction.user #### Defined in -[src/core/structures/context.ts:55](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/structures/context.ts#L55) +[src/core/structures/context.ts:55](https://github.com/sern-handler/handler/blob/2106522/src/core/structures/context.ts#L55) ___ @@ -265,7 +265,7 @@ ___ #### Defined in -[src/core/structures/context.ts:61](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/structures/context.ts#L61) +[src/core/structures/context.ts:61](https://github.com/sern-handler/handler/blob/2106522/src/core/structures/context.ts#L61) ## Methods @@ -283,7 +283,7 @@ CoreContext.isMessage #### Defined in -[src/core/structures/core-context.ts:19](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/structures/core-context.ts#L19) +[src/core/structures/core-context.ts:19](https://github.com/sern-handler/handler/blob/2106522/src/core/structures/core-context.ts#L19) ___ @@ -301,7 +301,7 @@ CoreContext.isSlash #### Defined in -[src/core/structures/core-context.ts:23](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/structures/core-context.ts#L23) +[src/core/structures/core-context.ts:23](https://github.com/sern-handler/handler/blob/2106522/src/core/structures/core-context.ts#L23) ___ @@ -321,7 +321,7 @@ ___ #### Defined in -[src/core/structures/context.ts:103](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/structures/context.ts#L103) +[src/core/structures/context.ts:103](https://github.com/sern-handler/handler/blob/2106522/src/core/structures/context.ts#L103) ___ @@ -345,4 +345,4 @@ CoreContext.wrap #### Defined in -[src/core/structures/context.ts:113](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/structures/context.ts#L113) +[src/core/structures/context.ts:113](https://github.com/sern-handler/handler/blob/2106522/src/core/structures/context.ts#L113) diff --git a/docs/api/classes/DefaultErrorHandling.md b/docs/api/classes/DefaultErrorHandling.md index 7a819af7b..cee8b6aa7 100644 --- a/docs/api/classes/DefaultErrorHandling.md +++ b/docs/api/classes/DefaultErrorHandling.md @@ -33,7 +33,7 @@ Version 4.0.0 will internalize this api. Please refrain from using the defaults! #### Defined in -[src/core/structures/services/error-handling.ts:13](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/structures/services/error-handling.ts#L13) +[src/core/structures/services/error-handling.ts:13](https://github.com/sern-handler/handler/blob/2106522/src/core/structures/services/error-handling.ts#L13) ## Methods @@ -61,7 +61,7 @@ Version 4 will remove this method #### Defined in -[src/core/structures/services/error-handling.ts:9](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/structures/services/error-handling.ts#L9) +[src/core/structures/services/error-handling.ts:9](https://github.com/sern-handler/handler/blob/2106522/src/core/structures/services/error-handling.ts#L9) ___ @@ -87,4 +87,4 @@ A function that is called on every throw. #### Defined in -[src/core/structures/services/error-handling.ts:15](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/structures/services/error-handling.ts#L15) +[src/core/structures/services/error-handling.ts:15](https://github.com/sern-handler/handler/blob/2106522/src/core/structures/services/error-handling.ts#L15) diff --git a/docs/api/classes/DefaultLogging.md b/docs/api/classes/DefaultLogging.md index 951bc2325..b7d0ea69d 100644 --- a/docs/api/classes/DefaultLogging.md +++ b/docs/api/classes/DefaultLogging.md @@ -37,7 +37,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/9d5c6c7/src/core/structures/services/logger.ts#L9) +[src/core/structures/services/logger.ts:9](https://github.com/sern-handler/handler/blob/2106522/src/core/structures/services/logger.ts#L9) ___ @@ -61,7 +61,7 @@ ___ #### Defined in -[src/core/structures/services/logger.ts:10](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/structures/services/logger.ts#L10) +[src/core/structures/services/logger.ts:10](https://github.com/sern-handler/handler/blob/2106522/src/core/structures/services/logger.ts#L10) ___ @@ -85,7 +85,7 @@ ___ #### Defined in -[src/core/structures/services/logger.ts:14](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/structures/services/logger.ts#L14) +[src/core/structures/services/logger.ts:14](https://github.com/sern-handler/handler/blob/2106522/src/core/structures/services/logger.ts#L14) ___ @@ -109,7 +109,7 @@ ___ #### Defined in -[src/core/structures/services/logger.ts:18](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/structures/services/logger.ts#L18) +[src/core/structures/services/logger.ts:18](https://github.com/sern-handler/handler/blob/2106522/src/core/structures/services/logger.ts#L18) ___ @@ -133,4 +133,4 @@ ___ #### Defined in -[src/core/structures/services/logger.ts:22](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/structures/services/logger.ts#L22) +[src/core/structures/services/logger.ts:22](https://github.com/sern-handler/handler/blob/2106522/src/core/structures/services/logger.ts#L22) diff --git a/docs/api/classes/DefaultModuleManager.md b/docs/api/classes/DefaultModuleManager.md index c03de01c4..bc926a4ce 100644 --- a/docs/api/classes/DefaultModuleManager.md +++ b/docs/api/classes/DefaultModuleManager.md @@ -33,7 +33,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/9d5c6c7/src/core/structures/services/module-manager.ts#L12) +[src/core/structures/services/module-manager.ts:11](https://github.com/sern-handler/handler/blob/2106522/src/core/structures/services/module-manager.ts#L11) ## Properties @@ -43,13 +43,13 @@ 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/9d5c6c7/src/core/structures/services/module-manager.ts#L12) +[src/core/structures/services/module-manager.ts:11](https://github.com/sern-handler/handler/blob/2106522/src/core/structures/services/module-manager.ts#L11) ## Methods ### get -▸ **get**(`id`): `undefined` \| `string` +▸ **get**(`id`): `undefined` \| `Module` #### Parameters @@ -59,7 +59,7 @@ Version 4.0.0 will internalize this api. Please refrain from using DefaultModule #### Returns -`undefined` \| `string` +`undefined` \| `Module` #### Implementation of @@ -67,13 +67,13 @@ Version 4.0.0 will internalize this api. Please refrain from using DefaultModule #### Defined in -[src/core/structures/services/module-manager.ts:35](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/structures/services/module-manager.ts#L35) +[src/core/structures/services/module-manager.ts:34](https://github.com/sern-handler/handler/blob/2106522/src/core/structures/services/module-manager.ts#L34) ___ ### getByNameCommandType -▸ **getByNameCommandType**<`T`\>(`name`, `commandType`): `undefined` \| `Promise`<[`CommandModuleDefs`](../interfaces/CommandModuleDefs.md)[`T`]\> +▸ **getByNameCommandType**<`T`\>(`name`, `commandType`): `undefined` \| [`CommandModuleDefs`](../interfaces/CommandModuleDefs.md)[`T`] #### Type parameters @@ -90,7 +90,7 @@ ___ #### Returns -`undefined` \| `Promise`<[`CommandModuleDefs`](../interfaces/CommandModuleDefs.md)[`T`]\> +`undefined` \| [`CommandModuleDefs`](../interfaces/CommandModuleDefs.md)[`T`] #### Implementation of @@ -98,7 +98,7 @@ ___ #### Defined in -[src/core/structures/services/module-manager.ts:15](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/structures/services/module-manager.ts#L15) +[src/core/structures/services/module-manager.ts:14](https://github.com/sern-handler/handler/blob/2106522/src/core/structures/services/module-manager.ts#L14) ___ @@ -122,17 +122,19 @@ ___ #### Defined in -[src/core/structures/services/module-manager.ts:27](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/structures/services/module-manager.ts#L27) +[src/core/structures/services/module-manager.ts:26](https://github.com/sern-handler/handler/blob/2106522/src/core/structures/services/module-manager.ts#L26) ___ ### getPublishableCommands -▸ **getPublishableCommands**(): `Promise`<[`CommandModule`](../modules.md#commandmodule)[]\> +▸ **getPublishableCommands**(): [`CommandModule`](../modules.md#commandmodule)[] #### Returns -`Promise`<[`CommandModule`](../modules.md#commandmodule)[]\> +[`CommandModule`](../modules.md#commandmodule)[] + +**`Deprecated`** #### Implementation of @@ -140,7 +142,7 @@ ___ #### Defined in -[src/core/structures/services/module-manager.ts:42](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/structures/services/module-manager.ts#L42) +[src/core/structures/services/module-manager.ts:41](https://github.com/sern-handler/handler/blob/2106522/src/core/structures/services/module-manager.ts#L41) ___ @@ -153,7 +155,7 @@ ___ | Name | Type | | :------ | :------ | | `id` | `string` | -| `path` | `string` | +| `path` | [`CommandModule`](../modules.md#commandmodule) | #### Returns @@ -165,7 +167,7 @@ ___ #### Defined in -[src/core/structures/services/module-manager.ts:38](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/structures/services/module-manager.ts#L38) +[src/core/structures/services/module-manager.ts:37](https://github.com/sern-handler/handler/blob/2106522/src/core/structures/services/module-manager.ts#L37) ___ @@ -190,4 +192,4 @@ ___ #### Defined in -[src/core/structures/services/module-manager.ts:23](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/structures/services/module-manager.ts#L23) +[src/core/structures/services/module-manager.ts:22](https://github.com/sern-handler/handler/blob/2106522/src/core/structures/services/module-manager.ts#L22) diff --git a/docs/api/classes/ModuleStore.md b/docs/api/classes/ModuleStore.md index 5e367989a..6a72f18ed 100644 --- a/docs/api/classes/ModuleStore.md +++ b/docs/api/classes/ModuleStore.md @@ -6,12 +6,6 @@ sidebar_position: 0 custom_edit_url: null --- -Represents a core module store that stores IDs mapped to file paths. - -## Implements - -- [`CoreModuleStore`](../interfaces/CoreModuleStore.md) - ## Constructors ### constructor @@ -26,15 +20,11 @@ Represents a core module store that stores IDs mapped to file paths. ### commands -• **commands**: `Map`<`string`, `string`\> - -#### Implementation of - -[CoreModuleStore](../interfaces/CoreModuleStore.md).[commands](../interfaces/CoreModuleStore.md#commands) +• **commands**: `Map`<`string`, `Module`\> #### Defined in -[src/core/structures/module-store.ts:11](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/structures/module-store.ts#L11) +[src/core/structures/module-store.ts:10](https://github.com/sern-handler/handler/blob/2106522/src/core/structures/module-store.ts#L10) ___ @@ -42,10 +32,6 @@ ___ • **metadata**: `WeakMap`<`Module`, `CommandMeta`\> -#### Implementation of - -[CoreModuleStore](../interfaces/CoreModuleStore.md).[metadata](../interfaces/CoreModuleStore.md#metadata) - #### Defined in -[src/core/structures/module-store.ts:10](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/structures/module-store.ts#L10) +[src/core/structures/module-store.ts:9](https://github.com/sern-handler/handler/blob/2106522/src/core/structures/module-store.ts#L9) diff --git a/docs/api/enums/CommandType.md b/docs/api/enums/CommandType.md index ae3f36f76..4c8eedb15 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/9d5c6c7/src/core/structures/enums.ts#L20) +[src/core/structures/enums.ts:20](https://github.com/sern-handler/handler/blob/2106522/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/9d5c6c7/src/core/structures/enums.ts#L23) +[src/core/structures/enums.ts:23](https://github.com/sern-handler/handler/blob/2106522/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/9d5c6c7/src/core/structures/enums.ts#L29) +[src/core/structures/enums.ts:29](https://github.com/sern-handler/handler/blob/2106522/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/9d5c6c7/src/core/structures/enums.ts#L22) +[src/core/structures/enums.ts:22](https://github.com/sern-handler/handler/blob/2106522/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/9d5c6c7/src/core/structures/enums.ts#L21) +[src/core/structures/enums.ts:21](https://github.com/sern-handler/handler/blob/2106522/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/9d5c6c7/src/core/structures/enums.ts#L28) +[src/core/structures/enums.ts:28](https://github.com/sern-handler/handler/blob/2106522/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/9d5c6c7/src/core/structures/enums.ts#L25) +[src/core/structures/enums.ts:25](https://github.com/sern-handler/handler/blob/2106522/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/9d5c6c7/src/core/structures/enums.ts#L27) +[src/core/structures/enums.ts:27](https://github.com/sern-handler/handler/blob/2106522/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/9d5c6c7/src/core/structures/enums.ts#L19) +[src/core/structures/enums.ts:19](https://github.com/sern-handler/handler/blob/2106522/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/9d5c6c7/src/core/structures/enums.ts#L24) +[src/core/structures/enums.ts:24](https://github.com/sern-handler/handler/blob/2106522/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/9d5c6c7/src/core/structures/enums.ts#L18) +[src/core/structures/enums.ts:18](https://github.com/sern-handler/handler/blob/2106522/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/9d5c6c7/src/core/structures/enums.ts#L26) +[src/core/structures/enums.ts:26](https://github.com/sern-handler/handler/blob/2106522/src/core/structures/enums.ts#L26) diff --git a/docs/api/enums/EventType.md b/docs/api/enums/EventType.md index c93d7f102..ad5a19e0e 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/9d5c6c7/src/core/structures/enums.ts#L51) +[src/core/structures/enums.ts:51](https://github.com/sern-handler/handler/blob/2106522/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/9d5c6c7/src/core/structures/enums.ts#L60) +[src/core/structures/enums.ts:60](https://github.com/sern-handler/handler/blob/2106522/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/9d5c6c7/src/core/structures/enums.ts#L55) +[src/core/structures/enums.ts:55](https://github.com/sern-handler/handler/blob/2106522/src/core/structures/enums.ts#L55) diff --git a/docs/api/enums/PayloadType.md b/docs/api/enums/PayloadType.md index 9d2b1d1fb..63dd06230 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/9d5c6c7/src/core/structures/enums.ts#L98) +[src/core/structures/enums.ts:98](https://github.com/sern-handler/handler/blob/2106522/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/9d5c6c7/src/core/structures/enums.ts#L94) +[src/core/structures/enums.ts:94](https://github.com/sern-handler/handler/blob/2106522/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/9d5c6c7/src/core/structures/enums.ts#L102) +[src/core/structures/enums.ts:102](https://github.com/sern-handler/handler/blob/2106522/src/core/structures/enums.ts#L102) diff --git a/docs/api/enums/PluginType.md b/docs/api/enums/PluginType.md index e0d5b07c5..087d04ddd 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/9d5c6c7/src/core/structures/enums.ts#L85) +[src/core/structures/enums.ts:85](https://github.com/sern-handler/handler/blob/2106522/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/9d5c6c7/src/core/structures/enums.ts#L81) +[src/core/structures/enums.ts:81](https://github.com/sern-handler/handler/blob/2106522/src/core/structures/enums.ts#L81) diff --git a/docs/api/index.md b/docs/api/index.md index 74705dc2a..560e79ec8 100644 --- a/docs/api/index.md +++ b/docs/api/index.md @@ -50,26 +50,6 @@ export default commandModule({ }); ``` -
modal.ts - -```ts -export default commandModule({ - type: CommandType.Modal, - //Installed a plugin to make sure modal fields pass a validation. - plugins : [ - assertFields({ - fields: { - name: /^([^0-9]*)$/ - }, - failure: (errors, modal) => modal.reply('your submission did not pass the validations') - }) - ], - execute : (modal) => { - modal.reply('thanks for the submission!'); - } -}) -``` -
## 🤖 Bots Using sern - [Community Bot](https://github.com/sern-handler/sern-community), the community bot for our [discord server](https://sern.dev/discord). @@ -79,7 +59,8 @@ export default commandModule({ - [Murayama](https://github.com/murayamabot/murayama), :pepega: - [Protector (WIP)](https://github.com/needhamgary/Protector), Just a simple bot to help enhance a private minecraft server. - [SmokinWeed 💨](https://github.com/Peter-MJ-Parker/sern-bud), A fun bot for a small - but growing - server. - +- [Man Nomic](https://github.com/jacoobes/man-nomic), A simple information bot to provide information to the nomic-ai discord community. +- [Linear-Discord](https://github.com/sern-handler/linear-discord) Display and manage a linear dashboard. ## 💻 CLI It is **highly encouraged** to use the [command line interface](https://github.com/sern-handler/cli) for your project. Don't forget to view it. diff --git a/docs/api/interfaces/BothCommand.md b/docs/api/interfaces/BothCommand.md index f4f0f7046..6ca2f820a 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:126](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L126) +[src/types/core-modules.ts:125](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L125) ___ @@ -34,7 +34,7 @@ Module.description #### Defined in -[src/types/core-modules.ts:127](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L127) +[src/types/core-modules.ts:126](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L126) ___ @@ -63,7 +63,7 @@ Module.execute #### Defined in -[src/types/core-modules.ts:129](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L129) +[src/types/core-modules.ts:128](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L128) ___ @@ -77,7 +77,7 @@ Module.name #### Defined in -[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L34) +[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L33) ___ @@ -91,7 +91,7 @@ Module.onEvent #### Defined in -[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L35) +[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L34) ___ @@ -101,7 +101,7 @@ ___ #### Defined in -[src/types/core-modules.ts:128](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L128) +[src/types/core-modules.ts:127](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L127) ___ @@ -115,7 +115,7 @@ Module.plugins #### Defined in -[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L36) +[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L35) ___ @@ -129,4 +129,4 @@ Module.type #### Defined in -[src/types/core-modules.ts:125](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L125) +[src/types/core-modules.ts:124](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L124) diff --git a/docs/api/interfaces/ButtonCommand.md b/docs/api/interfaces/ButtonCommand.md index 1c8ba9180..aba69c137 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:37](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L37) +[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L36) ___ @@ -52,7 +52,7 @@ Module.execute #### Defined in -[src/types/core-modules.ts:66](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L66) +[src/types/core-modules.ts:65](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L65) ___ @@ -66,7 +66,7 @@ Module.name #### Defined in -[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L34) +[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L33) ___ @@ -80,7 +80,7 @@ Module.onEvent #### Defined in -[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L35) +[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L34) ___ @@ -94,7 +94,7 @@ Module.plugins #### Defined in -[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L36) +[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L35) ___ @@ -108,4 +108,4 @@ Module.type #### Defined in -[src/types/core-modules.ts:65](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L65) +[src/types/core-modules.ts:64](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L64) diff --git a/docs/api/interfaces/ChannelSelectCommand.md b/docs/api/interfaces/ChannelSelectCommand.md index b4c647218..3dfece3ea 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:37](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L37) +[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L36) ___ @@ -52,7 +52,7 @@ Module.execute #### Defined in -[src/types/core-modules.ts:76](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L76) +[src/types/core-modules.ts:75](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L75) ___ @@ -66,7 +66,7 @@ Module.name #### Defined in -[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L34) +[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L33) ___ @@ -80,7 +80,7 @@ Module.onEvent #### Defined in -[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L35) +[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L34) ___ @@ -94,7 +94,7 @@ Module.plugins #### Defined in -[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L36) +[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L35) ___ @@ -108,4 +108,4 @@ Module.type #### Defined in -[src/types/core-modules.ts:75](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L75) +[src/types/core-modules.ts:74](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L74) diff --git a/docs/api/interfaces/CommandModuleDefs.md b/docs/api/interfaces/CommandModuleDefs.md index a484931a1..d881aec39 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:151](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L151) +[src/types/core-modules.ts:150](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L150) ___ @@ -24,7 +24,7 @@ ___ #### Defined in -[src/types/core-modules.ts:159](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L159) +[src/types/core-modules.ts:158](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L158) ___ @@ -34,7 +34,7 @@ ___ #### Defined in -[src/types/core-modules.ts:161](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L161) +[src/types/core-modules.ts:160](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L160) ___ @@ -44,7 +44,7 @@ ___ #### Defined in -[src/types/core-modules.ts:156](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L156) +[src/types/core-modules.ts:155](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L155) ___ @@ -54,7 +54,7 @@ ___ #### Defined in -[src/types/core-modules.ts:152](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L152) +[src/types/core-modules.ts:151](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L151) ___ @@ -64,7 +64,7 @@ ___ #### Defined in -[src/types/core-modules.ts:158](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L158) +[src/types/core-modules.ts:157](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L157) ___ @@ -74,7 +74,7 @@ ___ #### Defined in -[src/types/core-modules.ts:153](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L153) +[src/types/core-modules.ts:152](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L152) ___ @@ -84,7 +84,7 @@ ___ #### Defined in -[src/types/core-modules.ts:157](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L157) +[src/types/core-modules.ts:156](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L156) ___ @@ -94,7 +94,7 @@ ___ #### Defined in -[src/types/core-modules.ts:155](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L155) +[src/types/core-modules.ts:154](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L154) ___ @@ -104,7 +104,7 @@ ___ #### Defined in -[src/types/core-modules.ts:160](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L160) +[src/types/core-modules.ts:159](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L159) ___ @@ -114,7 +114,7 @@ ___ #### Defined in -[src/types/core-modules.ts:162](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L162) +[src/types/core-modules.ts:161](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L161) ___ @@ -124,4 +124,4 @@ ___ #### Defined in -[src/types/core-modules.ts:154](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L154) +[src/types/core-modules.ts:153](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L153) diff --git a/docs/api/interfaces/ContextMenuMsg.md b/docs/api/interfaces/ContextMenuMsg.md index 95e8491b6..aba7bc1d0 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:37](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L37) +[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L36) ___ @@ -52,7 +52,7 @@ Module.execute #### Defined in -[src/types/core-modules.ts:61](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L61) +[src/types/core-modules.ts:60](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L60) ___ @@ -66,7 +66,7 @@ Module.name #### Defined in -[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L34) +[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L33) ___ @@ -80,7 +80,7 @@ Module.onEvent #### Defined in -[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L35) +[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L34) ___ @@ -94,7 +94,7 @@ Module.plugins #### Defined in -[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L36) +[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L35) ___ @@ -108,4 +108,4 @@ Module.type #### Defined in -[src/types/core-modules.ts:60](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L60) +[src/types/core-modules.ts:59](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L59) diff --git a/docs/api/interfaces/ContextMenuUser.md b/docs/api/interfaces/ContextMenuUser.md index 535a9e411..f1340abbd 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:37](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L37) +[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L36) ___ @@ -52,7 +52,7 @@ Module.execute #### Defined in -[src/types/core-modules.ts:56](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L56) +[src/types/core-modules.ts:55](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L55) ___ @@ -66,7 +66,7 @@ Module.name #### Defined in -[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L34) +[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L33) ___ @@ -80,7 +80,7 @@ Module.onEvent #### Defined in -[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L35) +[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L34) ___ @@ -94,7 +94,7 @@ Module.plugins #### Defined in -[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L36) +[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L35) ___ @@ -108,4 +108,4 @@ Module.type #### Defined in -[src/types/core-modules.ts:55](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L55) +[src/types/core-modules.ts:54](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L54) diff --git a/docs/api/interfaces/ControlPlugin.md b/docs/api/interfaces/ControlPlugin.md index 7d9df4d57..27f2db564 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/9d5c6c7/src/types/core-plugin.ts#L73) +[src/types/core-plugin.ts:73](https://github.com/sern-handler/handler/blob/2106522/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/9d5c6c7/src/types/core-plugin.ts#L72) +[src/types/core-plugin.ts:72](https://github.com/sern-handler/handler/blob/2106522/src/types/core-plugin.ts#L72) diff --git a/docs/api/interfaces/Controller.md b/docs/api/interfaces/Controller.md index fedf31f96..cb86a6650 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/9d5c6c7/src/types/core-plugin.ts#L59) +[src/types/core-plugin.ts:59](https://github.com/sern-handler/handler/blob/2106522/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/9d5c6c7/src/types/core-plugin.ts#L60) +[src/types/core-plugin.ts:60](https://github.com/sern-handler/handler/blob/2106522/src/types/core-plugin.ts#L60) diff --git a/docs/api/interfaces/CoreDependencies.md b/docs/api/interfaces/CoreDependencies.md index 7ff92aad1..abf07f4f0 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/9d5c6c7/src/types/ioc.ts#L28) +[src/types/ioc.ts:28](https://github.com/sern-handler/handler/blob/2106522/src/types/ioc.ts#L28) ___ @@ -40,7 +40,7 @@ ___ #### Defined in -[src/types/ioc.ts:30](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/ioc.ts#L30) +[src/types/ioc.ts:29](https://github.com/sern-handler/handler/blob/2106522/src/types/ioc.ts#L29) ___ @@ -58,7 +58,7 @@ ___ #### Defined in -[src/types/ioc.ts:33](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/ioc.ts#L33) +[src/types/ioc.ts:36](https://github.com/sern-handler/handler/blob/2106522/src/types/ioc.ts#L36) ___ @@ -76,7 +76,7 @@ ___ #### Defined in -[src/types/ioc.ts:29](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/ioc.ts#L29) +[src/types/ioc.ts:37](https://github.com/sern-handler/handler/blob/2106522/src/types/ioc.ts#L37) ___ @@ -94,7 +94,7 @@ ___ #### Defined in -[src/types/ioc.ts:32](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/ioc.ts#L32) +[src/types/ioc.ts:35](https://github.com/sern-handler/handler/blob/2106522/src/types/ioc.ts#L35) ___ @@ -110,6 +110,10 @@ ___ [`CoreModuleStore`](CoreModuleStore.md) +**`Deprecated`** + +Will be removed and turned internal + #### Defined in -[src/types/ioc.ts:31](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/ioc.ts#L31) +[src/types/ioc.ts:34](https://github.com/sern-handler/handler/blob/2106522/src/types/ioc.ts#L34) diff --git a/docs/api/interfaces/CoreModuleStore.md b/docs/api/interfaces/CoreModuleStore.md index 1b0d88e9c..f8f0b43ee 100644 --- a/docs/api/interfaces/CoreModuleStore.md +++ b/docs/api/interfaces/CoreModuleStore.md @@ -8,19 +8,15 @@ custom_edit_url: null Represents a core module store that stores IDs mapped to file paths. -## Implemented by - -- [`ModuleStore`](../classes/ModuleStore.md) - ## Properties ### commands -• **commands**: `Map`<`string`, `string`\> +• **commands**: `Map`<`string`, `Module`\> #### Defined in -[src/core/contracts/module-store.ts:7](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/contracts/module-store.ts#L7) +[src/core/contracts/module-store.ts:7](https://github.com/sern-handler/handler/blob/2106522/src/core/contracts/module-store.ts#L7) ___ @@ -30,4 +26,4 @@ ___ #### Defined in -[src/core/contracts/module-store.ts:8](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/contracts/module-store.ts#L8) +[src/core/contracts/module-store.ts:8](https://github.com/sern-handler/handler/blob/2106522/src/core/contracts/module-store.ts#L8) diff --git a/docs/api/interfaces/DiscordEventCommand.md b/docs/api/interfaces/DiscordEventCommand.md index 9e56483fc..59cdd0ee0 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:37](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L37) +[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L36) ___ @@ -44,7 +44,7 @@ Module.name #### Defined in -[src/types/core-modules.ts:107](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L107) +[src/types/core-modules.ts:106](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L106) ___ @@ -58,7 +58,7 @@ Module.onEvent #### Defined in -[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L35) +[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L34) ___ @@ -72,7 +72,7 @@ Module.plugins #### Defined in -[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L36) +[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L35) ___ @@ -86,7 +86,7 @@ Module.type #### Defined in -[src/types/core-modules.ts:108](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L108) +[src/types/core-modules.ts:107](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L107) ## Methods @@ -110,4 +110,4 @@ Module.execute #### Defined in -[src/types/core-modules.ts:109](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L109) +[src/types/core-modules.ts:108](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L108) diff --git a/docs/api/interfaces/Disposable.md b/docs/api/interfaces/Disposable.md index 219a571d9..137a764ef 100644 --- a/docs/api/interfaces/Disposable.md +++ b/docs/api/interfaces/Disposable.md @@ -21,4 +21,4 @@ Let dependencies implement this to dispose and cleanup. #### Defined in -[src/core/contracts/disposable.ts:8](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/contracts/disposable.ts#L8) +[src/core/contracts/hooks.ts:15](https://github.com/sern-handler/handler/blob/2106522/src/core/contracts/hooks.ts#L15) diff --git a/docs/api/interfaces/Emitter.md b/docs/api/interfaces/Emitter.md index ad2778bfb..37dc75721 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/9d5c6c7/src/core/contracts/emitter.ts#L4) +[src/core/contracts/emitter.ts:6](https://github.com/sern-handler/handler/blob/2106522/src/core/contracts/emitter.ts#L6) ___ @@ -46,7 +46,7 @@ ___ #### Defined in -[src/core/contracts/emitter.ts:6](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/contracts/emitter.ts#L6) +[src/core/contracts/emitter.ts:8](https://github.com/sern-handler/handler/blob/2106522/src/core/contracts/emitter.ts#L8) ___ @@ -67,4 +67,4 @@ ___ #### Defined in -[src/core/contracts/emitter.ts:5](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/contracts/emitter.ts#L5) +[src/core/contracts/emitter.ts:7](https://github.com/sern-handler/handler/blob/2106522/src/core/contracts/emitter.ts#L7) diff --git a/docs/api/interfaces/ErrorHandling.md b/docs/api/interfaces/ErrorHandling.md index 9810d98e2..3672272ea 100644 --- a/docs/api/interfaces/ErrorHandling.md +++ b/docs/api/interfaces/ErrorHandling.md @@ -36,7 +36,7 @@ Version 4 will remove this method #### Defined in -[src/core/contracts/error-handling.ts:11](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/contracts/error-handling.ts#L11) +[src/core/contracts/error-handling.ts:9](https://github.com/sern-handler/handler/blob/2106522/src/core/contracts/error-handling.ts#L9) ___ @@ -58,4 +58,4 @@ A function that is called on every throw. #### Defined in -[src/core/contracts/error-handling.ts:16](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/contracts/error-handling.ts#L16) +[src/core/contracts/error-handling.ts:14](https://github.com/sern-handler/handler/blob/2106522/src/core/contracts/error-handling.ts#L14) diff --git a/docs/api/interfaces/EventModuleDefs.md b/docs/api/interfaces/EventModuleDefs.md index a2ecfca91..ac829493b 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:167](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L167) +[src/types/core-modules.ts:166](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L166) ___ @@ -24,7 +24,7 @@ ___ #### Defined in -[src/types/core-modules.ts:166](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L166) +[src/types/core-modules.ts:165](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L165) ___ @@ -34,4 +34,4 @@ ___ #### Defined in -[src/types/core-modules.ts:168](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L168) +[src/types/core-modules.ts:167](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L167) diff --git a/docs/api/interfaces/ExternalEventCommand.md b/docs/api/interfaces/ExternalEventCommand.md index 231d31a63..1ee4a4a7f 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:37](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L37) +[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L36) ___ @@ -34,7 +34,7 @@ ___ #### Defined in -[src/types/core-modules.ts:49](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L49) +[src/types/core-modules.ts:48](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L48) ___ @@ -48,7 +48,7 @@ Module.name #### Defined in -[src/types/core-modules.ts:48](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L48) +[src/types/core-modules.ts:47](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L47) ___ @@ -62,7 +62,7 @@ Module.onEvent #### Defined in -[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L35) +[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L34) ___ @@ -76,7 +76,7 @@ Module.plugins #### Defined in -[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L36) +[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L35) ___ @@ -90,7 +90,7 @@ Module.type #### Defined in -[src/types/core-modules.ts:50](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L50) +[src/types/core-modules.ts:49](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L49) ## Methods @@ -114,4 +114,4 @@ Module.execute #### Defined in -[src/types/core-modules.ts:51](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L51) +[src/types/core-modules.ts:50](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L50) diff --git a/docs/api/interfaces/Init.md b/docs/api/interfaces/Init.md index 7a5a5ea42..787e3902b 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/9d5c6c7/src/core/contracts/init.ts#L8) +[src/core/contracts/hooks.ts:7](https://github.com/sern-handler/handler/blob/2106522/src/core/contracts/hooks.ts#L7) diff --git a/docs/api/interfaces/InitPlugin.md b/docs/api/interfaces/InitPlugin.md index 85f18620c..1e4ecfaf0 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/9d5c6c7/src/types/core-plugin.ts#L69) +[src/types/core-plugin.ts:69](https://github.com/sern-handler/handler/blob/2106522/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/9d5c6c7/src/types/core-plugin.ts#L68) +[src/types/core-plugin.ts:68](https://github.com/sern-handler/handler/blob/2106522/src/types/core-plugin.ts#L68) diff --git a/docs/api/interfaces/Logging.md b/docs/api/interfaces/Logging.md index 822d87d67..168e6e801 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/9d5c6c7/src/core/contracts/logging.ts#L8) +[src/core/contracts/logging.ts:8](https://github.com/sern-handler/handler/blob/2106522/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/9d5c6c7/src/core/contracts/logging.ts#L5) +[src/core/contracts/logging.ts:5](https://github.com/sern-handler/handler/blob/2106522/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/9d5c6c7/src/core/contracts/logging.ts#L7) +[src/core/contracts/logging.ts:7](https://github.com/sern-handler/handler/blob/2106522/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/9d5c6c7/src/core/contracts/logging.ts#L6) +[src/core/contracts/logging.ts:6](https://github.com/sern-handler/handler/blob/2106522/src/core/contracts/logging.ts#L6) diff --git a/docs/api/interfaces/MentionableSelectCommand.md b/docs/api/interfaces/MentionableSelectCommand.md index 5c29fd882..306c1af5b 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:37](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L37) +[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L36) ___ @@ -52,7 +52,7 @@ Module.execute #### Defined in -[src/types/core-modules.ts:86](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L86) +[src/types/core-modules.ts:85](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L85) ___ @@ -66,7 +66,7 @@ Module.name #### Defined in -[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L34) +[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L33) ___ @@ -80,7 +80,7 @@ Module.onEvent #### Defined in -[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L35) +[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L34) ___ @@ -94,7 +94,7 @@ Module.plugins #### Defined in -[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L36) +[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L35) ___ @@ -108,4 +108,4 @@ Module.type #### Defined in -[src/types/core-modules.ts:85](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L85) +[src/types/core-modules.ts:84](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L84) diff --git a/docs/api/interfaces/ModalSubmitCommand.md b/docs/api/interfaces/ModalSubmitCommand.md index 179162085..b383022f2 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:37](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L37) +[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L36) ___ @@ -52,7 +52,7 @@ Module.execute #### Defined in -[src/types/core-modules.ts:96](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L96) +[src/types/core-modules.ts:95](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L95) ___ @@ -66,7 +66,7 @@ Module.name #### Defined in -[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L34) +[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L33) ___ @@ -80,7 +80,7 @@ Module.onEvent #### Defined in -[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L35) +[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L34) ___ @@ -94,7 +94,7 @@ Module.plugins #### Defined in -[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L36) +[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L35) ___ @@ -108,4 +108,4 @@ Module.type #### Defined in -[src/types/core-modules.ts:95](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L95) +[src/types/core-modules.ts:94](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L94) diff --git a/docs/api/interfaces/ModuleManager.md b/docs/api/interfaces/ModuleManager.md index 5569940d6..ea3045e3b 100644 --- a/docs/api/interfaces/ModuleManager.md +++ b/docs/api/interfaces/ModuleManager.md @@ -25,7 +25,7 @@ custom_edit_url: null ### get -▸ **get**(`id`): `undefined` \| `string` +▸ **get**(`id`): `undefined` \| `Module` #### Parameters @@ -35,17 +35,17 @@ custom_edit_url: null #### Returns -`undefined` \| `string` +`undefined` \| `Module` #### Defined in -[src/core/contracts/module-manager.ts:19](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/contracts/module-manager.ts#L19) +[src/core/contracts/module-manager.ts:19](https://github.com/sern-handler/handler/blob/2106522/src/core/contracts/module-manager.ts#L19) ___ ### getByNameCommandType -▸ **getByNameCommandType**<`T`\>(`name`, `commandType`): `undefined` \| `Promise`<[`CommandModuleDefs`](CommandModuleDefs.md)[`T`]\> +▸ **getByNameCommandType**<`T`\>(`name`, `commandType`): `undefined` \| [`CommandModuleDefs`](CommandModuleDefs.md)[`T`] #### Type parameters @@ -62,11 +62,11 @@ ___ #### Returns -`undefined` \| `Promise`<[`CommandModuleDefs`](CommandModuleDefs.md)[`T`]\> +`undefined` \| [`CommandModuleDefs`](CommandModuleDefs.md)[`T`] #### Defined in -[src/core/contracts/module-manager.ts:23](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/contracts/module-manager.ts#L23) +[src/core/contracts/module-manager.ts:30](https://github.com/sern-handler/handler/blob/2106522/src/core/contracts/module-manager.ts#L30) ___ @@ -90,21 +90,23 @@ MetadataAccess.getMetadata #### Defined in -[src/core/contracts/module-manager.ts:10](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/contracts/module-manager.ts#L10) +[src/core/contracts/module-manager.ts:10](https://github.com/sern-handler/handler/blob/2106522/src/core/contracts/module-manager.ts#L10) ___ ### getPublishableCommands -▸ **getPublishableCommands**(): `Promise`<[`CommandModule`](../modules.md#commandmodule)[]\> +▸ **getPublishableCommands**(): [`CommandModule`](../modules.md#commandmodule)[] #### Returns -`Promise`<[`CommandModule`](../modules.md#commandmodule)[]\> +[`CommandModule`](../modules.md#commandmodule)[] + +**`Deprecated`** #### Defined in -[src/core/contracts/module-manager.ts:22](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/contracts/module-manager.ts#L22) +[src/core/contracts/module-manager.ts:25](https://github.com/sern-handler/handler/blob/2106522/src/core/contracts/module-manager.ts#L25) ___ @@ -117,7 +119,7 @@ ___ | Name | Type | | :------ | :------ | | `id` | `string` | -| `path` | `string` | +| `path` | `Module` | #### Returns @@ -125,7 +127,7 @@ ___ #### Defined in -[src/core/contracts/module-manager.ts:21](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/contracts/module-manager.ts#L21) +[src/core/contracts/module-manager.ts:21](https://github.com/sern-handler/handler/blob/2106522/src/core/contracts/module-manager.ts#L21) ___ @@ -150,4 +152,4 @@ MetadataAccess.setMetadata #### Defined in -[src/core/contracts/module-manager.ts:11](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/contracts/module-manager.ts#L11) +[src/core/contracts/module-manager.ts:11](https://github.com/sern-handler/handler/blob/2106522/src/core/contracts/module-manager.ts#L11) diff --git a/docs/api/interfaces/Plugin.md b/docs/api/interfaces/Plugin.md index 615796ee8..bb864be75 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/9d5c6c7/src/types/core-plugin.ts#L64) +[src/types/core-plugin.ts:64](https://github.com/sern-handler/handler/blob/2106522/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/9d5c6c7/src/types/core-plugin.ts#L63) +[src/types/core-plugin.ts:63](https://github.com/sern-handler/handler/blob/2106522/src/types/core-plugin.ts#L63) diff --git a/docs/api/interfaces/Presence.Result.md b/docs/api/interfaces/Presence.Result.md index 1c6b9a340..d48be2a4e 100644 --- a/docs/api/interfaces/Presence.Result.md +++ b/docs/api/interfaces/Presence.Result.md @@ -15,7 +15,7 @@ custom_edit_url: null #### Defined in -[src/core/presences.ts:11](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/presences.ts#L11) +[src/core/presences.ts:11](https://github.com/sern-handler/handler/blob/2106522/src/core/presences.ts#L11) ___ @@ -25,7 +25,7 @@ ___ #### Defined in -[src/core/presences.ts:10](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/presences.ts#L10) +[src/core/presences.ts:10](https://github.com/sern-handler/handler/blob/2106522/src/core/presences.ts#L10) ___ @@ -49,7 +49,7 @@ ___ #### Defined in -[src/core/presences.ts:14](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/presences.ts#L14) +[src/core/presences.ts:14](https://github.com/sern-handler/handler/blob/2106522/src/core/presences.ts#L14) ___ @@ -59,7 +59,7 @@ ___ #### Defined in -[src/core/presences.ts:13](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/presences.ts#L13) +[src/core/presences.ts:13](https://github.com/sern-handler/handler/blob/2106522/src/core/presences.ts#L13) ___ @@ -69,7 +69,7 @@ ___ #### Defined in -[src/core/presences.ts:12](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/presences.ts#L12) +[src/core/presences.ts:12](https://github.com/sern-handler/handler/blob/2106522/src/core/presences.ts#L12) ___ @@ -79,4 +79,4 @@ ___ #### Defined in -[src/core/presences.ts:9](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/presences.ts#L9) +[src/core/presences.ts:9](https://github.com/sern-handler/handler/blob/2106522/src/core/presences.ts#L9) diff --git a/docs/api/interfaces/RoleSelectCommand.md b/docs/api/interfaces/RoleSelectCommand.md index 26b4c9305..fdba10f8f 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:37](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L37) +[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L36) ___ @@ -52,7 +52,7 @@ Module.execute #### Defined in -[src/types/core-modules.ts:81](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L81) +[src/types/core-modules.ts:80](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L80) ___ @@ -66,7 +66,7 @@ Module.name #### Defined in -[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L34) +[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L33) ___ @@ -80,7 +80,7 @@ Module.onEvent #### Defined in -[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L35) +[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L34) ___ @@ -94,7 +94,7 @@ Module.plugins #### Defined in -[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L36) +[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L35) ___ @@ -108,4 +108,4 @@ Module.type #### Defined in -[src/types/core-modules.ts:80](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L80) +[src/types/core-modules.ts:79](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L79) diff --git a/docs/api/interfaces/SernAutocompleteData.md b/docs/api/interfaces/SernAutocompleteData.md index 0d8584829..e7035e970 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:173](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L173) +[src/types/core-modules.ts:172](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L172) ___ @@ -30,7 +30,7 @@ ___ #### Defined in -[src/types/core-modules.ts:178](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L178) +[src/types/core-modules.ts:177](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L177) ___ @@ -110,4 +110,4 @@ ___ #### Defined in -[src/types/core-modules.ts:174](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L174) +[src/types/core-modules.ts:173](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L173) diff --git a/docs/api/interfaces/SernEventCommand.md b/docs/api/interfaces/SernEventCommand.md index f31ed9a42..d3eff1ea0 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:37](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L37) +[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L36) ___ @@ -44,7 +44,7 @@ Module.name #### Defined in -[src/types/core-modules.ts:43](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L43) +[src/types/core-modules.ts:42](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L42) ___ @@ -58,7 +58,7 @@ Module.onEvent #### Defined in -[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L35) +[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L34) ___ @@ -72,7 +72,7 @@ Module.plugins #### Defined in -[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L36) +[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L35) ___ @@ -86,7 +86,7 @@ Module.type #### Defined in -[src/types/core-modules.ts:44](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L44) +[src/types/core-modules.ts:43](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L43) ## Methods @@ -110,4 +110,4 @@ Module.execute #### Defined in -[src/types/core-modules.ts:45](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L45) +[src/types/core-modules.ts:44](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L44) diff --git a/docs/api/interfaces/SernEventsMapping.md b/docs/api/interfaces/SernEventsMapping.md index 1c5d2828f..f3a4405e9 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/9d5c6c7/src/types/utility.ts#L21) +[src/types/utility.ts:21](https://github.com/sern-handler/handler/blob/2106522/src/types/utility.ts#L21) ___ @@ -24,7 +24,7 @@ ___ #### Defined in -[src/types/utility.ts:20](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/utility.ts#L20) +[src/types/utility.ts:20](https://github.com/sern-handler/handler/blob/2106522/src/types/utility.ts#L20) ___ @@ -34,7 +34,7 @@ ___ #### Defined in -[src/types/utility.ts:19](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/utility.ts#L19) +[src/types/utility.ts:19](https://github.com/sern-handler/handler/blob/2106522/src/types/utility.ts#L19) ___ @@ -44,7 +44,7 @@ ___ #### Defined in -[src/types/utility.ts:23](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/utility.ts#L23) +[src/types/utility.ts:23](https://github.com/sern-handler/handler/blob/2106522/src/types/utility.ts#L23) ___ @@ -54,4 +54,4 @@ ___ #### Defined in -[src/types/utility.ts:22](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/utility.ts#L22) +[src/types/utility.ts:22](https://github.com/sern-handler/handler/blob/2106522/src/types/utility.ts#L22) diff --git a/docs/api/interfaces/SernSubCommandData.md b/docs/api/interfaces/SernSubCommandData.md index 9c9c5e621..07330de79 100644 --- a/docs/api/interfaces/SernSubCommandData.md +++ b/docs/api/interfaces/SernSubCommandData.md @@ -76,7 +76,7 @@ ___ #### Defined in -[src/types/core-modules.ts:210](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L210) +[src/types/core-modules.ts:209](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L209) ___ @@ -104,4 +104,4 @@ APIApplicationCommandOptionBase.type #### Defined in -[src/types/core-modules.ts:209](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L209) +[src/types/core-modules.ts:208](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L208) diff --git a/docs/api/interfaces/SernSubCommandGroupData.md b/docs/api/interfaces/SernSubCommandGroupData.md index b686f02ef..53b84518d 100644 --- a/docs/api/interfaces/SernSubCommandGroupData.md +++ b/docs/api/interfaces/SernSubCommandGroupData.md @@ -90,7 +90,7 @@ ___ #### Defined in -[src/types/core-modules.ts:215](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L215) +[src/types/core-modules.ts:214](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L214) ___ @@ -114,4 +114,4 @@ ___ #### Defined in -[src/types/core-modules.ts:214](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L214) +[src/types/core-modules.ts:213](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L213) diff --git a/docs/api/interfaces/SlashCommand.md b/docs/api/interfaces/SlashCommand.md index fe20f391d..1d949142a 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:119](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L119) +[src/types/core-modules.ts:118](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L118) ___ @@ -53,7 +53,7 @@ Module.execute #### Defined in -[src/types/core-modules.ts:121](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L121) +[src/types/core-modules.ts:120](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L120) ___ @@ -67,7 +67,7 @@ Module.name #### Defined in -[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L34) +[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L33) ___ @@ -81,7 +81,7 @@ Module.onEvent #### Defined in -[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L35) +[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L34) ___ @@ -91,7 +91,7 @@ ___ #### Defined in -[src/types/core-modules.ts:120](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L120) +[src/types/core-modules.ts:119](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L119) ___ @@ -105,7 +105,7 @@ Module.plugins #### Defined in -[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L36) +[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L35) ___ @@ -119,4 +119,4 @@ Module.type #### Defined in -[src/types/core-modules.ts:118](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L118) +[src/types/core-modules.ts:117](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L117) diff --git a/docs/api/interfaces/StringSelectCommand.md b/docs/api/interfaces/StringSelectCommand.md index 534df2467..7716d1d9b 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:37](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L37) +[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L36) ___ @@ -52,7 +52,7 @@ Module.execute #### Defined in -[src/types/core-modules.ts:71](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L71) +[src/types/core-modules.ts:70](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L70) ___ @@ -66,7 +66,7 @@ Module.name #### Defined in -[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L34) +[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L33) ___ @@ -80,7 +80,7 @@ Module.onEvent #### Defined in -[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L35) +[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L34) ___ @@ -94,7 +94,7 @@ Module.plugins #### Defined in -[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L36) +[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L35) ___ @@ -108,4 +108,4 @@ Module.type #### Defined in -[src/types/core-modules.ts:70](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L70) +[src/types/core-modules.ts:69](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L69) diff --git a/docs/api/interfaces/TextCommand.md b/docs/api/interfaces/TextCommand.md index 98efac2d5..74e9fa435 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:113](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L113) +[src/types/core-modules.ts:112](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L112) ___ @@ -34,7 +34,7 @@ Module.description #### Defined in -[src/types/core-modules.ts:37](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L37) +[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L36) ___ @@ -63,7 +63,7 @@ Module.execute #### Defined in -[src/types/core-modules.ts:114](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L114) +[src/types/core-modules.ts:113](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L113) ___ @@ -77,7 +77,7 @@ Module.name #### Defined in -[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L34) +[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L33) ___ @@ -91,7 +91,7 @@ Module.onEvent #### Defined in -[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L35) +[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L34) ___ @@ -105,7 +105,7 @@ Module.plugins #### Defined in -[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L36) +[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L35) ___ @@ -119,4 +119,4 @@ Module.type #### Defined in -[src/types/core-modules.ts:112](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L112) +[src/types/core-modules.ts:111](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L111) diff --git a/docs/api/interfaces/UserSelectCommand.md b/docs/api/interfaces/UserSelectCommand.md index f876662cd..9a4dfb881 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:37](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L37) +[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L36) ___ @@ -52,7 +52,7 @@ Module.execute #### Defined in -[src/types/core-modules.ts:91](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L91) +[src/types/core-modules.ts:90](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L90) ___ @@ -66,7 +66,7 @@ Module.name #### Defined in -[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L34) +[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L33) ___ @@ -80,7 +80,7 @@ Module.onEvent #### Defined in -[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L35) +[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L34) ___ @@ -94,7 +94,7 @@ Module.plugins #### Defined in -[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L36) +[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L35) ___ @@ -108,4 +108,4 @@ Module.type #### Defined in -[src/types/core-modules.ts:90](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L90) +[src/types/core-modules.ts:89](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L89) diff --git a/docs/api/interfaces/Wrapper.md b/docs/api/interfaces/Wrapper.md index 80f78d00a..0cde01140 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:9](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core.ts#L9) +[src/types/core.ts:9](https://github.com/sern-handler/handler/blob/2106522/src/types/core.ts#L9) ___ @@ -30,7 +30,7 @@ ___ #### Defined in -[src/types/core.ts:20](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core.ts#L20) +[src/types/core.ts:20](https://github.com/sern-handler/handler/blob/2106522/src/types/core.ts#L20) ___ @@ -40,7 +40,7 @@ ___ #### Defined in -[src/types/core.ts:10](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core.ts#L10) +[src/types/core.ts:10](https://github.com/sern-handler/handler/blob/2106522/src/types/core.ts#L10) ___ @@ -50,7 +50,7 @@ ___ #### Defined in -[src/types/core.ts:11](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core.ts#L11) +[src/types/core.ts:11](https://github.com/sern-handler/handler/blob/2106522/src/types/core.ts#L11) ___ @@ -66,4 +66,4 @@ Overload to enable mode in case developer does not use a .env file. #### Defined in -[src/types/core.ts:16](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core.ts#L16) +[src/types/core.ts:16](https://github.com/sern-handler/handler/blob/2106522/src/types/core.ts#L16) diff --git a/docs/api/modules.md b/docs/api/modules.md index 14472289c..18fb92c4e 100644 --- a/docs/api/modules.md +++ b/docs/api/modules.md @@ -20,14 +20,11 @@ custom_edit_url: null ## Classes -- [CommandExecutable](classes/CommandExecutable.md) - [Context](classes/Context.md) - [DefaultErrorHandling](classes/DefaultErrorHandling.md) - [DefaultLogging](classes/DefaultLogging.md) - [DefaultModuleManager](classes/DefaultModuleManager.md) -- [EventExecutable](classes/EventExecutable.md) - [ModuleStore](classes/ModuleStore.md) -- [SernEmitter](classes/SernEmitter.md) ## Interfaces @@ -74,7 +71,7 @@ custom_edit_url: null #### Defined in -[src/types/core-plugin.ts:76](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-plugin.ts#L76) +[src/types/core-plugin.ts:76](https://github.com/sern-handler/handler/blob/2106522/src/types/core-plugin.ts#L76) ___ @@ -84,7 +81,7 @@ ___ #### Defined in -[src/types/core-plugin.ts:77](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-plugin.ts#L77) +[src/types/core-plugin.ts:77](https://github.com/sern-handler/handler/blob/2106522/src/types/core-plugin.ts#L77) ___ @@ -94,7 +91,7 @@ ___ #### Defined in -[src/types/utility.ts:16](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/utility.ts#L16) +[src/types/utility.ts:16](https://github.com/sern-handler/handler/blob/2106522/src/types/utility.ts#L16) ___ @@ -104,7 +101,7 @@ ___ #### Defined in -[src/types/core-modules.ts:133](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L133) +[src/types/core-modules.ts:132](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L132) ___ @@ -114,7 +111,7 @@ ___ #### Defined in -[src/types/core-modules.ts:132](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L132) +[src/types/core-modules.ts:131](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L131) ___ @@ -133,7 +130,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/9d5c6c7/src/types/ioc.ts#L17) +[src/types/ioc.ts:17](https://github.com/sern-handler/handler/blob/2106522/src/types/ioc.ts#L17) ___ @@ -155,7 +152,7 @@ ___ #### Defined in -[src/core/contracts/logging.ts:11](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/contracts/logging.ts#L11) +[src/core/contracts/logging.ts:11](https://github.com/sern-handler/handler/blob/2106522/src/core/contracts/logging.ts#L11) ___ @@ -165,7 +162,7 @@ ___ #### Defined in -[src/types/utility.ts:26](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/utility.ts#L26) +[src/types/utility.ts:26](https://github.com/sern-handler/handler/blob/2106522/src/types/utility.ts#L26) ___ @@ -175,7 +172,7 @@ ___ #### Defined in -[src/types/core-plugin.ts:51](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-plugin.ts#L51) +[src/types/core-plugin.ts:51](https://github.com/sern-handler/handler/blob/2106522/src/types/core-plugin.ts#L51) ___ @@ -187,7 +184,7 @@ Type that replaces autocomplete with [SernAutocompleteData](interfaces/SernAutoc #### Defined in -[src/types/core-modules.ts:201](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/core-modules.ts#L201) +[src/types/core-modules.ts:200](https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L200) ___ @@ -214,7 +211,7 @@ T is created once and lazily. #### Defined in -[src/types/ioc.ts:7](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/ioc.ts#L7) +[src/types/ioc.ts:7](https://github.com/sern-handler/handler/blob/2106522/src/types/ioc.ts#L7) ___ @@ -224,7 +221,7 @@ ___ #### Defined in -[src/types/utility.ts:14](https://github.com/sern-handler/handler/blob/9d5c6c7/src/types/utility.ts#L14) +[src/types/utility.ts:14](https://github.com/sern-handler/handler/blob/2106522/src/types/utility.ts#L14) ___ @@ -257,7 +254,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/9d5c6c7/src/types/ioc.ts#L12) +[src/types/ioc.ts:12](https://github.com/sern-handler/handler/blob/2106522/src/types/ioc.ts#L12) ## Variables @@ -279,7 +276,7 @@ The object passed into every plugin to control a command's behavior #### Defined in -[src/core/create-plugins.ts:69](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/create-plugins.ts#L69) +[src/core/create-plugins.ts:69](https://github.com/sern-handler/handler/blob/2106522/src/core/create-plugins.ts#L69) ## Functions @@ -310,7 +307,7 @@ The object passed into every plugin to control a command's behavior #### Defined in -[src/core/create-plugins.ts:37](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/create-plugins.ts#L37) +[src/core/create-plugins.ts:37](https://github.com/sern-handler/handler/blob/2106522/src/core/create-plugins.ts#L37) ___ @@ -341,7 +338,7 @@ ___ #### Defined in -[src/core/create-plugins.ts:28](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/create-plugins.ts#L28) +[src/core/create-plugins.ts:28](https://github.com/sern-handler/handler/blob/2106522/src/core/create-plugins.ts#L28) ___ @@ -377,7 +374,7 @@ Will probably be moved one day! #### Defined in -[src/core/create-plugins.ts:58](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/create-plugins.ts#L58) +[src/core/create-plugins.ts:58](https://github.com/sern-handler/handler/blob/2106522/src/core/create-plugins.ts#L58) ___ @@ -408,7 +405,7 @@ ___ #### Defined in -[src/core/create-plugins.ts:46](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/create-plugins.ts#L46) +[src/core/create-plugins.ts:46](https://github.com/sern-handler/handler/blob/2106522/src/core/create-plugins.ts#L46) ___ @@ -439,7 +436,7 @@ ___ #### Defined in -[src/core/create-plugins.ts:19](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/create-plugins.ts#L19) +[src/core/create-plugins.ts:19](https://github.com/sern-handler/handler/blob/2106522/src/core/create-plugins.ts#L19) ___ @@ -450,6 +447,7 @@ ___ The new Service api, a cleaner alternative to useContainer To obtain intellisense, ensure a .d.ts file exists in the root of compilation. Usually our scaffolding tool takes care of this. +Note: this method only works AFTER your container has been initiated #### Type parameters @@ -479,7 +477,7 @@ const client = Service('@sern/client'); #### Defined in -[src/core/ioc/dependency-injection.ts:36](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/ioc/dependency-injection.ts#L36) +[src/core/ioc/dependency-injection.ts:37](https://github.com/sern-handler/handler/blob/2106522/src/core/ioc/dependency-injection.ts#L37) ___ @@ -512,7 +510,7 @@ The plural version of [Service](modules.md#service) #### Defined in -[src/core/ioc/dependency-injection.ts:44](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/ioc/dependency-injection.ts#L44) +[src/core/ioc/dependency-injection.ts:47](https://github.com/sern-handler/handler/blob/2106522/src/core/ioc/dependency-injection.ts#L47) ___ @@ -536,7 +534,7 @@ ___ #### Defined in -[src/core/modules.ts:25](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/modules.ts#L25) +[src/core/modules.ts:19](https://github.com/sern-handler/handler/blob/2106522/src/core/modules.ts#L19) ___ @@ -571,7 +569,7 @@ where typings can be very bad. #### Defined in -[src/core/modules.ts:53](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/modules.ts#L53) +[src/core/modules.ts:47](https://github.com/sern-handler/handler/blob/2106522/src/core/modules.ts#L47) ___ @@ -596,7 +594,7 @@ The wrapper function to define event modules for sern #### Defined in -[src/core/modules.ts:38](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/modules.ts#L38) +[src/core/modules.ts:32](https://github.com/sern-handler/handler/blob/2106522/src/core/modules.ts#L32) ___ @@ -622,7 +620,7 @@ ___ #### Defined in -[src/core/ioc/base.ts:90](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/ioc/base.ts#L90) +[src/core/ioc/base.ts:144](https://github.com/sern-handler/handler/blob/2106522/src/core/ioc/base.ts#L144) ___ @@ -649,7 +647,7 @@ ___ #### Defined in -[src/core/create-plugins.ts:6](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/create-plugins.ts#L6) +[src/core/create-plugins.ts:6](https://github.com/sern-handler/handler/blob/2106522/src/core/create-plugins.ts#L6) ___ @@ -688,7 +686,7 @@ Creates a singleton object. #### Defined in -[src/core/ioc/dependency-injection.ts:11](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/ioc/dependency-injection.ts#L11) +[src/core/ioc/dependency-injection.ts:11](https://github.com/sern-handler/handler/blob/2106522/src/core/ioc/dependency-injection.ts#L11) ___ @@ -733,24 +731,4 @@ Creates a transient object #### Defined in -[src/core/ioc/dependency-injection.ts:21](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/ioc/dependency-injection.ts#L21) - -___ - -### useContainerRaw - -▸ **useContainerRaw**(): `CoreContainer`<`Partial`<`Dependencies`\>\> - -#### Returns - -`CoreContainer`<`Partial`<`Dependencies`\>\> - -**`Deprecated`** - -Returns the underlying data structure holding all dependencies. -Exposes methods from iti -Use the Service API. The container should be readonly - -#### Defined in - -[src/core/ioc/base.ts:18](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/ioc/base.ts#L18) +[src/core/ioc/dependency-injection.ts:21](https://github.com/sern-handler/handler/blob/2106522/src/core/ioc/dependency-injection.ts#L21) diff --git a/docs/api/namespaces/Presence.md b/docs/api/namespaces/Presence.md index 904be8ed4..4b2243661 100644 --- a/docs/api/namespaces/Presence.md +++ b/docs/api/namespaces/Presence.md @@ -31,7 +31,7 @@ custom_edit_url: null #### Defined in -[src/core/presences.ts:17](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/presences.ts#L17) +[src/core/presences.ts:17](https://github.com/sern-handler/handler/blob/2106522/src/core/presences.ts#L17) ## Functions @@ -61,7 +61,7 @@ adjacent to the file where **Sern.init** is CALLED. #### Defined in -[src/core/presences.ts:28](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/presences.ts#L28) +[src/core/presences.ts:28](https://github.com/sern-handler/handler/blob/2106522/src/core/presences.ts#L28) ___ @@ -90,4 +90,4 @@ Create a Presence body which can be either: #### Defined in -[src/core/presences.ts:39](https://github.com/sern-handler/handler/blob/9d5c6c7/src/core/presences.ts#L39) +[src/core/presences.ts:37](https://github.com/sern-handler/handler/blob/2106522/src/core/presences.ts#L37) diff --git a/docs/api/namespaces/Sern.md b/docs/api/namespaces/Sern.md index 40387a285..bb6346935 100644 --- a/docs/api/namespaces/Sern.md +++ b/docs/api/namespaces/Sern.md @@ -37,4 +37,4 @@ Sern.init({ #### Defined in -[src/sern.ts:27](https://github.com/sern-handler/handler/blob/9d5c6c7/src/sern.ts#L27) +[src/sern.ts:26](https://github.com/sern-handler/handler/blob/2106522/src/sern.ts#L26)