feat: add shadcn + react and community showcase carousel

This commit is contained in:
DuroCodes
2024-06-11 18:28:11 -04:00
parent 3dc5b74cbe
commit 30137eafaf
83 changed files with 1155 additions and 528 deletions

View File

@@ -13,7 +13,14 @@ hero:
variant: primary
---
import { Card, CardGrid } from '@astrojs/starlight/components';
import { Card, CardGrid } from "@astrojs/starlight/components";
import CommunityShowcase from "~/components/CommunityShowcase.astro";
<h1 class="text-center">Showcase</h1>
<CommunityShowcase />
<h1 class="text-center">Features</h1>
<CardGrid stagger>
<Card title="Modular" icon="puzzle">

View File

@@ -24,7 +24,7 @@ array of dependencies, in the same order of keys provided
## Since
3.0.0
The plural version of [Service](../../../../../../../../v3/api/functions/service)
The plural version of [Service](../../../../../../v3/api/functions/service)
## Source

View File

@@ -8,7 +8,7 @@ title: "discordEvent"
> **discordEvent**\<`T`\>(`mod`): [`EventModule`](/v3/api/type-aliases/eventmodule/)
Create event modules from discord.js client events,
This is an [eventModule](../../../../../../../../v3/api/functions/eventmodule) for discord events,
This is an [eventModule](../../../../../../v3/api/functions/eventmodule) for discord events,
where typings can be very bad.
## Type parameters

View File

@@ -7,7 +7,7 @@ title: "SernOptionsData"
> **SernOptionsData**: [`SernSubCommandData`](/v3/api/interfaces/sernsubcommanddata/) \| [`SernSubCommandGroupData`](/v3/api/interfaces/sernsubcommandgroupdata/) \| `APIApplicationCommandBasicOption` \| [`SernAutocompleteData`](/v3/api/interfaces/sernautocompletedata/)
Type that replaces autocomplete with [SernAutocompleteData](../../../../../../../../v3/api/interfaces/sernautocompletedata)
Type that replaces autocomplete with [SernAutocompleteData](../../../../../../v3/api/interfaces/sernautocompletedata)
## Source

View File

@@ -41,6 +41,7 @@ title: "@sern/handler"
- [Logging](/v4/api/interfaces/logging/)
- [MentionableSelectCommand](/v4/api/interfaces/mentionableselectcommand/)
- [ModalSubmitCommand](/v4/api/interfaces/modalsubmitcommand/)
- [Module](/v4/api/interfaces/module/)
- [Plugin](/v4/api/interfaces/plugin/)
- [PresenceResult](/v4/api/interfaces/presenceresult/)
- [RoleSelectCommand](/v4/api/interfaces/roleselectcommand/)

View File

@@ -27,7 +27,7 @@ Message and ChatInputCommandInteraction
#### Source
[src/core/structures/context.ts:49](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/structures/context.ts#L49)
[src/core/structures/context.ts:49](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/structures/context.ts#L49)
***
@@ -41,7 +41,7 @@ Message and ChatInputCommandInteraction
#### Source
[src/core/structures/context.ts:53](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/structures/context.ts#L53)
[src/core/structures/context.ts:53](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/structures/context.ts#L53)
***
@@ -55,7 +55,7 @@ Message and ChatInputCommandInteraction
#### Source
[src/core/structures/context.ts:108](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/structures/context.ts#L108)
[src/core/structures/context.ts:108](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/structures/context.ts#L108)
***
@@ -69,7 +69,7 @@ Message and ChatInputCommandInteraction
#### Source
[src/core/structures/context.ts:73](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/structures/context.ts#L73)
[src/core/structures/context.ts:73](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/structures/context.ts#L73)
***
@@ -83,7 +83,7 @@ Message and ChatInputCommandInteraction
#### Source
[src/core/structures/context.ts:79](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/structures/context.ts#L79)
[src/core/structures/context.ts:79](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/structures/context.ts#L79)
***
@@ -97,7 +97,7 @@ Message and ChatInputCommandInteraction
#### Source
[src/core/structures/context.ts:85](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/structures/context.ts#L85)
[src/core/structures/context.ts:85](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/structures/context.ts#L85)
***
@@ -111,7 +111,7 @@ Message and ChatInputCommandInteraction
#### Source
[src/core/structures/context.ts:43](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/structures/context.ts#L43)
[src/core/structures/context.ts:43](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/structures/context.ts#L43)
***
@@ -125,7 +125,7 @@ Message and ChatInputCommandInteraction
#### Source
[src/core/structures/context.ts:114](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/structures/context.ts#L114)
[src/core/structures/context.ts:114](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/structures/context.ts#L114)
***
@@ -139,7 +139,7 @@ Message and ChatInputCommandInteraction
#### Source
[src/core/structures/context.ts:103](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/structures/context.ts#L103)
[src/core/structures/context.ts:103](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/structures/context.ts#L103)
***
@@ -153,7 +153,7 @@ Message and ChatInputCommandInteraction
#### Source
[src/core/structures/context.ts:93](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/structures/context.ts#L93)
[src/core/structures/context.ts:93](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/structures/context.ts#L93)
***
@@ -167,7 +167,7 @@ Message and ChatInputCommandInteraction
#### Source
[src/core/structures/context.ts:99](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/structures/context.ts#L99)
[src/core/structures/context.ts:99](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/structures/context.ts#L99)
***
@@ -181,7 +181,7 @@ Message and ChatInputCommandInteraction
#### Source
[src/core/structures/context.ts:26](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/structures/context.ts#L26)
[src/core/structures/context.ts:26](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/structures/context.ts#L26)
***
@@ -195,7 +195,7 @@ Message and ChatInputCommandInteraction
#### Source
[src/core/structures/context.ts:40](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/structures/context.ts#L40)
[src/core/structures/context.ts:40](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/structures/context.ts#L40)
***
@@ -212,7 +212,7 @@ else, interaction.user
#### Source
[src/core/structures/context.ts:63](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/structures/context.ts#L63)
[src/core/structures/context.ts:63](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/structures/context.ts#L63)
***
@@ -226,7 +226,7 @@ else, interaction.user
#### Source
[src/core/structures/context.ts:69](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/structures/context.ts#L69)
[src/core/structures/context.ts:69](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/structures/context.ts#L69)
## Methods
@@ -244,7 +244,7 @@ else, interaction.user
#### Source
[src/core/structures/core-context.ts:11](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/structures/core-context.ts#L11)
[src/core/structures/core-context.ts:11](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/structures/core-context.ts#L11)
***
@@ -262,7 +262,7 @@ else, interaction.user
#### Source
[src/core/structures/core-context.ts:15](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/structures/core-context.ts#L15)
[src/core/structures/core-context.ts:15](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/structures/core-context.ts#L15)
***
@@ -280,7 +280,7 @@ else, interaction.user
#### Source
[src/core/structures/context.ts:120](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/structures/context.ts#L120)
[src/core/structures/context.ts:120](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/structures/context.ts#L120)
***
@@ -300,4 +300,4 @@ else, interaction.user
#### Source
[src/core/structures/context.ts:129](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/structures/context.ts#L129)
[src/core/structures/context.ts:129](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/structures/context.ts#L129)

View File

@@ -31,7 +31,7 @@ export default commandModule({
#### Source
[src/core/structures/enums.ts:20](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/structures/enums.ts#L20)
[src/core/structures/enums.ts:20](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/structures/enums.ts#L20)
***
@@ -41,7 +41,7 @@ export default commandModule({
#### Source
[src/core/structures/enums.ts:23](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/structures/enums.ts#L23)
[src/core/structures/enums.ts:23](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/structures/enums.ts#L23)
***
@@ -51,7 +51,7 @@ export default commandModule({
#### Source
[src/core/structures/enums.ts:29](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/structures/enums.ts#L29)
[src/core/structures/enums.ts:29](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/structures/enums.ts#L29)
***
@@ -61,7 +61,7 @@ export default commandModule({
#### Source
[src/core/structures/enums.ts:22](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/structures/enums.ts#L22)
[src/core/structures/enums.ts:22](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/structures/enums.ts#L22)
***
@@ -71,7 +71,7 @@ export default commandModule({
#### Source
[src/core/structures/enums.ts:21](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/structures/enums.ts#L21)
[src/core/structures/enums.ts:21](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/structures/enums.ts#L21)
***
@@ -81,7 +81,7 @@ export default commandModule({
#### Source
[src/core/structures/enums.ts:28](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/structures/enums.ts#L28)
[src/core/structures/enums.ts:28](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/structures/enums.ts#L28)
***
@@ -91,7 +91,7 @@ export default commandModule({
#### Source
[src/core/structures/enums.ts:25](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/structures/enums.ts#L25)
[src/core/structures/enums.ts:25](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/structures/enums.ts#L25)
***
@@ -101,7 +101,7 @@ export default commandModule({
#### Source
[src/core/structures/enums.ts:27](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/structures/enums.ts#L27)
[src/core/structures/enums.ts:27](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/structures/enums.ts#L27)
***
@@ -111,7 +111,7 @@ export default commandModule({
#### Source
[src/core/structures/enums.ts:19](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/structures/enums.ts#L19)
[src/core/structures/enums.ts:19](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/structures/enums.ts#L19)
***
@@ -121,7 +121,7 @@ export default commandModule({
#### Source
[src/core/structures/enums.ts:24](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/structures/enums.ts#L24)
[src/core/structures/enums.ts:24](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/structures/enums.ts#L24)
***
@@ -131,7 +131,7 @@ export default commandModule({
#### Source
[src/core/structures/enums.ts:18](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/structures/enums.ts#L18)
[src/core/structures/enums.ts:18](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/structures/enums.ts#L18)
***
@@ -141,4 +141,4 @@ export default commandModule({
#### Source
[src/core/structures/enums.ts:26](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/structures/enums.ts#L26)
[src/core/structures/enums.ts:26](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/structures/enums.ts#L26)

View File

@@ -28,7 +28,7 @@ export default eventModule({
#### Source
[src/core/structures/enums.ts:61](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/structures/enums.ts#L61)
[src/core/structures/enums.ts:61](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/structures/enums.ts#L61)
***
@@ -40,7 +40,7 @@ The EventType for handling discord events
#### Source
[src/core/structures/enums.ts:51](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/structures/enums.ts#L51)
[src/core/structures/enums.ts:51](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/structures/enums.ts#L51)
***
@@ -53,7 +53,7 @@ Could be for example, `process` events, database events
#### Source
[src/core/structures/enums.ts:60](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/structures/enums.ts#L60)
[src/core/structures/enums.ts:60](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/structures/enums.ts#L60)
***
@@ -65,4 +65,4 @@ The EventType for handling sern events
#### Source
[src/core/structures/enums.ts:55](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/structures/enums.ts#L55)
[src/core/structures/enums.ts:55](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/structures/enums.ts#L55)

View File

@@ -17,7 +17,7 @@ title: "PayloadType"
#### Source
[src/core/structures/enums.ts:94](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/structures/enums.ts#L94)
[src/core/structures/enums.ts:94](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/structures/enums.ts#L94)
***
@@ -27,7 +27,7 @@ title: "PayloadType"
#### Source
[src/core/structures/enums.ts:93](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/structures/enums.ts#L93)
[src/core/structures/enums.ts:93](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/structures/enums.ts#L93)
***
@@ -37,4 +37,4 @@ title: "PayloadType"
#### Source
[src/core/structures/enums.ts:95](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/structures/enums.ts#L95)
[src/core/structures/enums.ts:95](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/structures/enums.ts#L95)

View File

@@ -29,7 +29,7 @@ The PluginType for EventPlugins
#### Source
[src/core/structures/enums.ts:86](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/structures/enums.ts#L86)
[src/core/structures/enums.ts:86](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/structures/enums.ts#L86)
***
@@ -41,4 +41,4 @@ The PluginType for InitPlugins
#### Source
[src/core/structures/enums.ts:82](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/structures/enums.ts#L82)
[src/core/structures/enums.ts:82](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/structures/enums.ts#L82)

View File

@@ -11,7 +11,7 @@ title: "Asset"
Reads an asset file from the 'assets' directory.
If encoding is 'attachment', a discord.js AttachmentBuilder is provided, else
fs.promises.readFile is called. The default is utf8.
fs.promises.readFile is called. The default encoding is utf8.
### Parameters
@@ -19,9 +19,9 @@ fs.promises.readFile is called. The default is utf8.
**opts?**
**opts.encoding?**: `"utf8"` \| `"base64"` \| `"binary"`
**opts.encoding?**: `PartialAssetEncoding`
**opts.name?**: `string`
**opts.name?**: `undefined`
### Returns
@@ -29,7 +29,29 @@ fs.promises.readFile is called. The default is utf8.
### Source
[src/index.ts:71](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/index.ts#L71)
[src/index.ts:70](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/index.ts#L70)
## Asset(p, opts)
> **Asset**(`p`, `opts`?): `Promise`\<`any`\>
### Parameters
**p**: `string`
**opts?**
**opts.encoding?**: `"json"`
**opts.name?**: `undefined`
### Returns
`Promise`\<`any`\>
### Source
[src/index.ts:71](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/index.ts#L71)
## Asset(p, opts)
@@ -51,4 +73,4 @@ fs.promises.readFile is called. The default is utf8.
### Source
[src/index.ts:72](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/index.ts#L72)
[src/index.ts:72](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/index.ts#L72)

View File

@@ -25,4 +25,4 @@ title: "CommandControlPlugin"
## Source
[src/core/create-plugins.ts:28](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/create-plugins.ts#L28)
[src/core/create-plugins.ts:28](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/create-plugins.ts#L28)

View File

@@ -25,4 +25,4 @@ title: "CommandInitPlugin"
## Source
[src/core/create-plugins.ts:20](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/create-plugins.ts#L20)
[src/core/create-plugins.ts:20](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/create-plugins.ts#L20)

View File

@@ -21,4 +21,4 @@ title: "EventInitPlugin"
## Source
[src/core/create-plugins.ts:14](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/create-plugins.ts#L14)
[src/core/create-plugins.ts:14](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/create-plugins.ts#L14)

View File

@@ -38,4 +38,4 @@ const client = Service('@sern/client');
## Source
[src/core/ioc/index.ts:19](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/ioc/index.ts#L19)
[src/core/ioc/index.ts:19](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/ioc/index.ts#L19)

View File

@@ -24,8 +24,8 @@ array of dependencies, in the same order of keys provided
## Since
3.0.0
The plural version of [Service](../../../../../../../../v4/api/functions/service)
The plural version of [Service](../../../../../../v4/api/functions/service)
## Source
[src/core/ioc/index.ts:27](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/ioc/index.ts#L27)
[src/core/ioc/index.ts:27](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/ioc/index.ts#L27)

View File

@@ -5,7 +5,7 @@ prev: false
title: "commandModule"
---
> **commandModule**(`mod`): `Module`
> **commandModule**(`mod`): [`Module`](/v4/api/interfaces/module/)
## Parameters
@@ -13,7 +13,7 @@ title: "commandModule"
## Returns
`Module`
[`Module`](/v4/api/interfaces/module/)
## Since
@@ -21,4 +21,4 @@ title: "commandModule"
## Source
[src/core/modules.ts:15](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/modules.ts#L15)
[src/core/modules.ts:15](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/modules.ts#L15)

View File

@@ -5,10 +5,10 @@ prev: false
title: "discordEvent"
---
> **discordEvent**\<`T`\>(`mod`): `Module`
> **discordEvent**\<`T`\>(`mod`): [`Module`](/v4/api/interfaces/module/)
Create event modules from discord.js client events,
This is an [eventModule](../../../../../../../../v4/api/functions/eventmodule) for discord events,
This is an [eventModule](../../../../../../v4/api/functions/eventmodule) for discord events,
where typings can be very bad.
## Type parameters
@@ -25,10 +25,10 @@ where typings can be very bad.
## Returns
`Module`
[`Module`](/v4/api/interfaces/module/)
## Experimental
## Source
[src/core/modules.ts:39](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/modules.ts#L39)
[src/core/modules.ts:41](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/modules.ts#L41)

View File

@@ -5,7 +5,7 @@ prev: false
title: "eventModule"
---
> **eventModule**(`mod`): `Module`
> **eventModule**(`mod`): [`Module`](/v4/api/interfaces/module/)
## Parameters
@@ -13,7 +13,7 @@ title: "eventModule"
## Returns
`Module`
[`Module`](/v4/api/interfaces/module/)
## Since
@@ -22,4 +22,4 @@ The wrapper function to define event modules for sern
## Source
[src/core/modules.ts:29](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/modules.ts#L29)
[src/core/modules.ts:29](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/modules.ts#L29)

View File

@@ -7,6 +7,9 @@ title: "makeDependencies"
> **makeDependencies**(`conf`): `Promise`\<`void`\>
makeDependencies constructs a dependency injection container for sern handler to use.
This is required to start the handler, and is to be called before Sern.init.
## Parameters
**conf**
@@ -15,6 +18,14 @@ title: "makeDependencies"
`Promise`\<`void`\>
## Example
```ts
await makeDependencies(({ add }) => {
add('@sern/client', new Client({ intents, partials })
})
```
## Source
[src/core/ioc/base.ts:52](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/ioc/base.ts#L52)
[src/core/ioc/base.ts:61](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/ioc/base.ts#L61)

View File

@@ -23,4 +23,4 @@ title: "makePlugin"
## Source
[src/core/create-plugins.ts:5](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/create-plugins.ts#L5)
[src/core/create-plugins.ts:5](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/create-plugins.ts#L5)

View File

@@ -25,4 +25,4 @@ Creates a singleton object.
## Source
[src/core/ioc/index.ts:36](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/ioc/index.ts#L36)
[src/core/ioc/index.ts:36](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/ioc/index.ts#L36)

View File

@@ -30,4 +30,4 @@ Creates a transient object
## Source
[src/core/ioc/index.ts:44](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/ioc/index.ts#L44)
[src/core/ioc/index.ts:47](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/ioc/index.ts#L47)

View File

@@ -7,7 +7,7 @@ title: "BothCommand"
## Extends
- `Module`
- [`Module`](/v4/api/interfaces/module/)
## Properties
@@ -17,11 +17,11 @@ title: "BothCommand"
#### Overrides
`Module.description`
[`Module`](/v4/api/interfaces/module/).[`description`](/v4/api/interfaces/module/#description)
#### Source
[src/types/core-modules.ts:139](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L139)
[src/types/core-modules.ts:139](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L139)
***
@@ -41,11 +41,11 @@ title: "BothCommand"
#### Overrides
`Module.execute`
[`Module`](/v4/api/interfaces/module/).[`execute`](/v4/api/interfaces/module/#execute)
#### Source
[src/types/core-modules.ts:141](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L141)
[src/types/core-modules.ts:141](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L141)
***
@@ -63,11 +63,11 @@ title: "BothCommand"
#### Inherited from
`Module.meta`
[`Module`](/v4/api/interfaces/module/).[`meta`](/v4/api/interfaces/module/#meta)
#### Source
[src/types/core-modules.ts:40](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L40)
[src/types/core-modules.ts:40](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L40)
***
@@ -77,11 +77,11 @@ title: "BothCommand"
#### Inherited from
`Module.name`
[`Module`](/v4/api/interfaces/module/).[`name`](/v4/api/interfaces/module/#name)
#### Source
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L36)
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L36)
***
@@ -91,11 +91,11 @@ title: "BothCommand"
#### Inherited from
`Module.onEvent`
[`Module`](/v4/api/interfaces/module/).[`onEvent`](/v4/api/interfaces/module/#onevent)
#### Source
[src/types/core-modules.ts:37](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L37)
[src/types/core-modules.ts:37](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L37)
***
@@ -105,7 +105,7 @@ title: "BothCommand"
#### Source
[src/types/core-modules.ts:140](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L140)
[src/types/core-modules.ts:140](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L140)
***
@@ -115,11 +115,11 @@ title: "BothCommand"
#### Inherited from
`Module.plugins`
[`Module`](/v4/api/interfaces/module/).[`plugins`](/v4/api/interfaces/module/#plugins)
#### Source
[src/types/core-modules.ts:38](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L38)
[src/types/core-modules.ts:38](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L38)
***
@@ -129,8 +129,8 @@ title: "BothCommand"
#### Overrides
`Module.type`
[`Module`](/v4/api/interfaces/module/).[`type`](/v4/api/interfaces/module/#type)
#### Source
[src/types/core-modules.ts:138](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L138)
[src/types/core-modules.ts:138](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L138)

View File

@@ -7,7 +7,7 @@ title: "ButtonCommand"
## Extends
- `Module`
- [`Module`](/v4/api/interfaces/module/)
## Properties
@@ -17,11 +17,11 @@ title: "ButtonCommand"
#### Inherited from
`Module.description`
[`Module`](/v4/api/interfaces/module/).[`description`](/v4/api/interfaces/module/#description)
#### Source
[src/types/core-modules.ts:39](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L39)
[src/types/core-modules.ts:39](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L39)
***
@@ -41,11 +41,11 @@ title: "ButtonCommand"
#### Overrides
`Module.execute`
[`Module`](/v4/api/interfaces/module/).[`execute`](/v4/api/interfaces/module/#execute)
#### Source
[src/types/core-modules.ts:81](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L81)
[src/types/core-modules.ts:81](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L81)
***
@@ -63,11 +63,11 @@ title: "ButtonCommand"
#### Inherited from
`Module.meta`
[`Module`](/v4/api/interfaces/module/).[`meta`](/v4/api/interfaces/module/#meta)
#### Source
[src/types/core-modules.ts:40](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L40)
[src/types/core-modules.ts:40](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L40)
***
@@ -77,11 +77,11 @@ title: "ButtonCommand"
#### Inherited from
`Module.name`
[`Module`](/v4/api/interfaces/module/).[`name`](/v4/api/interfaces/module/#name)
#### Source
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L36)
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L36)
***
@@ -91,11 +91,11 @@ title: "ButtonCommand"
#### Inherited from
`Module.onEvent`
[`Module`](/v4/api/interfaces/module/).[`onEvent`](/v4/api/interfaces/module/#onevent)
#### Source
[src/types/core-modules.ts:37](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L37)
[src/types/core-modules.ts:37](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L37)
***
@@ -105,11 +105,11 @@ title: "ButtonCommand"
#### Inherited from
`Module.plugins`
[`Module`](/v4/api/interfaces/module/).[`plugins`](/v4/api/interfaces/module/#plugins)
#### Source
[src/types/core-modules.ts:38](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L38)
[src/types/core-modules.ts:38](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L38)
***
@@ -119,8 +119,8 @@ title: "ButtonCommand"
#### Overrides
`Module.type`
[`Module`](/v4/api/interfaces/module/).[`type`](/v4/api/interfaces/module/#type)
#### Source
[src/types/core-modules.ts:80](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L80)
[src/types/core-modules.ts:80](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L80)

View File

@@ -7,7 +7,7 @@ title: "ChannelSelectCommand"
## Extends
- `Module`
- [`Module`](/v4/api/interfaces/module/)
## Properties
@@ -17,11 +17,11 @@ title: "ChannelSelectCommand"
#### Inherited from
`Module.description`
[`Module`](/v4/api/interfaces/module/).[`description`](/v4/api/interfaces/module/#description)
#### Source
[src/types/core-modules.ts:39](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L39)
[src/types/core-modules.ts:39](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L39)
***
@@ -41,11 +41,11 @@ title: "ChannelSelectCommand"
#### Overrides
`Module.execute`
[`Module`](/v4/api/interfaces/module/).[`execute`](/v4/api/interfaces/module/#execute)
#### Source
[src/types/core-modules.ts:91](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L91)
[src/types/core-modules.ts:91](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L91)
***
@@ -63,11 +63,11 @@ title: "ChannelSelectCommand"
#### Inherited from
`Module.meta`
[`Module`](/v4/api/interfaces/module/).[`meta`](/v4/api/interfaces/module/#meta)
#### Source
[src/types/core-modules.ts:40](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L40)
[src/types/core-modules.ts:40](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L40)
***
@@ -77,11 +77,11 @@ title: "ChannelSelectCommand"
#### Inherited from
`Module.name`
[`Module`](/v4/api/interfaces/module/).[`name`](/v4/api/interfaces/module/#name)
#### Source
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L36)
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L36)
***
@@ -91,11 +91,11 @@ title: "ChannelSelectCommand"
#### Inherited from
`Module.onEvent`
[`Module`](/v4/api/interfaces/module/).[`onEvent`](/v4/api/interfaces/module/#onevent)
#### Source
[src/types/core-modules.ts:37](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L37)
[src/types/core-modules.ts:37](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L37)
***
@@ -105,11 +105,11 @@ title: "ChannelSelectCommand"
#### Inherited from
`Module.plugins`
[`Module`](/v4/api/interfaces/module/).[`plugins`](/v4/api/interfaces/module/#plugins)
#### Source
[src/types/core-modules.ts:38](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L38)
[src/types/core-modules.ts:38](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L38)
***
@@ -119,8 +119,8 @@ title: "ChannelSelectCommand"
#### Overrides
`Module.type`
[`Module`](/v4/api/interfaces/module/).[`type`](/v4/api/interfaces/module/#type)
#### Source
[src/types/core-modules.ts:90](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L90)
[src/types/core-modules.ts:90](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L90)

View File

@@ -13,7 +13,7 @@ title: "CommandModuleDefs"
#### Source
[src/types/core-modules.ts:162](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L162)
[src/types/core-modules.ts:162](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L162)
***
@@ -23,7 +23,7 @@ title: "CommandModuleDefs"
#### Source
[src/types/core-modules.ts:170](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L170)
[src/types/core-modules.ts:170](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L170)
***
@@ -33,7 +33,7 @@ title: "CommandModuleDefs"
#### Source
[src/types/core-modules.ts:172](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L172)
[src/types/core-modules.ts:172](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L172)
***
@@ -43,7 +43,7 @@ title: "CommandModuleDefs"
#### Source
[src/types/core-modules.ts:167](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L167)
[src/types/core-modules.ts:167](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L167)
***
@@ -53,7 +53,7 @@ title: "CommandModuleDefs"
#### Source
[src/types/core-modules.ts:163](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L163)
[src/types/core-modules.ts:163](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L163)
***
@@ -63,7 +63,7 @@ title: "CommandModuleDefs"
#### Source
[src/types/core-modules.ts:169](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L169)
[src/types/core-modules.ts:169](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L169)
***
@@ -73,7 +73,7 @@ title: "CommandModuleDefs"
#### Source
[src/types/core-modules.ts:164](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L164)
[src/types/core-modules.ts:164](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L164)
***
@@ -83,7 +83,7 @@ title: "CommandModuleDefs"
#### Source
[src/types/core-modules.ts:168](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L168)
[src/types/core-modules.ts:168](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L168)
***
@@ -93,7 +93,7 @@ title: "CommandModuleDefs"
#### Source
[src/types/core-modules.ts:166](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L166)
[src/types/core-modules.ts:166](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L166)
***
@@ -103,7 +103,7 @@ title: "CommandModuleDefs"
#### Source
[src/types/core-modules.ts:171](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L171)
[src/types/core-modules.ts:171](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L171)
***
@@ -113,7 +113,7 @@ title: "CommandModuleDefs"
#### Source
[src/types/core-modules.ts:173](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L173)
[src/types/core-modules.ts:173](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L173)
***
@@ -123,4 +123,4 @@ title: "CommandModuleDefs"
#### Source
[src/types/core-modules.ts:165](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L165)
[src/types/core-modules.ts:165](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L165)

View File

@@ -7,7 +7,7 @@ title: "ContextMenuMsg"
## Extends
- `Module`
- [`Module`](/v4/api/interfaces/module/)
## Properties
@@ -17,11 +17,11 @@ title: "ContextMenuMsg"
#### Inherited from
`Module.description`
[`Module`](/v4/api/interfaces/module/).[`description`](/v4/api/interfaces/module/#description)
#### Source
[src/types/core-modules.ts:39](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L39)
[src/types/core-modules.ts:39](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L39)
***
@@ -41,11 +41,11 @@ title: "ContextMenuMsg"
#### Overrides
`Module.execute`
[`Module`](/v4/api/interfaces/module/).[`execute`](/v4/api/interfaces/module/#execute)
#### Source
[src/types/core-modules.ts:76](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L76)
[src/types/core-modules.ts:76](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L76)
***
@@ -63,11 +63,11 @@ title: "ContextMenuMsg"
#### Inherited from
`Module.meta`
[`Module`](/v4/api/interfaces/module/).[`meta`](/v4/api/interfaces/module/#meta)
#### Source
[src/types/core-modules.ts:40](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L40)
[src/types/core-modules.ts:40](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L40)
***
@@ -77,11 +77,11 @@ title: "ContextMenuMsg"
#### Inherited from
`Module.name`
[`Module`](/v4/api/interfaces/module/).[`name`](/v4/api/interfaces/module/#name)
#### Source
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L36)
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L36)
***
@@ -91,11 +91,11 @@ title: "ContextMenuMsg"
#### Inherited from
`Module.onEvent`
[`Module`](/v4/api/interfaces/module/).[`onEvent`](/v4/api/interfaces/module/#onevent)
#### Source
[src/types/core-modules.ts:37](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L37)
[src/types/core-modules.ts:37](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L37)
***
@@ -105,11 +105,11 @@ title: "ContextMenuMsg"
#### Inherited from
`Module.plugins`
[`Module`](/v4/api/interfaces/module/).[`plugins`](/v4/api/interfaces/module/#plugins)
#### Source
[src/types/core-modules.ts:38](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L38)
[src/types/core-modules.ts:38](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L38)
***
@@ -119,8 +119,8 @@ title: "ContextMenuMsg"
#### Overrides
`Module.type`
[`Module`](/v4/api/interfaces/module/).[`type`](/v4/api/interfaces/module/#type)
#### Source
[src/types/core-modules.ts:75](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L75)
[src/types/core-modules.ts:75](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L75)

View File

@@ -7,7 +7,7 @@ title: "ContextMenuUser"
## Extends
- `Module`
- [`Module`](/v4/api/interfaces/module/)
## Properties
@@ -17,11 +17,11 @@ title: "ContextMenuUser"
#### Inherited from
`Module.description`
[`Module`](/v4/api/interfaces/module/).[`description`](/v4/api/interfaces/module/#description)
#### Source
[src/types/core-modules.ts:39](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L39)
[src/types/core-modules.ts:39](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L39)
***
@@ -41,11 +41,11 @@ title: "ContextMenuUser"
#### Overrides
`Module.execute`
[`Module`](/v4/api/interfaces/module/).[`execute`](/v4/api/interfaces/module/#execute)
#### Source
[src/types/core-modules.ts:71](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L71)
[src/types/core-modules.ts:71](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L71)
***
@@ -63,11 +63,11 @@ title: "ContextMenuUser"
#### Inherited from
`Module.meta`
[`Module`](/v4/api/interfaces/module/).[`meta`](/v4/api/interfaces/module/#meta)
#### Source
[src/types/core-modules.ts:40](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L40)
[src/types/core-modules.ts:40](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L40)
***
@@ -77,11 +77,11 @@ title: "ContextMenuUser"
#### Inherited from
`Module.name`
[`Module`](/v4/api/interfaces/module/).[`name`](/v4/api/interfaces/module/#name)
#### Source
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L36)
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L36)
***
@@ -91,11 +91,11 @@ title: "ContextMenuUser"
#### Inherited from
`Module.onEvent`
[`Module`](/v4/api/interfaces/module/).[`onEvent`](/v4/api/interfaces/module/#onevent)
#### Source
[src/types/core-modules.ts:37](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L37)
[src/types/core-modules.ts:37](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L37)
***
@@ -105,11 +105,11 @@ title: "ContextMenuUser"
#### Inherited from
`Module.plugins`
[`Module`](/v4/api/interfaces/module/).[`plugins`](/v4/api/interfaces/module/#plugins)
#### Source
[src/types/core-modules.ts:38](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L38)
[src/types/core-modules.ts:38](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L38)
***
@@ -119,8 +119,8 @@ title: "ContextMenuUser"
#### Overrides
`Module.type`
[`Module`](/v4/api/interfaces/module/).[`type`](/v4/api/interfaces/module/#type)
#### Source
[src/types/core-modules.ts:70](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L70)
[src/types/core-modules.ts:70](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L70)

View File

@@ -33,7 +33,7 @@ title: "ControlPlugin"
#### Source
[src/types/core-plugin.ts:44](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-plugin.ts#L44)
[src/types/core-plugin.ts:44](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-plugin.ts#L44)
***
@@ -47,4 +47,4 @@ title: "ControlPlugin"
#### Source
[src/types/core-plugin.ts:51](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-plugin.ts#L51)
[src/types/core-plugin.ts:51](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-plugin.ts#L51)

View File

@@ -13,7 +13,7 @@ title: "CoreDependencies"
#### Source
[src/types/ioc.ts:9](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/ioc.ts#L9)
[src/types/ioc.ts:9](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/ioc.ts#L9)
***
@@ -23,7 +23,7 @@ title: "CoreDependencies"
#### Source
[src/types/ioc.ts:10](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/ioc.ts#L10)
[src/types/ioc.ts:10](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/ioc.ts#L10)
***
@@ -33,7 +33,7 @@ title: "CoreDependencies"
#### Source
[src/types/ioc.ts:11](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/ioc.ts#L11)
[src/types/ioc.ts:11](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/ioc.ts#L11)
***
@@ -43,14 +43,14 @@ title: "CoreDependencies"
#### Source
[src/types/ioc.ts:12](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/ioc.ts#L12)
[src/types/ioc.ts:12](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/ioc.ts#L12)
***
### @sern/modules
> **@sern/modules**: `Map`\<`string`, `Module`\>
> **@sern/modules**: `Map`\<`string`, [`Module`](/v4/api/interfaces/module/)\>
#### Source
[src/types/ioc.ts:13](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/ioc.ts#L13)
[src/types/ioc.ts:13](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/ioc.ts#L13)

View File

@@ -7,7 +7,7 @@ title: "DiscordEventCommand"
## Extends
- `Module`
- [`Module`](/v4/api/interfaces/module/)
## Type parameters
@@ -21,11 +21,11 @@ title: "DiscordEventCommand"
#### Inherited from
`Module.description`
[`Module`](/v4/api/interfaces/module/).[`description`](/v4/api/interfaces/module/#description)
#### Source
[src/types/core-modules.ts:39](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L39)
[src/types/core-modules.ts:39](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L39)
***
@@ -43,11 +43,11 @@ title: "DiscordEventCommand"
#### Inherited from
`Module.meta`
[`Module`](/v4/api/interfaces/module/).[`meta`](/v4/api/interfaces/module/#meta)
#### Source
[src/types/core-modules.ts:40](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L40)
[src/types/core-modules.ts:40](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L40)
***
@@ -57,11 +57,11 @@ title: "DiscordEventCommand"
#### Overrides
`Module.name`
[`Module`](/v4/api/interfaces/module/).[`name`](/v4/api/interfaces/module/#name)
#### Source
[src/types/core-modules.ts:121](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L121)
[src/types/core-modules.ts:121](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L121)
***
@@ -71,11 +71,11 @@ title: "DiscordEventCommand"
#### Inherited from
`Module.onEvent`
[`Module`](/v4/api/interfaces/module/).[`onEvent`](/v4/api/interfaces/module/#onevent)
#### Source
[src/types/core-modules.ts:37](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L37)
[src/types/core-modules.ts:37](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L37)
***
@@ -85,11 +85,11 @@ title: "DiscordEventCommand"
#### Inherited from
`Module.plugins`
[`Module`](/v4/api/interfaces/module/).[`plugins`](/v4/api/interfaces/module/#plugins)
#### Source
[src/types/core-modules.ts:38](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L38)
[src/types/core-modules.ts:38](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L38)
***
@@ -99,11 +99,11 @@ title: "DiscordEventCommand"
#### Overrides
`Module.type`
[`Module`](/v4/api/interfaces/module/).[`type`](/v4/api/interfaces/module/#type)
#### Source
[src/types/core-modules.ts:122](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L122)
[src/types/core-modules.ts:122](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L122)
## Methods
@@ -121,8 +121,8 @@ title: "DiscordEventCommand"
#### Overrides
`Module.execute`
[`Module`](/v4/api/interfaces/module/).[`execute`](/v4/api/interfaces/module/#execute)
#### Source
[src/types/core-modules.ts:123](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L123)
[src/types/core-modules.ts:123](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L123)

View File

@@ -20,4 +20,4 @@ Let dependencies implement this to dispose and cleanup.
#### Source
[src/core/interfaces.ts:17](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/interfaces.ts#L17)
[src/core/interfaces.ts:17](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/interfaces.ts#L17)

View File

@@ -23,7 +23,7 @@ title: "Emitter"
#### Source
[src/core/interfaces.ts:22](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/interfaces.ts#L22)
[src/core/interfaces.ts:22](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/interfaces.ts#L22)
***
@@ -43,7 +43,7 @@ title: "Emitter"
#### Source
[src/core/interfaces.ts:24](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/interfaces.ts#L24)
[src/core/interfaces.ts:24](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/interfaces.ts#L24)
***
@@ -63,4 +63,4 @@ title: "Emitter"
#### Source
[src/core/interfaces.ts:23](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/interfaces.ts#L23)
[src/core/interfaces.ts:23](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/interfaces.ts#L23)

View File

@@ -29,7 +29,7 @@ Version 4 will remove this method
#### Source
[src/core/interfaces.ts:36](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/interfaces.ts#L36)
[src/core/interfaces.ts:36](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/interfaces.ts#L36)
***
@@ -49,4 +49,4 @@ A function that is called on every throw.
#### Source
[src/core/interfaces.ts:41](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/interfaces.ts#L41)
[src/core/interfaces.ts:41](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/interfaces.ts#L41)

View File

@@ -13,7 +13,7 @@ title: "EventModuleDefs"
#### Source
[src/types/core-modules.ts:178](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L178)
[src/types/core-modules.ts:178](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L178)
***
@@ -23,7 +23,7 @@ title: "EventModuleDefs"
#### Source
[src/types/core-modules.ts:177](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L177)
[src/types/core-modules.ts:177](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L177)
***
@@ -33,7 +33,7 @@ title: "EventModuleDefs"
#### Source
[src/types/core-modules.ts:179](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L179)
[src/types/core-modules.ts:179](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L179)
***
@@ -43,4 +43,4 @@ title: "EventModuleDefs"
#### Source
[src/types/core-modules.ts:180](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L180)
[src/types/core-modules.ts:180](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L180)

View File

@@ -7,7 +7,7 @@ title: "ExternalEventCommand"
## Extends
- `Module`
- [`Module`](/v4/api/interfaces/module/)
## Properties
@@ -17,11 +17,11 @@ title: "ExternalEventCommand"
#### Inherited from
`Module.description`
[`Module`](/v4/api/interfaces/module/).[`description`](/v4/api/interfaces/module/#description)
#### Source
[src/types/core-modules.ts:39](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L39)
[src/types/core-modules.ts:39](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L39)
***
@@ -31,7 +31,7 @@ title: "ExternalEventCommand"
#### Source
[src/types/core-modules.ts:56](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L56)
[src/types/core-modules.ts:56](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L56)
***
@@ -49,11 +49,11 @@ title: "ExternalEventCommand"
#### Inherited from
`Module.meta`
[`Module`](/v4/api/interfaces/module/).[`meta`](/v4/api/interfaces/module/#meta)
#### Source
[src/types/core-modules.ts:40](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L40)
[src/types/core-modules.ts:40](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L40)
***
@@ -63,11 +63,11 @@ title: "ExternalEventCommand"
#### Overrides
`Module.name`
[`Module`](/v4/api/interfaces/module/).[`name`](/v4/api/interfaces/module/#name)
#### Source
[src/types/core-modules.ts:55](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L55)
[src/types/core-modules.ts:55](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L55)
***
@@ -77,11 +77,11 @@ title: "ExternalEventCommand"
#### Inherited from
`Module.onEvent`
[`Module`](/v4/api/interfaces/module/).[`onEvent`](/v4/api/interfaces/module/#onevent)
#### Source
[src/types/core-modules.ts:37](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L37)
[src/types/core-modules.ts:37](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L37)
***
@@ -91,11 +91,11 @@ title: "ExternalEventCommand"
#### Inherited from
`Module.plugins`
[`Module`](/v4/api/interfaces/module/).[`plugins`](/v4/api/interfaces/module/#plugins)
#### Source
[src/types/core-modules.ts:38](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L38)
[src/types/core-modules.ts:38](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L38)
***
@@ -105,11 +105,11 @@ title: "ExternalEventCommand"
#### Overrides
`Module.type`
[`Module`](/v4/api/interfaces/module/).[`type`](/v4/api/interfaces/module/#type)
#### Source
[src/types/core-modules.ts:57](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L57)
[src/types/core-modules.ts:57](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L57)
## Methods
@@ -127,8 +127,8 @@ title: "ExternalEventCommand"
#### Overrides
`Module.execute`
[`Module`](/v4/api/interfaces/module/).[`execute`](/v4/api/interfaces/module/#execute)
#### Source
[src/types/core-modules.ts:58](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L58)
[src/types/core-modules.ts:58](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L58)

View File

@@ -20,4 +20,4 @@ Let dependencies implement this to initiate some logic.
#### Source
[src/core/interfaces.ts:9](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/interfaces.ts#L9)
[src/core/interfaces.ts:9](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/interfaces.ts#L9)

View File

@@ -33,7 +33,7 @@ title: "InitPlugin"
#### Source
[src/types/core-plugin.ts:44](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-plugin.ts#L44)
[src/types/core-plugin.ts:44](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-plugin.ts#L44)
***
@@ -47,4 +47,4 @@ title: "InitPlugin"
#### Source
[src/types/core-plugin.ts:48](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-plugin.ts#L48)
[src/types/core-plugin.ts:48](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-plugin.ts#L48)

View File

@@ -29,7 +29,7 @@ title: "Logging"
#### Source
[src/core/interfaces.ts:52](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/interfaces.ts#L52)
[src/core/interfaces.ts:52](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/interfaces.ts#L52)
***
@@ -47,7 +47,7 @@ title: "Logging"
#### Source
[src/core/interfaces.ts:49](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/interfaces.ts#L49)
[src/core/interfaces.ts:49](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/interfaces.ts#L49)
***
@@ -65,7 +65,7 @@ title: "Logging"
#### Source
[src/core/interfaces.ts:51](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/interfaces.ts#L51)
[src/core/interfaces.ts:51](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/interfaces.ts#L51)
***
@@ -83,4 +83,4 @@ title: "Logging"
#### Source
[src/core/interfaces.ts:50](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/interfaces.ts#L50)
[src/core/interfaces.ts:50](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/interfaces.ts#L50)

View File

@@ -7,7 +7,7 @@ title: "MentionableSelectCommand"
## Extends
- `Module`
- [`Module`](/v4/api/interfaces/module/)
## Properties
@@ -17,11 +17,11 @@ title: "MentionableSelectCommand"
#### Inherited from
`Module.description`
[`Module`](/v4/api/interfaces/module/).[`description`](/v4/api/interfaces/module/#description)
#### Source
[src/types/core-modules.ts:39](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L39)
[src/types/core-modules.ts:39](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L39)
***
@@ -41,11 +41,11 @@ title: "MentionableSelectCommand"
#### Overrides
`Module.execute`
[`Module`](/v4/api/interfaces/module/).[`execute`](/v4/api/interfaces/module/#execute)
#### Source
[src/types/core-modules.ts:101](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L101)
[src/types/core-modules.ts:101](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L101)
***
@@ -63,11 +63,11 @@ title: "MentionableSelectCommand"
#### Inherited from
`Module.meta`
[`Module`](/v4/api/interfaces/module/).[`meta`](/v4/api/interfaces/module/#meta)
#### Source
[src/types/core-modules.ts:40](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L40)
[src/types/core-modules.ts:40](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L40)
***
@@ -77,11 +77,11 @@ title: "MentionableSelectCommand"
#### Inherited from
`Module.name`
[`Module`](/v4/api/interfaces/module/).[`name`](/v4/api/interfaces/module/#name)
#### Source
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L36)
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L36)
***
@@ -91,11 +91,11 @@ title: "MentionableSelectCommand"
#### Inherited from
`Module.onEvent`
[`Module`](/v4/api/interfaces/module/).[`onEvent`](/v4/api/interfaces/module/#onevent)
#### Source
[src/types/core-modules.ts:37](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L37)
[src/types/core-modules.ts:37](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L37)
***
@@ -105,11 +105,11 @@ title: "MentionableSelectCommand"
#### Inherited from
`Module.plugins`
[`Module`](/v4/api/interfaces/module/).[`plugins`](/v4/api/interfaces/module/#plugins)
#### Source
[src/types/core-modules.ts:38](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L38)
[src/types/core-modules.ts:38](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L38)
***
@@ -119,8 +119,8 @@ title: "MentionableSelectCommand"
#### Overrides
`Module.type`
[`Module`](/v4/api/interfaces/module/).[`type`](/v4/api/interfaces/module/#type)
#### Source
[src/types/core-modules.ts:100](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L100)
[src/types/core-modules.ts:100](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L100)

View File

@@ -7,7 +7,7 @@ title: "ModalSubmitCommand"
## Extends
- `Module`
- [`Module`](/v4/api/interfaces/module/)
## Properties
@@ -17,11 +17,11 @@ title: "ModalSubmitCommand"
#### Inherited from
`Module.description`
[`Module`](/v4/api/interfaces/module/).[`description`](/v4/api/interfaces/module/#description)
#### Source
[src/types/core-modules.ts:39](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L39)
[src/types/core-modules.ts:39](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L39)
***
@@ -41,11 +41,11 @@ title: "ModalSubmitCommand"
#### Overrides
`Module.execute`
[`Module`](/v4/api/interfaces/module/).[`execute`](/v4/api/interfaces/module/#execute)
#### Source
[src/types/core-modules.ts:111](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L111)
[src/types/core-modules.ts:111](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L111)
***
@@ -63,11 +63,11 @@ title: "ModalSubmitCommand"
#### Inherited from
`Module.meta`
[`Module`](/v4/api/interfaces/module/).[`meta`](/v4/api/interfaces/module/#meta)
#### Source
[src/types/core-modules.ts:40](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L40)
[src/types/core-modules.ts:40](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L40)
***
@@ -77,11 +77,11 @@ title: "ModalSubmitCommand"
#### Inherited from
`Module.name`
[`Module`](/v4/api/interfaces/module/).[`name`](/v4/api/interfaces/module/#name)
#### Source
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L36)
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L36)
***
@@ -91,11 +91,11 @@ title: "ModalSubmitCommand"
#### Inherited from
`Module.onEvent`
[`Module`](/v4/api/interfaces/module/).[`onEvent`](/v4/api/interfaces/module/#onevent)
#### Source
[src/types/core-modules.ts:37](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L37)
[src/types/core-modules.ts:37](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L37)
***
@@ -105,11 +105,11 @@ title: "ModalSubmitCommand"
#### Inherited from
`Module.plugins`
[`Module`](/v4/api/interfaces/module/).[`plugins`](/v4/api/interfaces/module/#plugins)
#### Source
[src/types/core-modules.ts:38](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L38)
[src/types/core-modules.ts:38](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L38)
***
@@ -119,8 +119,8 @@ title: "ModalSubmitCommand"
#### Overrides
`Module.type`
[`Module`](/v4/api/interfaces/module/).[`type`](/v4/api/interfaces/module/#type)
#### Source
[src/types/core-modules.ts:110](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L110)
[src/types/core-modules.ts:110](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L110)

View File

@@ -0,0 +1,110 @@
---
editUrl: false
next: false
prev: false
title: "Module"
---
## Extended by
- [`BothCommand`](/v4/api/interfaces/bothcommand/)
- [`ContextMenuMsg`](/v4/api/interfaces/contextmenumsg/)
- [`ContextMenuUser`](/v4/api/interfaces/contextmenuuser/)
- [`SlashCommand`](/v4/api/interfaces/slashcommand/)
- [`TextCommand`](/v4/api/interfaces/textcommand/)
- [`ButtonCommand`](/v4/api/interfaces/buttoncommand/)
- [`StringSelectCommand`](/v4/api/interfaces/stringselectcommand/)
- [`MentionableSelectCommand`](/v4/api/interfaces/mentionableselectcommand/)
- [`UserSelectCommand`](/v4/api/interfaces/userselectcommand/)
- [`ChannelSelectCommand`](/v4/api/interfaces/channelselectcommand/)
- [`RoleSelectCommand`](/v4/api/interfaces/roleselectcommand/)
- [`ModalSubmitCommand`](/v4/api/interfaces/modalsubmitcommand/)
- [`DiscordEventCommand`](/v4/api/interfaces/discordeventcommand/)
- [`SernEventCommand`](/v4/api/interfaces/serneventcommand/)
- [`ExternalEventCommand`](/v4/api/interfaces/externaleventcommand/)
## Properties
### description?
> `optional` **description**: `string`
#### Source
[src/types/core-modules.ts:39](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L39)
***
### meta
> **meta**: `object`
#### absPath
> **absPath**: `string`
#### id
> **id**: `string`
#### Source
[src/types/core-modules.ts:40](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L40)
***
### name?
> `optional` **name**: `string`
#### Source
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L36)
***
### onEvent
> **onEvent**: [`ControlPlugin`](/v4/api/interfaces/controlplugin/)\<`any`[]\>[]
#### Source
[src/types/core-modules.ts:37](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L37)
***
### plugins
> **plugins**: [`InitPlugin`](/v4/api/interfaces/initplugin/)\<`any`[]\>[]
#### Source
[src/types/core-modules.ts:38](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L38)
***
### type
> **type**: [`CommandType`](/v4/api/enumerations/commandtype/) \| [`EventType`](/v4/api/enumerations/eventtype/)
#### Source
[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L35)
## Methods
### execute()
> **execute**(...`args`): `any`
#### Parameters
• ...**args**: `any`[]
#### Returns
`any`
#### Source
[src/types/core-modules.ts:44](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L44)

View File

@@ -30,7 +30,7 @@ title: "Plugin"
#### Source
[src/types/core-plugin.ts:44](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-plugin.ts#L44)
[src/types/core-plugin.ts:44](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-plugin.ts#L44)
***
@@ -40,4 +40,4 @@ title: "Plugin"
#### Source
[src/types/core-plugin.ts:43](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-plugin.ts#L43)
[src/types/core-plugin.ts:43](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-plugin.ts#L43)

View File

@@ -13,7 +13,7 @@ title: "PresenceResult"
#### Source
[src/core/presences.ts:11](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/presences.ts#L11)
[src/core/presences.ts:11](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/presences.ts#L11)
***
@@ -23,7 +23,7 @@ title: "PresenceResult"
#### Source
[src/core/presences.ts:10](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/presences.ts#L10)
[src/core/presences.ts:10](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/presences.ts#L10)
***
@@ -41,7 +41,7 @@ title: "PresenceResult"
#### Source
[src/core/presences.ts:14](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/presences.ts#L14)
[src/core/presences.ts:14](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/presences.ts#L14)
***
@@ -51,7 +51,7 @@ title: "PresenceResult"
#### Source
[src/core/presences.ts:13](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/presences.ts#L13)
[src/core/presences.ts:13](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/presences.ts#L13)
***
@@ -61,7 +61,7 @@ title: "PresenceResult"
#### Source
[src/core/presences.ts:12](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/presences.ts#L12)
[src/core/presences.ts:12](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/presences.ts#L12)
***
@@ -71,4 +71,4 @@ title: "PresenceResult"
#### Source
[src/core/presences.ts:9](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/presences.ts#L9)
[src/core/presences.ts:9](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/presences.ts#L9)

View File

@@ -7,7 +7,7 @@ title: "RoleSelectCommand"
## Extends
- `Module`
- [`Module`](/v4/api/interfaces/module/)
## Properties
@@ -17,11 +17,11 @@ title: "RoleSelectCommand"
#### Inherited from
`Module.description`
[`Module`](/v4/api/interfaces/module/).[`description`](/v4/api/interfaces/module/#description)
#### Source
[src/types/core-modules.ts:39](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L39)
[src/types/core-modules.ts:39](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L39)
***
@@ -41,11 +41,11 @@ title: "RoleSelectCommand"
#### Overrides
`Module.execute`
[`Module`](/v4/api/interfaces/module/).[`execute`](/v4/api/interfaces/module/#execute)
#### Source
[src/types/core-modules.ts:96](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L96)
[src/types/core-modules.ts:96](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L96)
***
@@ -63,11 +63,11 @@ title: "RoleSelectCommand"
#### Inherited from
`Module.meta`
[`Module`](/v4/api/interfaces/module/).[`meta`](/v4/api/interfaces/module/#meta)
#### Source
[src/types/core-modules.ts:40](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L40)
[src/types/core-modules.ts:40](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L40)
***
@@ -77,11 +77,11 @@ title: "RoleSelectCommand"
#### Inherited from
`Module.name`
[`Module`](/v4/api/interfaces/module/).[`name`](/v4/api/interfaces/module/#name)
#### Source
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L36)
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L36)
***
@@ -91,11 +91,11 @@ title: "RoleSelectCommand"
#### Inherited from
`Module.onEvent`
[`Module`](/v4/api/interfaces/module/).[`onEvent`](/v4/api/interfaces/module/#onevent)
#### Source
[src/types/core-modules.ts:37](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L37)
[src/types/core-modules.ts:37](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L37)
***
@@ -105,11 +105,11 @@ title: "RoleSelectCommand"
#### Inherited from
`Module.plugins`
[`Module`](/v4/api/interfaces/module/).[`plugins`](/v4/api/interfaces/module/#plugins)
#### Source
[src/types/core-modules.ts:38](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L38)
[src/types/core-modules.ts:38](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L38)
***
@@ -119,8 +119,8 @@ title: "RoleSelectCommand"
#### Overrides
`Module.type`
[`Module`](/v4/api/interfaces/module/).[`type`](/v4/api/interfaces/module/#type)
#### Source
[src/types/core-modules.ts:95](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L95)
[src/types/core-modules.ts:95](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L95)

View File

@@ -17,7 +17,7 @@ title: "SernAutocompleteData"
#### Source
[src/types/core-modules.ts:185](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L185)
[src/types/core-modules.ts:185](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L185)
***
@@ -27,7 +27,7 @@ title: "SernAutocompleteData"
#### Source
[src/types/core-modules.ts:190](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L190)
[src/types/core-modules.ts:190](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L190)
***
@@ -107,4 +107,4 @@ node\_modules/discord.js/typings/index.d.ts:4717
#### Source
[src/types/core-modules.ts:186](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L186)
[src/types/core-modules.ts:186](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L186)

View File

@@ -7,7 +7,7 @@ title: "SernEventCommand"
## Extends
- `Module`
- [`Module`](/v4/api/interfaces/module/)
## Type parameters
@@ -21,11 +21,11 @@ title: "SernEventCommand"
#### Inherited from
`Module.description`
[`Module`](/v4/api/interfaces/module/).[`description`](/v4/api/interfaces/module/#description)
#### Source
[src/types/core-modules.ts:39](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L39)
[src/types/core-modules.ts:39](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L39)
***
@@ -43,11 +43,11 @@ title: "SernEventCommand"
#### Inherited from
`Module.meta`
[`Module`](/v4/api/interfaces/module/).[`meta`](/v4/api/interfaces/module/#meta)
#### Source
[src/types/core-modules.ts:40](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L40)
[src/types/core-modules.ts:40](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L40)
***
@@ -57,11 +57,11 @@ title: "SernEventCommand"
#### Overrides
`Module.name`
[`Module`](/v4/api/interfaces/module/).[`name`](/v4/api/interfaces/module/#name)
#### Source
[src/types/core-modules.ts:49](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L49)
[src/types/core-modules.ts:49](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L49)
***
@@ -71,11 +71,11 @@ title: "SernEventCommand"
#### Inherited from
`Module.onEvent`
[`Module`](/v4/api/interfaces/module/).[`onEvent`](/v4/api/interfaces/module/#onevent)
#### Source
[src/types/core-modules.ts:37](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L37)
[src/types/core-modules.ts:37](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L37)
***
@@ -85,11 +85,11 @@ title: "SernEventCommand"
#### Inherited from
`Module.plugins`
[`Module`](/v4/api/interfaces/module/).[`plugins`](/v4/api/interfaces/module/#plugins)
#### Source
[src/types/core-modules.ts:38](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L38)
[src/types/core-modules.ts:38](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L38)
***
@@ -99,11 +99,11 @@ title: "SernEventCommand"
#### Overrides
`Module.type`
[`Module`](/v4/api/interfaces/module/).[`type`](/v4/api/interfaces/module/#type)
#### Source
[src/types/core-modules.ts:50](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L50)
[src/types/core-modules.ts:50](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L50)
## Methods
@@ -121,8 +121,8 @@ title: "SernEventCommand"
#### Overrides
`Module.execute`
[`Module`](/v4/api/interfaces/module/).[`execute`](/v4/api/interfaces/module/#execute)
#### Source
[src/types/core-modules.ts:51](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L51)
[src/types/core-modules.ts:51](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L51)

View File

@@ -13,7 +13,7 @@ title: "SernEventsMapping"
#### Source
[src/types/utility.ts:13](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/utility.ts#L13)
[src/types/utility.ts:13](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/utility.ts#L13)
***
@@ -23,7 +23,7 @@ title: "SernEventsMapping"
#### Source
[src/types/utility.ts:12](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/utility.ts#L12)
[src/types/utility.ts:12](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/utility.ts#L12)
***
@@ -33,7 +33,7 @@ title: "SernEventsMapping"
#### Source
[src/types/utility.ts:11](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/utility.ts#L11)
[src/types/utility.ts:11](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/utility.ts#L11)
***
@@ -43,7 +43,7 @@ title: "SernEventsMapping"
#### Source
[src/types/utility.ts:15](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/utility.ts#L15)
[src/types/utility.ts:15](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/utility.ts#L15)
***
@@ -53,4 +53,4 @@ title: "SernEventsMapping"
#### Source
[src/types/utility.ts:14](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/utility.ts#L14)
[src/types/utility.ts:14](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/utility.ts#L14)

View File

@@ -73,7 +73,7 @@ node\_modules/discord-api-types/payloads/v10/\_interactions/\_applicationCommand
#### Source
[src/types/core-modules.ts:222](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L222)
[src/types/core-modules.ts:225](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L225)
***
@@ -101,4 +101,4 @@ node\_modules/discord-api-types/payloads/v10/\_interactions/\_applicationCommand
#### Source
[src/types/core-modules.ts:221](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L221)
[src/types/core-modules.ts:224](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L224)

View File

@@ -87,7 +87,7 @@ node\_modules/discord.js/typings/index.d.ts:4714
#### Source
[src/types/core-modules.ts:227](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L227)
[src/types/core-modules.ts:230](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L230)
***
@@ -111,4 +111,4 @@ node\_modules/discord.js/typings/index.d.ts:4717
#### Source
[src/types/core-modules.ts:226](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L226)
[src/types/core-modules.ts:229](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L229)

View File

@@ -7,7 +7,7 @@ title: "SlashCommand"
## Extends
- `Module`
- [`Module`](/v4/api/interfaces/module/)
## Properties
@@ -17,11 +17,11 @@ title: "SlashCommand"
#### Overrides
`Module.description`
[`Module`](/v4/api/interfaces/module/).[`description`](/v4/api/interfaces/module/#description)
#### Source
[src/types/core-modules.ts:132](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L132)
[src/types/core-modules.ts:132](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L132)
***
@@ -41,11 +41,11 @@ title: "SlashCommand"
#### Overrides
`Module.execute`
[`Module`](/v4/api/interfaces/module/).[`execute`](/v4/api/interfaces/module/#execute)
#### Source
[src/types/core-modules.ts:134](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L134)
[src/types/core-modules.ts:134](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L134)
***
@@ -63,11 +63,11 @@ title: "SlashCommand"
#### Inherited from
`Module.meta`
[`Module`](/v4/api/interfaces/module/).[`meta`](/v4/api/interfaces/module/#meta)
#### Source
[src/types/core-modules.ts:40](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L40)
[src/types/core-modules.ts:40](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L40)
***
@@ -77,11 +77,11 @@ title: "SlashCommand"
#### Inherited from
`Module.name`
[`Module`](/v4/api/interfaces/module/).[`name`](/v4/api/interfaces/module/#name)
#### Source
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L36)
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L36)
***
@@ -91,11 +91,11 @@ title: "SlashCommand"
#### Inherited from
`Module.onEvent`
[`Module`](/v4/api/interfaces/module/).[`onEvent`](/v4/api/interfaces/module/#onevent)
#### Source
[src/types/core-modules.ts:37](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L37)
[src/types/core-modules.ts:37](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L37)
***
@@ -105,7 +105,7 @@ title: "SlashCommand"
#### Source
[src/types/core-modules.ts:133](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L133)
[src/types/core-modules.ts:133](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L133)
***
@@ -115,11 +115,11 @@ title: "SlashCommand"
#### Inherited from
`Module.plugins`
[`Module`](/v4/api/interfaces/module/).[`plugins`](/v4/api/interfaces/module/#plugins)
#### Source
[src/types/core-modules.ts:38](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L38)
[src/types/core-modules.ts:38](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L38)
***
@@ -129,8 +129,8 @@ title: "SlashCommand"
#### Overrides
`Module.type`
[`Module`](/v4/api/interfaces/module/).[`type`](/v4/api/interfaces/module/#type)
#### Source
[src/types/core-modules.ts:131](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L131)
[src/types/core-modules.ts:131](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L131)

View File

@@ -7,7 +7,7 @@ title: "StringSelectCommand"
## Extends
- `Module`
- [`Module`](/v4/api/interfaces/module/)
## Properties
@@ -17,11 +17,11 @@ title: "StringSelectCommand"
#### Inherited from
`Module.description`
[`Module`](/v4/api/interfaces/module/).[`description`](/v4/api/interfaces/module/#description)
#### Source
[src/types/core-modules.ts:39](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L39)
[src/types/core-modules.ts:39](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L39)
***
@@ -41,11 +41,11 @@ title: "StringSelectCommand"
#### Overrides
`Module.execute`
[`Module`](/v4/api/interfaces/module/).[`execute`](/v4/api/interfaces/module/#execute)
#### Source
[src/types/core-modules.ts:86](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L86)
[src/types/core-modules.ts:86](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L86)
***
@@ -63,11 +63,11 @@ title: "StringSelectCommand"
#### Inherited from
`Module.meta`
[`Module`](/v4/api/interfaces/module/).[`meta`](/v4/api/interfaces/module/#meta)
#### Source
[src/types/core-modules.ts:40](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L40)
[src/types/core-modules.ts:40](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L40)
***
@@ -77,11 +77,11 @@ title: "StringSelectCommand"
#### Inherited from
`Module.name`
[`Module`](/v4/api/interfaces/module/).[`name`](/v4/api/interfaces/module/#name)
#### Source
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L36)
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L36)
***
@@ -91,11 +91,11 @@ title: "StringSelectCommand"
#### Inherited from
`Module.onEvent`
[`Module`](/v4/api/interfaces/module/).[`onEvent`](/v4/api/interfaces/module/#onevent)
#### Source
[src/types/core-modules.ts:37](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L37)
[src/types/core-modules.ts:37](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L37)
***
@@ -105,11 +105,11 @@ title: "StringSelectCommand"
#### Inherited from
`Module.plugins`
[`Module`](/v4/api/interfaces/module/).[`plugins`](/v4/api/interfaces/module/#plugins)
#### Source
[src/types/core-modules.ts:38](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L38)
[src/types/core-modules.ts:38](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L38)
***
@@ -119,8 +119,8 @@ title: "StringSelectCommand"
#### Overrides
`Module.type`
[`Module`](/v4/api/interfaces/module/).[`type`](/v4/api/interfaces/module/#type)
#### Source
[src/types/core-modules.ts:85](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L85)
[src/types/core-modules.ts:85](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L85)

View File

@@ -7,7 +7,7 @@ title: "TextCommand"
## Extends
- `Module`
- [`Module`](/v4/api/interfaces/module/)
## Properties
@@ -17,11 +17,11 @@ title: "TextCommand"
#### Inherited from
`Module.description`
[`Module`](/v4/api/interfaces/module/).[`description`](/v4/api/interfaces/module/#description)
#### Source
[src/types/core-modules.ts:39](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L39)
[src/types/core-modules.ts:39](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L39)
***
@@ -41,11 +41,11 @@ title: "TextCommand"
#### Overrides
`Module.execute`
[`Module`](/v4/api/interfaces/module/).[`execute`](/v4/api/interfaces/module/#execute)
#### Source
[src/types/core-modules.ts:127](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L127)
[src/types/core-modules.ts:127](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L127)
***
@@ -63,11 +63,11 @@ title: "TextCommand"
#### Inherited from
`Module.meta`
[`Module`](/v4/api/interfaces/module/).[`meta`](/v4/api/interfaces/module/#meta)
#### Source
[src/types/core-modules.ts:40](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L40)
[src/types/core-modules.ts:40](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L40)
***
@@ -77,11 +77,11 @@ title: "TextCommand"
#### Inherited from
`Module.name`
[`Module`](/v4/api/interfaces/module/).[`name`](/v4/api/interfaces/module/#name)
#### Source
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L36)
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L36)
***
@@ -91,11 +91,11 @@ title: "TextCommand"
#### Inherited from
`Module.onEvent`
[`Module`](/v4/api/interfaces/module/).[`onEvent`](/v4/api/interfaces/module/#onevent)
#### Source
[src/types/core-modules.ts:37](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L37)
[src/types/core-modules.ts:37](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L37)
***
@@ -105,11 +105,11 @@ title: "TextCommand"
#### Inherited from
`Module.plugins`
[`Module`](/v4/api/interfaces/module/).[`plugins`](/v4/api/interfaces/module/#plugins)
#### Source
[src/types/core-modules.ts:38](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L38)
[src/types/core-modules.ts:38](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L38)
***
@@ -119,8 +119,8 @@ title: "TextCommand"
#### Overrides
`Module.type`
[`Module`](/v4/api/interfaces/module/).[`type`](/v4/api/interfaces/module/#type)
#### Source
[src/types/core-modules.ts:126](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L126)
[src/types/core-modules.ts:126](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L126)

View File

@@ -7,7 +7,7 @@ title: "UserSelectCommand"
## Extends
- `Module`
- [`Module`](/v4/api/interfaces/module/)
## Properties
@@ -17,11 +17,11 @@ title: "UserSelectCommand"
#### Inherited from
`Module.description`
[`Module`](/v4/api/interfaces/module/).[`description`](/v4/api/interfaces/module/#description)
#### Source
[src/types/core-modules.ts:39](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L39)
[src/types/core-modules.ts:39](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L39)
***
@@ -41,11 +41,11 @@ title: "UserSelectCommand"
#### Overrides
`Module.execute`
[`Module`](/v4/api/interfaces/module/).[`execute`](/v4/api/interfaces/module/#execute)
#### Source
[src/types/core-modules.ts:106](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L106)
[src/types/core-modules.ts:106](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L106)
***
@@ -63,11 +63,11 @@ title: "UserSelectCommand"
#### Inherited from
`Module.meta`
[`Module`](/v4/api/interfaces/module/).[`meta`](/v4/api/interfaces/module/#meta)
#### Source
[src/types/core-modules.ts:40](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L40)
[src/types/core-modules.ts:40](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L40)
***
@@ -77,11 +77,11 @@ title: "UserSelectCommand"
#### Inherited from
`Module.name`
[`Module`](/v4/api/interfaces/module/).[`name`](/v4/api/interfaces/module/#name)
#### Source
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L36)
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L36)
***
@@ -91,11 +91,11 @@ title: "UserSelectCommand"
#### Inherited from
`Module.onEvent`
[`Module`](/v4/api/interfaces/module/).[`onEvent`](/v4/api/interfaces/module/#onevent)
#### Source
[src/types/core-modules.ts:37](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L37)
[src/types/core-modules.ts:37](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L37)
***
@@ -105,11 +105,11 @@ title: "UserSelectCommand"
#### Inherited from
`Module.plugins`
[`Module`](/v4/api/interfaces/module/).[`plugins`](/v4/api/interfaces/module/#plugins)
#### Source
[src/types/core-modules.ts:38](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L38)
[src/types/core-modules.ts:38](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L38)
***
@@ -119,8 +119,8 @@ title: "UserSelectCommand"
#### Overrides
`Module.type`
[`Module`](/v4/api/interfaces/module/).[`type`](/v4/api/interfaces/module/#type)
#### Source
[src/types/core-modules.ts:105](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L105)
[src/types/core-modules.ts:105](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L105)

View File

@@ -30,4 +30,4 @@ Sern.init({
## Source
[src/sern.ts:32](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/sern.ts#L32)
[src/sern.ts:32](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/sern.ts#L32)

View File

@@ -5,8 +5,8 @@ prev: false
title: "AnyPlugin"
---
> **AnyPlugin**: [`ControlPlugin`](/v4/api/interfaces/controlplugin/) \| [`InitPlugin`](/v4/api/interfaces/initplugin/)\<[`InitArgs`\<`Processed`\<`Module`\>\>]\>
> **AnyPlugin**: [`ControlPlugin`](/v4/api/interfaces/controlplugin/) \| [`InitPlugin`](/v4/api/interfaces/initplugin/)\<[`InitArgs`\<`Processed`\<[`Module`](/v4/api/interfaces/module/)\>\>]\>
## Source
[src/types/core-plugin.ts:54](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-plugin.ts#L54)
[src/types/core-plugin.ts:54](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-plugin.ts#L54)

View File

@@ -5,8 +5,8 @@ prev: false
title: "AssetEncoding"
---
> **AssetEncoding**: `"attachment"` \| `"base64"` \| `"binary"` \| `"utf8"`
> **AssetEncoding**: `"attachment"` \| `"base64"` \| `"binary"` \| `"utf8"` \| `"json"`
## Source
[src/index.ts:60](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/index.ts#L60)
[src/index.ts:61](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/index.ts#L61)

View File

@@ -9,4 +9,4 @@ title: "CommandModule"
## Source
[src/types/core-modules.ts:145](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L145)
[src/types/core-modules.ts:145](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L145)

View File

@@ -9,4 +9,4 @@ title: "Controller"
## Source
[src/index.ts:54](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/index.ts#L54)
[src/index.ts:55](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/index.ts#L55)

View File

@@ -9,4 +9,4 @@ title: "EventModule"
## Source
[src/types/core-modules.ts:144](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L144)
[src/types/core-modules.ts:144](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L144)

View File

@@ -19,4 +19,4 @@ title: "LogPayload"
## Source
[src/core/interfaces.ts:55](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/interfaces.ts#L55)
[src/core/interfaces.ts:55](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/interfaces.ts#L55)

View File

@@ -9,4 +9,4 @@ title: "Payload"
## Source
[src/types/utility.ts:18](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/utility.ts#L18)
[src/types/utility.ts:18](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/utility.ts#L18)

View File

@@ -9,4 +9,4 @@ title: "PluginResult"
## Source
[src/types/core-plugin.ts:35](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-plugin.ts#L35)
[src/types/core-plugin.ts:35](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-plugin.ts#L35)

View File

@@ -31,4 +31,4 @@ title: "PresenceConfig"
## Source
[src/core/presences.ts:61](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/presences.ts#L61)
[src/core/presences.ts:60](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/presences.ts#L60)

View File

@@ -27,4 +27,4 @@ title: "SDT"
## Source
[src/types/core-modules.ts:25](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L25)
[src/types/core-modules.ts:25](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L25)

View File

@@ -7,8 +7,8 @@ title: "SernOptionsData"
> **SernOptionsData**: [`SernSubCommandData`](/v4/api/interfaces/sernsubcommanddata/) \| [`SernSubCommandGroupData`](/v4/api/interfaces/sernsubcommandgroupdata/) \| `APIApplicationCommandBasicOption` \| [`SernAutocompleteData`](/v4/api/interfaces/sernautocompletedata/)
Type that replaces autocomplete with [SernAutocompleteData](../../../../../../../../v4/api/interfaces/sernautocompletedata)
Type that replaces autocomplete with [SernAutocompleteData](../../../../../../v4/api/interfaces/sernautocompletedata)
## Source
[src/types/core-modules.ts:213](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/types/core-modules.ts#L213)
[src/types/core-modules.ts:216](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/types/core-modules.ts#L216)

View File

@@ -56,9 +56,8 @@ Presence.of({
activities: [
{ name: "Chilling out" }
]
})
.once() // Sets the presence once, with what's provided in '.of()'
```
}).once() // Sets the presence once, with what's provided in '.of()'
```
###### Returns
@@ -72,15 +71,13 @@ Presence.of({
```ts
Presence
.of({
activities: [{ name: "deez nuts" }]
}) //starts the presence with "deez nuts".
.of({ activities: [{ name: "deez nuts" }] }) //starts presence with "deez nuts".
.repeated(prev => {
return {
afk: true,
activities: prev.activities?.map(s => ({ ...s, name: s.name+"s" }))
};
}, 10000)) //every 10 s, the callback sets the presence to the returned one.
}, 10000)) //every 10 s, the callback sets the presence to the value returned.
```
###### Parameters
@@ -119,4 +116,4 @@ Presence
## Source
[src/core/presences.ts:17](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/presences.ts#L17)
[src/core/presences.ts:17](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/presences.ts#L17)

View File

@@ -40,4 +40,4 @@ The object passed into every plugin to control a command's behavior
## Source
[src/core/create-plugins.ts:39](https://github.com/sern-handler/handler/blob/67bb4d4b9fa126f24874a3de1d4378e9fe9aca07/src/core/create-plugins.ts#L39)
[src/core/create-plugins.ts:39](https://github.com/sern-handler/handler/blob/222ecd9b61ad0b94830a2a9444118f01e1b7d6cd/src/core/create-plugins.ts#L39)

View File

@@ -46,7 +46,7 @@ import { Tabs, TabItem } from "@astrojs/starlight/components";
```json title=~/assets/locals/en-US.json
{
"salute": {
"hello": "hola"
"hello": "hello"
}
}
```