mirror of
https://github.com/sern-handler/website
synced 2026-06-28 02:32:23 +00:00
v4 docs update
This commit is contained in:
@@ -75,8 +75,12 @@ export default defineConfig({
|
||||
label: 'v4',
|
||||
items: [
|
||||
{
|
||||
label: 'Test',
|
||||
autogenerate: { directory: 'v4/test' },
|
||||
label: 'Reference',
|
||||
autogenerate: { directory: 'v4/reference' },
|
||||
},
|
||||
{
|
||||
label: 'Snippets',
|
||||
autogenerate: { directory: 'v4/snippets' },
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -7,8 +7,8 @@ title: "@sern/handler"
|
||||
|
||||
## Namespaces
|
||||
|
||||
- [Presence](/v3/api/namespaces/presence/readme/)
|
||||
- [Sern](/v3/api/namespaces/sern/readme/)
|
||||
- [Presence](/v3/api/namespacespresence/readme/)
|
||||
- [Sern](/v3/api/namespacessern/readme/)
|
||||
|
||||
## Enumerations
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ Message and ChatInputCommandInteraction
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/structures/context.ts:39](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/context.ts#L39)
|
||||
[src/core/structures/context.ts:39](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/structures/context.ts#L39)
|
||||
|
||||
***
|
||||
|
||||
@@ -41,7 +41,7 @@ Message and ChatInputCommandInteraction
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/structures/context.ts:45](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/context.ts#L45)
|
||||
[src/core/structures/context.ts:45](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/structures/context.ts#L45)
|
||||
|
||||
***
|
||||
|
||||
@@ -55,7 +55,7 @@ Message and ChatInputCommandInteraction
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/structures/context.ts:91](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/context.ts#L91)
|
||||
[src/core/structures/context.ts:91](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/structures/context.ts#L91)
|
||||
|
||||
***
|
||||
|
||||
@@ -69,7 +69,7 @@ Message and ChatInputCommandInteraction
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/structures/context.ts:65](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/context.ts#L65)
|
||||
[src/core/structures/context.ts:65](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/structures/context.ts#L65)
|
||||
|
||||
***
|
||||
|
||||
@@ -83,7 +83,7 @@ Message and ChatInputCommandInteraction
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/structures/context.ts:71](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/context.ts#L71)
|
||||
[src/core/structures/context.ts:71](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/structures/context.ts#L71)
|
||||
|
||||
***
|
||||
|
||||
@@ -97,7 +97,7 @@ Message and ChatInputCommandInteraction
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/structures/context.ts:77](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/context.ts#L77)
|
||||
[src/core/structures/context.ts:77](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/structures/context.ts#L77)
|
||||
|
||||
***
|
||||
|
||||
@@ -111,7 +111,7 @@ Message and ChatInputCommandInteraction
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/structures/context.ts:33](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/context.ts#L33)
|
||||
[src/core/structures/context.ts:33](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/structures/context.ts#L33)
|
||||
|
||||
***
|
||||
|
||||
@@ -125,7 +125,7 @@ Message and ChatInputCommandInteraction
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/structures/context.ts:97](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/context.ts#L97)
|
||||
[src/core/structures/context.ts:97](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/structures/context.ts#L97)
|
||||
|
||||
***
|
||||
|
||||
@@ -139,7 +139,7 @@ Message and ChatInputCommandInteraction
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/structures/core-context.ts:15](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/core-context.ts#L15)
|
||||
[src/core/structures/core-context.ts:15](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/structures/core-context.ts#L15)
|
||||
|
||||
***
|
||||
|
||||
@@ -153,7 +153,7 @@ Message and ChatInputCommandInteraction
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/structures/context.ts:85](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/context.ts#L85)
|
||||
[src/core/structures/context.ts:85](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/structures/context.ts#L85)
|
||||
|
||||
***
|
||||
|
||||
@@ -167,7 +167,7 @@ Message and ChatInputCommandInteraction
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/structures/core-context.ts:12](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/core-context.ts#L12)
|
||||
[src/core/structures/core-context.ts:12](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/structures/core-context.ts#L12)
|
||||
|
||||
***
|
||||
|
||||
@@ -181,7 +181,7 @@ Message and ChatInputCommandInteraction
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/structures/context.ts:26](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/context.ts#L26)
|
||||
[src/core/structures/context.ts:26](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/structures/context.ts#L26)
|
||||
|
||||
***
|
||||
|
||||
@@ -198,7 +198,7 @@ else, interaction.user
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/structures/context.ts:55](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/context.ts#L55)
|
||||
[src/core/structures/context.ts:55](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/structures/context.ts#L55)
|
||||
|
||||
***
|
||||
|
||||
@@ -212,7 +212,7 @@ else, interaction.user
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/structures/context.ts:61](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/context.ts#L61)
|
||||
[src/core/structures/context.ts:61](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/structures/context.ts#L61)
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -230,7 +230,7 @@ else, interaction.user
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/structures/core-context.ts:19](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/core-context.ts#L19)
|
||||
[src/core/structures/core-context.ts:19](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/structures/core-context.ts#L19)
|
||||
|
||||
***
|
||||
|
||||
@@ -248,7 +248,7 @@ else, interaction.user
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/structures/core-context.ts:23](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/core-context.ts#L23)
|
||||
[src/core/structures/core-context.ts:23](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/structures/core-context.ts#L23)
|
||||
|
||||
***
|
||||
|
||||
@@ -266,7 +266,7 @@ else, interaction.user
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/structures/context.ts:103](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/context.ts#L103)
|
||||
[src/core/structures/context.ts:103](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/structures/context.ts#L103)
|
||||
|
||||
***
|
||||
|
||||
@@ -288,4 +288,4 @@ else, interaction.user
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/structures/context.ts:113](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/context.ts#L113)
|
||||
[src/core/structures/context.ts:113](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/structures/context.ts#L113)
|
||||
|
||||
@@ -23,7 +23,7 @@ title: "ModuleStore"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/structures/module-store.ts:10](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/module-store.ts#L10)
|
||||
[src/core/structures/module-store.ts:10](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/structures/module-store.ts#L10)
|
||||
|
||||
***
|
||||
|
||||
@@ -33,4 +33,4 @@ title: "ModuleStore"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/structures/module-store.ts:9](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/module-store.ts#L9)
|
||||
[src/core/structures/module-store.ts:9](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/structures/module-store.ts#L9)
|
||||
|
||||
@@ -31,7 +31,7 @@ export default commandModule({
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/structures/enums.ts:20](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/enums.ts#L20)
|
||||
[src/core/structures/enums.ts:20](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/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/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/enums.ts#L23)
|
||||
[src/core/structures/enums.ts:23](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/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/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/enums.ts#L29)
|
||||
[src/core/structures/enums.ts:29](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/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/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/enums.ts#L22)
|
||||
[src/core/structures/enums.ts:22](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/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/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/enums.ts#L21)
|
||||
[src/core/structures/enums.ts:21](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/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/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/enums.ts#L28)
|
||||
[src/core/structures/enums.ts:28](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/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/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/enums.ts#L25)
|
||||
[src/core/structures/enums.ts:25](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/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/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/enums.ts#L27)
|
||||
[src/core/structures/enums.ts:27](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/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/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/enums.ts#L19)
|
||||
[src/core/structures/enums.ts:19](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/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/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/enums.ts#L24)
|
||||
[src/core/structures/enums.ts:24](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/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/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/enums.ts#L18)
|
||||
[src/core/structures/enums.ts:18](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/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/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/enums.ts#L26)
|
||||
[src/core/structures/enums.ts:26](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/structures/enums.ts#L26)
|
||||
|
||||
@@ -30,7 +30,7 @@ The EventType for handling discord events
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/structures/enums.ts:51](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/enums.ts#L51)
|
||||
[src/core/structures/enums.ts:51](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/structures/enums.ts#L51)
|
||||
|
||||
***
|
||||
|
||||
@@ -43,7 +43,7 @@ Could be for example, `process` events, database events
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/structures/enums.ts:60](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/enums.ts#L60)
|
||||
[src/core/structures/enums.ts:60](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/structures/enums.ts#L60)
|
||||
|
||||
***
|
||||
|
||||
@@ -55,4 +55,4 @@ The EventType for handling sern events
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/structures/enums.ts:55](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/enums.ts#L55)
|
||||
[src/core/structures/enums.ts:55](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/structures/enums.ts#L55)
|
||||
|
||||
@@ -15,7 +15,7 @@ The PayloadType for a SernEmitter failure event
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/structures/enums.ts:98](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/enums.ts#L98)
|
||||
[src/core/structures/enums.ts:98](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/structures/enums.ts#L98)
|
||||
|
||||
***
|
||||
|
||||
@@ -27,7 +27,7 @@ The PayloadType for a SernEmitter success event
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/structures/enums.ts:94](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/enums.ts#L94)
|
||||
[src/core/structures/enums.ts:94](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/structures/enums.ts#L94)
|
||||
|
||||
***
|
||||
|
||||
@@ -39,4 +39,4 @@ The PayloadType for a SernEmitter warning event
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/structures/enums.ts:102](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/enums.ts#L102)
|
||||
[src/core/structures/enums.ts:102](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/structures/enums.ts#L102)
|
||||
|
||||
@@ -29,7 +29,7 @@ The PluginType for EventPlugins
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/structures/enums.ts:85](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/enums.ts#L85)
|
||||
[src/core/structures/enums.ts:85](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/structures/enums.ts#L85)
|
||||
|
||||
***
|
||||
|
||||
@@ -41,4 +41,4 @@ The PluginType for InitPlugins
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/structures/enums.ts:81](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/enums.ts#L81)
|
||||
[src/core/structures/enums.ts:81](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/structures/enums.ts#L81)
|
||||
|
||||
@@ -26,4 +26,4 @@ title: "CommandControlPlugin"
|
||||
|
||||
## Source
|
||||
|
||||
[src/core/create-plugins.ts:37](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/create-plugins.ts#L37)
|
||||
[src/core/create-plugins.ts:37](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/create-plugins.ts#L37)
|
||||
|
||||
@@ -26,4 +26,4 @@ title: "CommandInitPlugin"
|
||||
|
||||
## Source
|
||||
|
||||
[src/core/create-plugins.ts:28](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/create-plugins.ts#L28)
|
||||
[src/core/create-plugins.ts:28](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/create-plugins.ts#L28)
|
||||
|
||||
@@ -32,4 +32,4 @@ Will probably be moved one day!
|
||||
|
||||
## Source
|
||||
|
||||
[src/core/create-plugins.ts:58](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/create-plugins.ts#L58)
|
||||
[src/core/create-plugins.ts:58](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/create-plugins.ts#L58)
|
||||
|
||||
@@ -26,4 +26,4 @@ title: "EventControlPlugin"
|
||||
|
||||
## Source
|
||||
|
||||
[src/core/create-plugins.ts:46](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/create-plugins.ts#L46)
|
||||
[src/core/create-plugins.ts:46](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/create-plugins.ts#L46)
|
||||
|
||||
@@ -26,4 +26,4 @@ title: "EventInitPlugin"
|
||||
|
||||
## Source
|
||||
|
||||
[src/core/create-plugins.ts:19](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/create-plugins.ts#L19)
|
||||
[src/core/create-plugins.ts:19](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/create-plugins.ts#L19)
|
||||
|
||||
@@ -38,4 +38,4 @@ const client = Service('@sern/client');
|
||||
|
||||
## Source
|
||||
|
||||
[src/core/ioc/dependency-injection.ts:37](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/ioc/dependency-injection.ts#L37)
|
||||
[src/core/ioc/dependency-injection.ts:37](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/ioc/dependency-injection.ts#L37)
|
||||
|
||||
@@ -24,8 +24,8 @@ 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
|
||||
|
||||
[src/core/ioc/dependency-injection.ts:47](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/ioc/dependency-injection.ts#L47)
|
||||
[src/core/ioc/dependency-injection.ts:47](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/ioc/dependency-injection.ts#L47)
|
||||
|
||||
@@ -21,4 +21,4 @@ title: "commandModule"
|
||||
|
||||
## Source
|
||||
|
||||
[src/core/modules.ts:19](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/modules.ts#L19)
|
||||
[src/core/modules.ts:19](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/modules.ts#L19)
|
||||
|
||||
@@ -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
|
||||
@@ -33,4 +33,4 @@ where typings can be very bad.
|
||||
|
||||
## Source
|
||||
|
||||
[src/core/modules.ts:47](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/modules.ts#L47)
|
||||
[src/core/modules.ts:47](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/modules.ts#L47)
|
||||
|
||||
@@ -22,4 +22,4 @@ The wrapper function to define event modules for sern
|
||||
|
||||
## Source
|
||||
|
||||
[src/core/modules.ts:32](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/modules.ts#L32)
|
||||
[src/core/modules.ts:32](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/modules.ts#L32)
|
||||
|
||||
@@ -21,4 +21,4 @@ title: "makeDependencies"
|
||||
|
||||
## Source
|
||||
|
||||
[src/core/ioc/base.ts:144](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/ioc/base.ts#L144)
|
||||
[src/core/ioc/base.ts:144](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/ioc/base.ts#L144)
|
||||
|
||||
@@ -23,4 +23,4 @@ title: "makePlugin"
|
||||
|
||||
## Source
|
||||
|
||||
[src/core/create-plugins.ts:6](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/create-plugins.ts#L6)
|
||||
[src/core/create-plugins.ts:6](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/create-plugins.ts#L6)
|
||||
|
||||
@@ -32,4 +32,4 @@ Creates a singleton object.
|
||||
|
||||
## Source
|
||||
|
||||
[src/core/ioc/dependency-injection.ts:11](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/ioc/dependency-injection.ts#L11)
|
||||
[src/core/ioc/dependency-injection.ts:11](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/ioc/dependency-injection.ts#L11)
|
||||
|
||||
@@ -36,4 +36,4 @@ Creates a transient object
|
||||
|
||||
## Source
|
||||
|
||||
[src/core/ioc/dependency-injection.ts:21](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/ioc/dependency-injection.ts#L21)
|
||||
[src/core/ioc/dependency-injection.ts:21](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/ioc/dependency-injection.ts#L21)
|
||||
|
||||
@@ -17,7 +17,7 @@ title: "BothCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:125](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L125)
|
||||
[src/types/core-modules.ts:125](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L125)
|
||||
|
||||
***
|
||||
|
||||
@@ -31,7 +31,7 @@ title: "BothCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:126](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L126)
|
||||
[src/types/core-modules.ts:126](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L126)
|
||||
|
||||
***
|
||||
|
||||
@@ -55,7 +55,7 @@ title: "BothCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:128](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L128)
|
||||
[src/types/core-modules.ts:128](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L128)
|
||||
|
||||
***
|
||||
|
||||
@@ -69,7 +69,7 @@ title: "BothCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L33)
|
||||
[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L33)
|
||||
|
||||
***
|
||||
|
||||
@@ -83,7 +83,7 @@ title: "BothCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L34)
|
||||
[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L34)
|
||||
|
||||
***
|
||||
|
||||
@@ -93,7 +93,7 @@ title: "BothCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:127](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L127)
|
||||
[src/types/core-modules.ts:127](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L127)
|
||||
|
||||
***
|
||||
|
||||
@@ -107,7 +107,7 @@ title: "BothCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L35)
|
||||
[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L35)
|
||||
|
||||
***
|
||||
|
||||
@@ -121,4 +121,4 @@ title: "BothCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:124](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L124)
|
||||
[src/types/core-modules.ts:124](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L124)
|
||||
|
||||
@@ -21,7 +21,7 @@ title: "ButtonCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L36)
|
||||
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L36)
|
||||
|
||||
***
|
||||
|
||||
@@ -43,7 +43,7 @@ title: "ButtonCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:65](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L65)
|
||||
[src/types/core-modules.ts:65](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L65)
|
||||
|
||||
***
|
||||
|
||||
@@ -57,7 +57,7 @@ title: "ButtonCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L33)
|
||||
[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L33)
|
||||
|
||||
***
|
||||
|
||||
@@ -71,7 +71,7 @@ title: "ButtonCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L34)
|
||||
[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L34)
|
||||
|
||||
***
|
||||
|
||||
@@ -85,7 +85,7 @@ title: "ButtonCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L35)
|
||||
[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L35)
|
||||
|
||||
***
|
||||
|
||||
@@ -99,4 +99,4 @@ title: "ButtonCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:64](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L64)
|
||||
[src/types/core-modules.ts:64](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L64)
|
||||
|
||||
@@ -21,7 +21,7 @@ title: "ChannelSelectCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L36)
|
||||
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L36)
|
||||
|
||||
***
|
||||
|
||||
@@ -43,7 +43,7 @@ title: "ChannelSelectCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:75](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L75)
|
||||
[src/types/core-modules.ts:75](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L75)
|
||||
|
||||
***
|
||||
|
||||
@@ -57,7 +57,7 @@ title: "ChannelSelectCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L33)
|
||||
[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L33)
|
||||
|
||||
***
|
||||
|
||||
@@ -71,7 +71,7 @@ title: "ChannelSelectCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L34)
|
||||
[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L34)
|
||||
|
||||
***
|
||||
|
||||
@@ -85,7 +85,7 @@ title: "ChannelSelectCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L35)
|
||||
[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L35)
|
||||
|
||||
***
|
||||
|
||||
@@ -99,4 +99,4 @@ title: "ChannelSelectCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:74](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L74)
|
||||
[src/types/core-modules.ts:74](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L74)
|
||||
|
||||
@@ -13,7 +13,7 @@ title: "CommandModuleDefs"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:150](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L150)
|
||||
[src/types/core-modules.ts:150](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L150)
|
||||
|
||||
***
|
||||
|
||||
@@ -23,7 +23,7 @@ title: "CommandModuleDefs"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:158](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L158)
|
||||
[src/types/core-modules.ts:158](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L158)
|
||||
|
||||
***
|
||||
|
||||
@@ -33,7 +33,7 @@ title: "CommandModuleDefs"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:160](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L160)
|
||||
[src/types/core-modules.ts:160](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L160)
|
||||
|
||||
***
|
||||
|
||||
@@ -43,7 +43,7 @@ title: "CommandModuleDefs"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:155](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L155)
|
||||
[src/types/core-modules.ts:155](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L155)
|
||||
|
||||
***
|
||||
|
||||
@@ -53,7 +53,7 @@ title: "CommandModuleDefs"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:151](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L151)
|
||||
[src/types/core-modules.ts:151](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L151)
|
||||
|
||||
***
|
||||
|
||||
@@ -63,7 +63,7 @@ title: "CommandModuleDefs"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:157](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L157)
|
||||
[src/types/core-modules.ts:157](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L157)
|
||||
|
||||
***
|
||||
|
||||
@@ -73,7 +73,7 @@ title: "CommandModuleDefs"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:152](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L152)
|
||||
[src/types/core-modules.ts:152](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L152)
|
||||
|
||||
***
|
||||
|
||||
@@ -83,7 +83,7 @@ title: "CommandModuleDefs"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:156](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L156)
|
||||
[src/types/core-modules.ts:156](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L156)
|
||||
|
||||
***
|
||||
|
||||
@@ -93,7 +93,7 @@ title: "CommandModuleDefs"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:154](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L154)
|
||||
[src/types/core-modules.ts:154](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L154)
|
||||
|
||||
***
|
||||
|
||||
@@ -103,7 +103,7 @@ title: "CommandModuleDefs"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:159](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L159)
|
||||
[src/types/core-modules.ts:159](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L159)
|
||||
|
||||
***
|
||||
|
||||
@@ -113,7 +113,7 @@ title: "CommandModuleDefs"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:161](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L161)
|
||||
[src/types/core-modules.ts:161](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L161)
|
||||
|
||||
***
|
||||
|
||||
@@ -123,4 +123,4 @@ title: "CommandModuleDefs"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:153](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L153)
|
||||
[src/types/core-modules.ts:153](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L153)
|
||||
|
||||
@@ -21,7 +21,7 @@ title: "ContextMenuMsg"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L36)
|
||||
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L36)
|
||||
|
||||
***
|
||||
|
||||
@@ -43,7 +43,7 @@ title: "ContextMenuMsg"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:60](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L60)
|
||||
[src/types/core-modules.ts:60](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L60)
|
||||
|
||||
***
|
||||
|
||||
@@ -57,7 +57,7 @@ title: "ContextMenuMsg"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L33)
|
||||
[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L33)
|
||||
|
||||
***
|
||||
|
||||
@@ -71,7 +71,7 @@ title: "ContextMenuMsg"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L34)
|
||||
[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L34)
|
||||
|
||||
***
|
||||
|
||||
@@ -85,7 +85,7 @@ title: "ContextMenuMsg"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L35)
|
||||
[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L35)
|
||||
|
||||
***
|
||||
|
||||
@@ -99,4 +99,4 @@ title: "ContextMenuMsg"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:59](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L59)
|
||||
[src/types/core-modules.ts:59](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L59)
|
||||
|
||||
@@ -21,7 +21,7 @@ title: "ContextMenuUser"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L36)
|
||||
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L36)
|
||||
|
||||
***
|
||||
|
||||
@@ -43,7 +43,7 @@ title: "ContextMenuUser"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:55](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L55)
|
||||
[src/types/core-modules.ts:55](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L55)
|
||||
|
||||
***
|
||||
|
||||
@@ -57,7 +57,7 @@ title: "ContextMenuUser"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L33)
|
||||
[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L33)
|
||||
|
||||
***
|
||||
|
||||
@@ -71,7 +71,7 @@ title: "ContextMenuUser"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L34)
|
||||
[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L34)
|
||||
|
||||
***
|
||||
|
||||
@@ -85,7 +85,7 @@ title: "ContextMenuUser"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L35)
|
||||
[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L35)
|
||||
|
||||
***
|
||||
|
||||
@@ -99,4 +99,4 @@ title: "ContextMenuUser"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:54](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L54)
|
||||
[src/types/core-modules.ts:54](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L54)
|
||||
|
||||
@@ -25,7 +25,7 @@ title: "ControlPlugin"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-plugin.ts:73](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-plugin.ts#L73)
|
||||
[src/types/core-plugin.ts:73](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-plugin.ts#L73)
|
||||
|
||||
***
|
||||
|
||||
@@ -35,4 +35,4 @@ title: "ControlPlugin"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-plugin.ts:72](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-plugin.ts#L72)
|
||||
[src/types/core-plugin.ts:72](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-plugin.ts#L72)
|
||||
|
||||
@@ -17,7 +17,7 @@ title: "Controller"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-plugin.ts:59](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-plugin.ts#L59)
|
||||
[src/types/core-plugin.ts:59](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-plugin.ts#L59)
|
||||
|
||||
***
|
||||
|
||||
@@ -31,4 +31,4 @@ title: "Controller"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-plugin.ts:60](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-plugin.ts#L60)
|
||||
[src/types/core-plugin.ts:60](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-plugin.ts#L60)
|
||||
|
||||
@@ -17,7 +17,7 @@ title: "CoreDependencies"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/ioc.ts:28](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/ioc.ts#L28)
|
||||
[src/types/ioc.ts:28](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/ioc.ts#L28)
|
||||
|
||||
***
|
||||
|
||||
@@ -31,7 +31,7 @@ title: "CoreDependencies"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/ioc.ts:29](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/ioc.ts#L29)
|
||||
[src/types/ioc.ts:29](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/ioc.ts#L29)
|
||||
|
||||
***
|
||||
|
||||
@@ -45,7 +45,7 @@ title: "CoreDependencies"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/ioc.ts:36](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/ioc.ts#L36)
|
||||
[src/types/ioc.ts:36](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/ioc.ts#L36)
|
||||
|
||||
***
|
||||
|
||||
@@ -59,7 +59,7 @@ title: "CoreDependencies"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/ioc.ts:37](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/ioc.ts#L37)
|
||||
[src/types/ioc.ts:37](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/ioc.ts#L37)
|
||||
|
||||
***
|
||||
|
||||
@@ -73,7 +73,7 @@ title: "CoreDependencies"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/ioc.ts:35](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/ioc.ts#L35)
|
||||
[src/types/ioc.ts:35](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/ioc.ts#L35)
|
||||
|
||||
***
|
||||
|
||||
@@ -91,4 +91,4 @@ Will be removed and turned internal
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/ioc.ts:34](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/ioc.ts#L34)
|
||||
[src/types/ioc.ts:34](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/ioc.ts#L34)
|
||||
|
||||
@@ -15,7 +15,7 @@ Represents a core module store that stores IDs mapped to file paths.
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/contracts/module-store.ts:7](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/contracts/module-store.ts#L7)
|
||||
[src/core/contracts/module-store.ts:7](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/contracts/module-store.ts#L7)
|
||||
|
||||
***
|
||||
|
||||
@@ -25,4 +25,4 @@ Represents a core module store that stores IDs mapped to file paths.
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/contracts/module-store.ts:8](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/contracts/module-store.ts#L8)
|
||||
[src/core/contracts/module-store.ts:8](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/contracts/module-store.ts#L8)
|
||||
|
||||
@@ -25,7 +25,7 @@ title: "DiscordEventCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L36)
|
||||
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L36)
|
||||
|
||||
***
|
||||
|
||||
@@ -39,7 +39,7 @@ title: "DiscordEventCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:106](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L106)
|
||||
[src/types/core-modules.ts:106](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L106)
|
||||
|
||||
***
|
||||
|
||||
@@ -53,7 +53,7 @@ title: "DiscordEventCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L34)
|
||||
[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L34)
|
||||
|
||||
***
|
||||
|
||||
@@ -67,7 +67,7 @@ title: "DiscordEventCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L35)
|
||||
[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L35)
|
||||
|
||||
***
|
||||
|
||||
@@ -81,7 +81,7 @@ title: "DiscordEventCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:107](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L107)
|
||||
[src/types/core-modules.ts:107](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L107)
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -103,4 +103,4 @@ title: "DiscordEventCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:108](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L108)
|
||||
[src/types/core-modules.ts:108](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L108)
|
||||
|
||||
@@ -20,4 +20,4 @@ Let dependencies implement this to dispose and cleanup.
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/contracts/hooks.ts:15](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/contracts/hooks.ts#L15)
|
||||
[src/core/contracts/hooks.ts:15](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/contracts/hooks.ts#L15)
|
||||
|
||||
@@ -23,7 +23,7 @@ title: "Emitter"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/contracts/emitter.ts:6](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/contracts/emitter.ts#L6)
|
||||
[src/core/contracts/emitter.ts:6](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/contracts/emitter.ts#L6)
|
||||
|
||||
***
|
||||
|
||||
@@ -43,7 +43,7 @@ title: "Emitter"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/contracts/emitter.ts:8](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/contracts/emitter.ts#L8)
|
||||
[src/core/contracts/emitter.ts:8](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/contracts/emitter.ts#L8)
|
||||
|
||||
***
|
||||
|
||||
@@ -63,4 +63,4 @@ title: "Emitter"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/contracts/emitter.ts:7](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/contracts/emitter.ts#L7)
|
||||
[src/core/contracts/emitter.ts:7](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/contracts/emitter.ts#L7)
|
||||
|
||||
@@ -29,7 +29,7 @@ Version 4 will remove this method
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/contracts/error-handling.ts:9](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/contracts/error-handling.ts#L9)
|
||||
[src/core/contracts/error-handling.ts:9](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/contracts/error-handling.ts#L9)
|
||||
|
||||
***
|
||||
|
||||
@@ -49,4 +49,4 @@ A function that is called on every throw.
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/contracts/error-handling.ts:14](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/contracts/error-handling.ts#L14)
|
||||
[src/core/contracts/error-handling.ts:14](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/contracts/error-handling.ts#L14)
|
||||
|
||||
@@ -13,7 +13,7 @@ title: "EventModuleDefs"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:166](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L166)
|
||||
[src/types/core-modules.ts:166](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L166)
|
||||
|
||||
***
|
||||
|
||||
@@ -23,7 +23,7 @@ title: "EventModuleDefs"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:165](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L165)
|
||||
[src/types/core-modules.ts:165](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L165)
|
||||
|
||||
***
|
||||
|
||||
@@ -33,4 +33,4 @@ title: "EventModuleDefs"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:167](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L167)
|
||||
[src/types/core-modules.ts:167](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L167)
|
||||
|
||||
@@ -21,7 +21,7 @@ title: "ExternalEventCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L36)
|
||||
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L36)
|
||||
|
||||
***
|
||||
|
||||
@@ -31,7 +31,7 @@ title: "ExternalEventCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:48](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L48)
|
||||
[src/types/core-modules.ts:48](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L48)
|
||||
|
||||
***
|
||||
|
||||
@@ -45,7 +45,7 @@ title: "ExternalEventCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:47](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L47)
|
||||
[src/types/core-modules.ts:47](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L47)
|
||||
|
||||
***
|
||||
|
||||
@@ -59,7 +59,7 @@ title: "ExternalEventCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L34)
|
||||
[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L34)
|
||||
|
||||
***
|
||||
|
||||
@@ -73,7 +73,7 @@ title: "ExternalEventCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L35)
|
||||
[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L35)
|
||||
|
||||
***
|
||||
|
||||
@@ -87,7 +87,7 @@ title: "ExternalEventCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:49](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L49)
|
||||
[src/types/core-modules.ts:49](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L49)
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -109,4 +109,4 @@ title: "ExternalEventCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:50](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L50)
|
||||
[src/types/core-modules.ts:50](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L50)
|
||||
|
||||
@@ -20,4 +20,4 @@ Let dependencies implement this to initiate some logic.
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/contracts/hooks.ts:7](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/contracts/hooks.ts#L7)
|
||||
[src/core/contracts/hooks.ts:7](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/contracts/hooks.ts#L7)
|
||||
|
||||
@@ -25,7 +25,7 @@ title: "InitPlugin"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-plugin.ts:69](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-plugin.ts#L69)
|
||||
[src/types/core-plugin.ts:69](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-plugin.ts#L69)
|
||||
|
||||
***
|
||||
|
||||
@@ -35,4 +35,4 @@ title: "InitPlugin"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-plugin.ts:68](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-plugin.ts#L68)
|
||||
[src/types/core-plugin.ts:68](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-plugin.ts#L68)
|
||||
|
||||
@@ -29,7 +29,7 @@ title: "Logging"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/contracts/logging.ts:8](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/contracts/logging.ts#L8)
|
||||
[src/core/contracts/logging.ts:8](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/contracts/logging.ts#L8)
|
||||
|
||||
***
|
||||
|
||||
@@ -47,7 +47,7 @@ title: "Logging"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/contracts/logging.ts:5](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/contracts/logging.ts#L5)
|
||||
[src/core/contracts/logging.ts:5](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/contracts/logging.ts#L5)
|
||||
|
||||
***
|
||||
|
||||
@@ -65,7 +65,7 @@ title: "Logging"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/contracts/logging.ts:7](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/contracts/logging.ts#L7)
|
||||
[src/core/contracts/logging.ts:7](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/contracts/logging.ts#L7)
|
||||
|
||||
***
|
||||
|
||||
@@ -83,4 +83,4 @@ title: "Logging"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/contracts/logging.ts:6](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/contracts/logging.ts#L6)
|
||||
[src/core/contracts/logging.ts:6](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/contracts/logging.ts#L6)
|
||||
|
||||
@@ -21,7 +21,7 @@ title: "MentionableSelectCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L36)
|
||||
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L36)
|
||||
|
||||
***
|
||||
|
||||
@@ -43,7 +43,7 @@ title: "MentionableSelectCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:85](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L85)
|
||||
[src/types/core-modules.ts:85](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L85)
|
||||
|
||||
***
|
||||
|
||||
@@ -57,7 +57,7 @@ title: "MentionableSelectCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L33)
|
||||
[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L33)
|
||||
|
||||
***
|
||||
|
||||
@@ -71,7 +71,7 @@ title: "MentionableSelectCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L34)
|
||||
[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L34)
|
||||
|
||||
***
|
||||
|
||||
@@ -85,7 +85,7 @@ title: "MentionableSelectCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L35)
|
||||
[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L35)
|
||||
|
||||
***
|
||||
|
||||
@@ -99,4 +99,4 @@ title: "MentionableSelectCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:84](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L84)
|
||||
[src/types/core-modules.ts:84](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L84)
|
||||
|
||||
@@ -21,7 +21,7 @@ title: "ModalSubmitCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L36)
|
||||
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L36)
|
||||
|
||||
***
|
||||
|
||||
@@ -43,7 +43,7 @@ title: "ModalSubmitCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:95](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L95)
|
||||
[src/types/core-modules.ts:95](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L95)
|
||||
|
||||
***
|
||||
|
||||
@@ -57,7 +57,7 @@ title: "ModalSubmitCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L33)
|
||||
[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L33)
|
||||
|
||||
***
|
||||
|
||||
@@ -71,7 +71,7 @@ title: "ModalSubmitCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L34)
|
||||
[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L34)
|
||||
|
||||
***
|
||||
|
||||
@@ -85,7 +85,7 @@ title: "ModalSubmitCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L35)
|
||||
[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L35)
|
||||
|
||||
***
|
||||
|
||||
@@ -99,4 +99,4 @@ title: "ModalSubmitCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:94](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L94)
|
||||
[src/types/core-modules.ts:94](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L94)
|
||||
|
||||
@@ -25,7 +25,7 @@ title: "Plugin"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-plugin.ts:64](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-plugin.ts#L64)
|
||||
[src/types/core-plugin.ts:64](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-plugin.ts#L64)
|
||||
|
||||
***
|
||||
|
||||
@@ -35,4 +35,4 @@ title: "Plugin"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-plugin.ts:63](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-plugin.ts#L63)
|
||||
[src/types/core-plugin.ts:63](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-plugin.ts#L63)
|
||||
|
||||
@@ -21,7 +21,7 @@ title: "RoleSelectCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L36)
|
||||
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L36)
|
||||
|
||||
***
|
||||
|
||||
@@ -43,7 +43,7 @@ title: "RoleSelectCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:80](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L80)
|
||||
[src/types/core-modules.ts:80](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L80)
|
||||
|
||||
***
|
||||
|
||||
@@ -57,7 +57,7 @@ title: "RoleSelectCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L33)
|
||||
[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L33)
|
||||
|
||||
***
|
||||
|
||||
@@ -71,7 +71,7 @@ title: "RoleSelectCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L34)
|
||||
[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L34)
|
||||
|
||||
***
|
||||
|
||||
@@ -85,7 +85,7 @@ title: "RoleSelectCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L35)
|
||||
[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L35)
|
||||
|
||||
***
|
||||
|
||||
@@ -99,4 +99,4 @@ title: "RoleSelectCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:79](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L79)
|
||||
[src/types/core-modules.ts:79](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L79)
|
||||
|
||||
@@ -17,7 +17,7 @@ title: "SernAutocompleteData"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:172](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L172)
|
||||
[src/types/core-modules.ts:172](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L172)
|
||||
|
||||
***
|
||||
|
||||
@@ -27,7 +27,7 @@ title: "SernAutocompleteData"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:177](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L177)
|
||||
[src/types/core-modules.ts:177](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L177)
|
||||
|
||||
***
|
||||
|
||||
@@ -107,4 +107,4 @@ node\_modules/discord.js/typings/index.d.ts:4713
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:173](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L173)
|
||||
[src/types/core-modules.ts:173](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L173)
|
||||
|
||||
@@ -25,7 +25,7 @@ title: "SernEventCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L36)
|
||||
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L36)
|
||||
|
||||
***
|
||||
|
||||
@@ -39,7 +39,7 @@ title: "SernEventCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:42](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L42)
|
||||
[src/types/core-modules.ts:42](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L42)
|
||||
|
||||
***
|
||||
|
||||
@@ -53,7 +53,7 @@ title: "SernEventCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L34)
|
||||
[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L34)
|
||||
|
||||
***
|
||||
|
||||
@@ -67,7 +67,7 @@ title: "SernEventCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L35)
|
||||
[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L35)
|
||||
|
||||
***
|
||||
|
||||
@@ -81,7 +81,7 @@ title: "SernEventCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:43](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L43)
|
||||
[src/types/core-modules.ts:43](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L43)
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -103,4 +103,4 @@ title: "SernEventCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:44](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L44)
|
||||
[src/types/core-modules.ts:44](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L44)
|
||||
|
||||
@@ -13,7 +13,7 @@ title: "SernEventsMapping"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/utility.ts:21](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/utility.ts#L21)
|
||||
[src/types/utility.ts:21](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/utility.ts#L21)
|
||||
|
||||
***
|
||||
|
||||
@@ -23,7 +23,7 @@ title: "SernEventsMapping"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/utility.ts:20](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/utility.ts#L20)
|
||||
[src/types/utility.ts:20](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/utility.ts#L20)
|
||||
|
||||
***
|
||||
|
||||
@@ -33,7 +33,7 @@ title: "SernEventsMapping"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/utility.ts:19](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/utility.ts#L19)
|
||||
[src/types/utility.ts:19](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/utility.ts#L19)
|
||||
|
||||
***
|
||||
|
||||
@@ -43,7 +43,7 @@ title: "SernEventsMapping"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/utility.ts:23](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/utility.ts#L23)
|
||||
[src/types/utility.ts:23](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/utility.ts#L23)
|
||||
|
||||
***
|
||||
|
||||
@@ -53,4 +53,4 @@ title: "SernEventsMapping"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/utility.ts:22](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/utility.ts#L22)
|
||||
[src/types/utility.ts:22](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/utility.ts#L22)
|
||||
|
||||
@@ -73,7 +73,7 @@ node\_modules/discord-api-types/payloads/v10/\_interactions/\_applicationCommand
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:209](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L209)
|
||||
[src/types/core-modules.ts:209](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L209)
|
||||
|
||||
***
|
||||
|
||||
@@ -101,4 +101,4 @@ node\_modules/discord-api-types/payloads/v10/\_interactions/\_applicationCommand
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:208](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L208)
|
||||
[src/types/core-modules.ts:208](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L208)
|
||||
|
||||
@@ -87,7 +87,7 @@ node\_modules/discord.js/typings/index.d.ts:4710
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:214](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L214)
|
||||
[src/types/core-modules.ts:214](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L214)
|
||||
|
||||
***
|
||||
|
||||
@@ -111,4 +111,4 @@ node\_modules/discord.js/typings/index.d.ts:4713
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:213](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L213)
|
||||
[src/types/core-modules.ts:213](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L213)
|
||||
|
||||
@@ -21,7 +21,7 @@ title: "SlashCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:118](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L118)
|
||||
[src/types/core-modules.ts:118](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L118)
|
||||
|
||||
***
|
||||
|
||||
@@ -45,7 +45,7 @@ title: "SlashCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:120](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L120)
|
||||
[src/types/core-modules.ts:120](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L120)
|
||||
|
||||
***
|
||||
|
||||
@@ -59,7 +59,7 @@ title: "SlashCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L33)
|
||||
[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L33)
|
||||
|
||||
***
|
||||
|
||||
@@ -73,7 +73,7 @@ title: "SlashCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L34)
|
||||
[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L34)
|
||||
|
||||
***
|
||||
|
||||
@@ -83,7 +83,7 @@ title: "SlashCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:119](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L119)
|
||||
[src/types/core-modules.ts:119](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L119)
|
||||
|
||||
***
|
||||
|
||||
@@ -97,7 +97,7 @@ title: "SlashCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L35)
|
||||
[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L35)
|
||||
|
||||
***
|
||||
|
||||
@@ -111,4 +111,4 @@ title: "SlashCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:117](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L117)
|
||||
[src/types/core-modules.ts:117](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L117)
|
||||
|
||||
@@ -21,7 +21,7 @@ title: "StringSelectCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L36)
|
||||
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L36)
|
||||
|
||||
***
|
||||
|
||||
@@ -43,7 +43,7 @@ title: "StringSelectCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:70](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L70)
|
||||
[src/types/core-modules.ts:70](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L70)
|
||||
|
||||
***
|
||||
|
||||
@@ -57,7 +57,7 @@ title: "StringSelectCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L33)
|
||||
[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L33)
|
||||
|
||||
***
|
||||
|
||||
@@ -71,7 +71,7 @@ title: "StringSelectCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L34)
|
||||
[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L34)
|
||||
|
||||
***
|
||||
|
||||
@@ -85,7 +85,7 @@ title: "StringSelectCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L35)
|
||||
[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L35)
|
||||
|
||||
***
|
||||
|
||||
@@ -99,4 +99,4 @@ title: "StringSelectCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:69](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L69)
|
||||
[src/types/core-modules.ts:69](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L69)
|
||||
|
||||
@@ -17,7 +17,7 @@ title: "TextCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:112](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L112)
|
||||
[src/types/core-modules.ts:112](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L112)
|
||||
|
||||
***
|
||||
|
||||
@@ -31,7 +31,7 @@ title: "TextCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L36)
|
||||
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L36)
|
||||
|
||||
***
|
||||
|
||||
@@ -55,7 +55,7 @@ title: "TextCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:113](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L113)
|
||||
[src/types/core-modules.ts:113](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L113)
|
||||
|
||||
***
|
||||
|
||||
@@ -69,7 +69,7 @@ title: "TextCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L33)
|
||||
[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L33)
|
||||
|
||||
***
|
||||
|
||||
@@ -83,7 +83,7 @@ title: "TextCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L34)
|
||||
[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L34)
|
||||
|
||||
***
|
||||
|
||||
@@ -97,7 +97,7 @@ title: "TextCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L35)
|
||||
[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L35)
|
||||
|
||||
***
|
||||
|
||||
@@ -111,4 +111,4 @@ title: "TextCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:111](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L111)
|
||||
[src/types/core-modules.ts:111](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L111)
|
||||
|
||||
@@ -21,7 +21,7 @@ title: "UserSelectCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L36)
|
||||
[src/types/core-modules.ts:36](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L36)
|
||||
|
||||
***
|
||||
|
||||
@@ -43,7 +43,7 @@ title: "UserSelectCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:90](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L90)
|
||||
[src/types/core-modules.ts:90](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L90)
|
||||
|
||||
***
|
||||
|
||||
@@ -57,7 +57,7 @@ title: "UserSelectCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L33)
|
||||
[src/types/core-modules.ts:33](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L33)
|
||||
|
||||
***
|
||||
|
||||
@@ -71,7 +71,7 @@ title: "UserSelectCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L34)
|
||||
[src/types/core-modules.ts:34](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L34)
|
||||
|
||||
***
|
||||
|
||||
@@ -85,7 +85,7 @@ title: "UserSelectCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L35)
|
||||
[src/types/core-modules.ts:35](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L35)
|
||||
|
||||
***
|
||||
|
||||
@@ -99,4 +99,4 @@ title: "UserSelectCommand"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:89](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L89)
|
||||
[src/types/core-modules.ts:89](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L89)
|
||||
|
||||
@@ -13,7 +13,7 @@ title: "Wrapper"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core.ts:9](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core.ts#L9)
|
||||
[src/types/core.ts:9](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core.ts#L9)
|
||||
|
||||
***
|
||||
|
||||
@@ -35,7 +35,7 @@ title: "Wrapper"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core.ts:20](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core.ts#L20)
|
||||
[src/types/core.ts:20](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core.ts#L20)
|
||||
|
||||
***
|
||||
|
||||
@@ -45,7 +45,7 @@ title: "Wrapper"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core.ts:10](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core.ts#L10)
|
||||
[src/types/core.ts:10](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core.ts#L10)
|
||||
|
||||
***
|
||||
|
||||
@@ -55,7 +55,7 @@ title: "Wrapper"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core.ts:11](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core.ts#L11)
|
||||
[src/types/core.ts:11](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core.ts#L11)
|
||||
|
||||
***
|
||||
|
||||
@@ -71,4 +71,4 @@ Overload to enable mode in case developer does not use a .env file.
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core.ts:16](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core.ts#L16)
|
||||
[src/types/core.ts:16](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core.ts#L16)
|
||||
|
||||
21
src/content/docs/v3/api/namespaces/Presence/README.md
Normal file
21
src/content/docs/v3/api/namespaces/Presence/README.md
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
editUrl: false
|
||||
next: false
|
||||
prev: false
|
||||
title: "Presence"
|
||||
---
|
||||
|
||||
## Index
|
||||
|
||||
### Interfaces
|
||||
|
||||
- [Result](/v3/api/namespacespresenceinterfaces/result/)
|
||||
|
||||
### Type Aliases
|
||||
|
||||
- [Config](/v3/api/namespacespresencetype-aliases/config/)
|
||||
|
||||
### Functions
|
||||
|
||||
- [module](/v3/api/namespacespresencefunctions/module/)
|
||||
- [of](/v3/api/namespacespresencefunctions/of/)
|
||||
@@ -5,7 +5,7 @@ prev: false
|
||||
title: "module"
|
||||
---
|
||||
|
||||
> **module**\<`T`\>(`conf`): [`Config`](/v3/api/namespaces/presence/type-aliases/config/)\<`T`\>
|
||||
> **module**\<`T`\>(`conf`): [`Config`](/v3/api/namespacespresencetype-aliases/config/)\<`T`\>
|
||||
|
||||
A small wrapper to provide type inference.
|
||||
Create a Presence module which **MUST** be put in a file called presence.(language-extension)
|
||||
@@ -17,12 +17,12 @@ adjacent to the file where **Sern.init** is CALLED.
|
||||
|
||||
## Parameters
|
||||
|
||||
• **conf**: [`Config`](/v3/api/namespaces/presence/type-aliases/config/)\<`T`\>
|
||||
• **conf**: [`Config`](/v3/api/namespacespresencetype-aliases/config/)\<`T`\>
|
||||
|
||||
## Returns
|
||||
|
||||
[`Config`](/v3/api/namespaces/presence/type-aliases/config/)\<`T`\>
|
||||
[`Config`](/v3/api/namespacespresencetype-aliases/config/)\<`T`\>
|
||||
|
||||
## Source
|
||||
|
||||
[src/core/presences.ts:28](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/presences.ts#L28)
|
||||
[src/core/presences.ts:28](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/presences.ts#L28)
|
||||
|
||||
@@ -13,7 +13,7 @@ Create a Presence body which can be either:
|
||||
|
||||
## Parameters
|
||||
|
||||
• **root**: `Omit`\<[`Result`](/v3/api/namespaces/presence/interfaces/result/), `"repeat"` \| `"onRepeat"`\>
|
||||
• **root**: `Omit`\<[`Result`](/v3/api/namespacespresenceinterfaces/result/), `"repeat"` \| `"onRepeat"`\>
|
||||
|
||||
## Returns
|
||||
|
||||
@@ -21,7 +21,7 @@ Create a Presence body which can be either:
|
||||
|
||||
### once()
|
||||
|
||||
> **once**: () => `Omit`\<[`Result`](/v3/api/namespaces/presence/interfaces/result/), `"repeat"` \| `"onRepeat"`\>
|
||||
> **once**: () => `Omit`\<[`Result`](/v3/api/namespacespresenceinterfaces/result/), `"repeat"` \| `"onRepeat"`\>
|
||||
|
||||
#### Example
|
||||
|
||||
@@ -37,7 +37,7 @@ Presence
|
||||
|
||||
#### Returns
|
||||
|
||||
`Omit`\<[`Result`](/v3/api/namespaces/presence/interfaces/result/), `"repeat"` \| `"onRepeat"`\>
|
||||
`Omit`\<[`Result`](/v3/api/namespacespresenceinterfaces/result/), `"repeat"` \| `"onRepeat"`\>
|
||||
|
||||
### repeated()
|
||||
|
||||
@@ -94,4 +94,4 @@ Presence
|
||||
|
||||
## Source
|
||||
|
||||
[src/core/presences.ts:37](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/presences.ts#L37)
|
||||
[src/core/presences.ts:37](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/presences.ts#L37)
|
||||
|
||||
@@ -13,7 +13,7 @@ title: "Result"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/presences.ts:11](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/presences.ts#L11)
|
||||
[src/core/presences.ts:11](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/presences.ts#L11)
|
||||
|
||||
***
|
||||
|
||||
@@ -23,25 +23,25 @@ title: "Result"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/presences.ts:10](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/presences.ts#L10)
|
||||
[src/core/presences.ts:10](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/presences.ts#L10)
|
||||
|
||||
***
|
||||
|
||||
### onRepeat()?
|
||||
|
||||
> `optional` **onRepeat**: (`previous`) => [`Result`](/v3/api/namespaces/presence/interfaces/result/)
|
||||
> `optional` **onRepeat**: (`previous`) => [`Result`](/v3/api/namespacespresenceinterfaces/result/)
|
||||
|
||||
#### Parameters
|
||||
|
||||
• **previous**: [`Result`](/v3/api/namespaces/presence/interfaces/result/)
|
||||
• **previous**: [`Result`](/v3/api/namespacespresenceinterfaces/result/)
|
||||
|
||||
#### Returns
|
||||
|
||||
[`Result`](/v3/api/namespaces/presence/interfaces/result/)
|
||||
[`Result`](/v3/api/namespacespresenceinterfaces/result/)
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/presences.ts:14](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/presences.ts#L14)
|
||||
[src/core/presences.ts:14](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/presences.ts#L14)
|
||||
|
||||
***
|
||||
|
||||
@@ -51,7 +51,7 @@ title: "Result"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/presences.ts:13](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/presences.ts#L13)
|
||||
[src/core/presences.ts:13](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/presences.ts#L13)
|
||||
|
||||
***
|
||||
|
||||
@@ -61,7 +61,7 @@ title: "Result"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/presences.ts:12](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/presences.ts#L12)
|
||||
[src/core/presences.ts:12](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/presences.ts#L12)
|
||||
|
||||
***
|
||||
|
||||
@@ -71,4 +71,4 @@ title: "Result"
|
||||
|
||||
#### Source
|
||||
|
||||
[src/core/presences.ts:9](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/presences.ts#L9)
|
||||
[src/core/presences.ts:9](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/presences.ts#L9)
|
||||
|
||||
@@ -15,7 +15,7 @@ title: "Config"
|
||||
|
||||
### execute()
|
||||
|
||||
> **execute**: (...`v`) => [`Result`](/v3/api/namespaces/presence/interfaces/result/)
|
||||
> **execute**: (...`v`) => [`Result`](/v3/api/namespacespresenceinterfaces/result/)
|
||||
|
||||
#### Parameters
|
||||
|
||||
@@ -23,7 +23,7 @@ title: "Config"
|
||||
|
||||
#### Returns
|
||||
|
||||
[`Result`](/v3/api/namespaces/presence/interfaces/result/)
|
||||
[`Result`](/v3/api/namespacespresenceinterfaces/result/)
|
||||
|
||||
### inject?
|
||||
|
||||
@@ -31,4 +31,4 @@ title: "Config"
|
||||
|
||||
## Source
|
||||
|
||||
[src/core/presences.ts:17](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/presences.ts#L17)
|
||||
[src/core/presences.ts:17](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/presences.ts#L17)
|
||||
|
||||
12
src/content/docs/v3/api/namespaces/Sern/README.md
Normal file
12
src/content/docs/v3/api/namespaces/Sern/README.md
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
editUrl: false
|
||||
next: false
|
||||
prev: false
|
||||
title: "Sern"
|
||||
---
|
||||
|
||||
## Index
|
||||
|
||||
### Functions
|
||||
|
||||
- [init](/v3/api/namespacessernfunctions/init/)
|
||||
@@ -11,6 +11,9 @@ title: "init"
|
||||
|
||||
• **maybeWrapper**: [`Wrapper`](/v3/api/interfaces/wrapper/) \| `"file"`
|
||||
|
||||
Options to pass into sern.
|
||||
Function to start the handler up
|
||||
|
||||
## Returns
|
||||
|
||||
`void`
|
||||
@@ -30,4 +33,4 @@ Sern.init({
|
||||
|
||||
## Source
|
||||
|
||||
[src/sern.ts:26](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/sern.ts#L26)
|
||||
[src/sern.ts:26](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/sern.ts#L26)
|
||||
|
||||
@@ -9,4 +9,4 @@ title: "AnyCommandPlugin"
|
||||
|
||||
## Source
|
||||
|
||||
[src/types/core-plugin.ts:76](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-plugin.ts#L76)
|
||||
[src/types/core-plugin.ts:76](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-plugin.ts#L76)
|
||||
|
||||
@@ -9,4 +9,4 @@ title: "AnyEventPlugin"
|
||||
|
||||
## Source
|
||||
|
||||
[src/types/core-plugin.ts:77](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-plugin.ts#L77)
|
||||
[src/types/core-plugin.ts:77](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-plugin.ts#L77)
|
||||
|
||||
@@ -19,4 +19,4 @@ title: "Args"
|
||||
|
||||
## Source
|
||||
|
||||
[src/types/utility.ts:16](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/utility.ts#L16)
|
||||
[src/types/utility.ts:16](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/utility.ts#L16)
|
||||
|
||||
@@ -9,4 +9,4 @@ title: "CommandModule"
|
||||
|
||||
## Source
|
||||
|
||||
[src/types/core-modules.ts:132](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L132)
|
||||
[src/types/core-modules.ts:132](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L132)
|
||||
|
||||
@@ -9,4 +9,4 @@ title: "EventModule"
|
||||
|
||||
## Source
|
||||
|
||||
[src/types/core-modules.ts:131](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L131)
|
||||
[src/types/core-modules.ts:131](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L131)
|
||||
|
||||
@@ -16,4 +16,4 @@ If T has an init method, this will be called.
|
||||
|
||||
## Source
|
||||
|
||||
[src/types/ioc.ts:17](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/ioc.ts#L17)
|
||||
[src/types/ioc.ts:17](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/ioc.ts#L17)
|
||||
|
||||
@@ -19,4 +19,4 @@ title: "LogPayload"
|
||||
|
||||
## Source
|
||||
|
||||
[src/core/contracts/logging.ts:11](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/contracts/logging.ts#L11)
|
||||
[src/core/contracts/logging.ts:11](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/contracts/logging.ts#L11)
|
||||
|
||||
@@ -9,4 +9,4 @@ title: "Payload"
|
||||
|
||||
## Source
|
||||
|
||||
[src/types/utility.ts:26](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/utility.ts#L26)
|
||||
[src/types/utility.ts:26](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/utility.ts#L26)
|
||||
|
||||
@@ -9,4 +9,4 @@ title: "PluginResult"
|
||||
|
||||
## Source
|
||||
|
||||
[src/types/core-plugin.ts:51](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-plugin.ts#L51)
|
||||
[src/types/core-plugin.ts:51](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-plugin.ts#L51)
|
||||
|
||||
@@ -7,8 +7,8 @@ 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
|
||||
|
||||
[src/types/core-modules.ts:200](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L200)
|
||||
[src/types/core-modules.ts:200](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/core-modules.ts#L200)
|
||||
|
||||
@@ -20,4 +20,4 @@ T is created once and lazily.
|
||||
|
||||
## Source
|
||||
|
||||
[src/types/ioc.ts:7](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/ioc.ts#L7)
|
||||
[src/types/ioc.ts:7](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/ioc.ts#L7)
|
||||
|
||||
@@ -9,4 +9,4 @@ title: "SlashOptions"
|
||||
|
||||
## Source
|
||||
|
||||
[src/types/utility.ts:14](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/utility.ts#L14)
|
||||
[src/types/utility.ts:14](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/utility.ts#L14)
|
||||
|
||||
@@ -24,4 +24,4 @@ Every time this is called, a new object is created
|
||||
|
||||
## Source
|
||||
|
||||
[src/types/ioc.ts:12](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/ioc.ts#L12)
|
||||
[src/types/ioc.ts:12](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/types/ioc.ts#L12)
|
||||
|
||||
@@ -32,4 +32,4 @@ The object passed into every plugin to control a command's behavior
|
||||
|
||||
## Source
|
||||
|
||||
[src/core/create-plugins.ts:69](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/create-plugins.ts#L69)
|
||||
[src/core/create-plugins.ts:69](https://github.com/sern-handler/handler/blob/04c4625bfa2f746935f4a8cee62b77cdffd86684/src/core/create-plugins.ts#L69)
|
||||
|
||||
@@ -12,32 +12,6 @@ sidebar:
|
||||
v3 comes with the new [Service API](../services). To make sure to enable intellisense,
|
||||
include a `dependencies.d.ts` file into compilation. (Check out the [changelog](../../../blog/3.0.0) for all new features)
|
||||
|
||||
```ts title="dependencies.d.ts"
|
||||
/**
|
||||
* This file serves as intellisense for sern projects.
|
||||
* Types are declared here for dependencies to function properly
|
||||
* Service(s) api rely on this file to provide a better developer experience.
|
||||
*/
|
||||
|
||||
import {
|
||||
SernEmitter,
|
||||
Logging,
|
||||
CoreModuleStore,
|
||||
ModuleManager,
|
||||
ErrorHandling,
|
||||
CoreDependencies,
|
||||
Singleton,
|
||||
} from "@sern/handler";
|
||||
import { Client } from "discord.js";
|
||||
|
||||
declare global {
|
||||
interface Dependencies extends CoreDependencies {
|
||||
"@sern/client": Singleton<Client>;
|
||||
}
|
||||
}
|
||||
|
||||
export {};
|
||||
```
|
||||
|
||||
A standard project file tree: <br />
|
||||
|
||||
@@ -48,7 +22,7 @@ import { FileTree } from '@astrojs/starlight/components';
|
||||
- commands/
|
||||
- events/
|
||||
- plugins/
|
||||
- **dependencies.d.ts** **(add this)**
|
||||
- dependencies.d.ts
|
||||
- index.ts
|
||||
- .env
|
||||
- .gitignore
|
||||
|
||||
12
src/content/docs/v4/reference/getting-started.mdx
Normal file
12
src/content/docs/v4/reference/getting-started.mdx
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
title: Getting Started
|
||||
sidebar:
|
||||
order: 2
|
||||
---
|
||||
|
||||
import PackageManagers from '~/components/PackageManagers.astro';
|
||||
|
||||
<PackageManagers command="create" text="@sern/bot"/>
|
||||
Once you've used this command, follow the interactive prompts to create your new project.
|
||||
|
||||
If you need help, feel free to ask on our [Discord](https://sern.dev/discord).
|
||||
59
src/content/docs/v4/reference/modules.mdx
Normal file
59
src/content/docs/v4/reference/modules.mdx
Normal file
@@ -0,0 +1,59 @@
|
||||
---
|
||||
title: Modules
|
||||
sidebar:
|
||||
order: 2
|
||||
---
|
||||
## Introduction
|
||||
sern operates with modules. At its core, Modules contain a `type` field and `execute`, with some code to possibly run before
|
||||
executing.
|
||||
### Modules
|
||||
|
||||
we'll walk you through creating your first command module.
|
||||
|
||||
If you installed a new project via the CLI, your file should be here:
|
||||
|
||||
import { FileTree } from '@astrojs/starlight/components';
|
||||
|
||||
<FileTree>
|
||||
- src/commands/
|
||||
- **ping.ts** **(right here, probably)**
|
||||
- ...
|
||||
</FileTree>
|
||||
|
||||
|
||||
```ts title="src/commands/ping.ts"
|
||||
import { commandModule, CommandType } from "@sern/handler";
|
||||
|
||||
export default commandModule({
|
||||
type: CommandType.Both,
|
||||
description: "A ping command",
|
||||
execute: async (ctx, sdt) => {
|
||||
await ctx.reply("Pong 🏓");
|
||||
},
|
||||
});
|
||||
```
|
||||
:::tip
|
||||
Run `sern commands publish` so discord registers it to your application correctly.
|
||||
:::
|
||||
|
||||
## Modal
|
||||
So, lets say you want to make a command module that listens to modals.
|
||||
|
||||
:::tip
|
||||
Keep in mind, you'll need to send a modal with a custom id of `dm-me`. This example below is the response to a modal being sent.
|
||||
:::
|
||||
|
||||
```js title=src/commands/dm-me.js
|
||||
import { CommandType, commandModule } from "@sern/handler";
|
||||
|
||||
export default commandModule({
|
||||
type: CommandType.Modal,
|
||||
async execute(modal) {
|
||||
const value = modal.fields.getTextInputValue("message");
|
||||
modal.client.users
|
||||
.fetch("182326315813306368")
|
||||
.then(usr => usr.send(value + ` from ${modal.user}`));
|
||||
modal.reply({ ephemeral: true, content: "Sent" });
|
||||
},
|
||||
});
|
||||
```
|
||||
24
src/content/docs/v4/reference/project-layout.mdx
Normal file
24
src/content/docs/v4/reference/project-layout.mdx
Normal file
@@ -0,0 +1,24 @@
|
||||
---
|
||||
title: Project Layout
|
||||
sidebar:
|
||||
order: 1
|
||||
---
|
||||
|
||||
Usually, a project should look like this: <br />
|
||||
|
||||
import { FileTree } from '@astrojs/starlight/components';
|
||||
|
||||
<FileTree>
|
||||
- src
|
||||
- commands/
|
||||
- events/
|
||||
- plugins/ # created automatically if running `sern plugins`
|
||||
- index.ts
|
||||
- .env
|
||||
- .gitignore
|
||||
- bun.lockb
|
||||
- package.json
|
||||
- README.md
|
||||
- sern.config.json
|
||||
- tsconfig.json # jsconfig.json if you are using javascript
|
||||
</FileTree>
|
||||
39
src/content/docs/v4/snippets/command.mdx
Normal file
39
src/content/docs/v4/snippets/command.mdx
Normal file
@@ -0,0 +1,39 @@
|
||||
---
|
||||
title: Command
|
||||
sidebar:
|
||||
order: 1
|
||||
---
|
||||
|
||||
import { Tabs, TabItem } from '@astrojs/starlight/components';
|
||||
|
||||
<Tabs syncKey="language-preference">
|
||||
<TabItem value="js" label="JavaScript">
|
||||
```js title="src/commands/ping.js"
|
||||
import { CommandType, commandModule } from "@sern/handler";
|
||||
|
||||
export default commandModule({
|
||||
type: CommandType.Both,
|
||||
plugins: [],
|
||||
description: "A ping command",
|
||||
execute: async (ctx, sdt) => {
|
||||
await ctx.reply("Pong 🏓");
|
||||
},
|
||||
});
|
||||
```
|
||||
</TabItem>
|
||||
<TabItem value="ts" label="TypeScript">
|
||||
```ts title="src/commands/ping.ts"
|
||||
import { commandModule, CommandType } from "@sern/handler";
|
||||
|
||||
export default commandModule({
|
||||
type: CommandType.Both,
|
||||
plugins: [],
|
||||
description: "A ping command",
|
||||
execute: async (ctx, sdt) => {
|
||||
await ctx.reply({ content: "Pong 🏓" });
|
||||
},
|
||||
});
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
39
src/content/docs/v4/snippets/event.mdx
Normal file
39
src/content/docs/v4/snippets/event.mdx
Normal file
@@ -0,0 +1,39 @@
|
||||
---
|
||||
title: Event
|
||||
sidebar:
|
||||
order: 2
|
||||
---
|
||||
|
||||
import { Tabs, TabItem } from '@astrojs/starlight/components';
|
||||
|
||||
<Tabs syncKey="language-preference">
|
||||
<TabItem value="js" label="JavaScript">
|
||||
```js title="src/events/ping.js"
|
||||
import { eventModule, EventType } from "@sern/handler";
|
||||
import type { GuildMember } from "discord.js";
|
||||
|
||||
export default eventModule({
|
||||
type: EventType.Discord,
|
||||
name: "guildMemberAdd",
|
||||
async execute(member: GuildMember) {
|
||||
},
|
||||
});
|
||||
```
|
||||
</TabItem>
|
||||
<TabItem value="ts" label="TypeScript">
|
||||
```ts title="src/commands/ping.ts"
|
||||
import { eventModule, EventType } from "@sern/handler";
|
||||
import type { GuildMember } from "discord.js";
|
||||
|
||||
export default eventModule({
|
||||
type: EventType.Discord,
|
||||
name: "guildMemberAdd",
|
||||
async execute(member: GuildMember) {
|
||||
// TODO: This should be inferred
|
||||
if (member.pending) return;
|
||||
},
|
||||
});
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
20
src/content/docs/v4/snippets/plugin.mdx
Normal file
20
src/content/docs/v4/snippets/plugin.mdx
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
title: Plugins
|
||||
sidebar:
|
||||
order: 3
|
||||
---
|
||||
|
||||
```ts
|
||||
// This plugin only allows users with '182326315813306368' as their id to use this command.
|
||||
import { CommandControlPlugin, CommandType, controller } from "@sern/handler";
|
||||
import type { ModalSubmitInteraction } from "discord.js";
|
||||
|
||||
const OWNER = '182326315813306368';
|
||||
export function ownerOnly() {
|
||||
return CommandControlPlugin<CommandType.Slash>((ctx, sdt)=> {
|
||||
if(ctx.user === OWNER)
|
||||
return controller.next()
|
||||
return controller.stop()
|
||||
})
|
||||
}
|
||||
```
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
title: Hello
|
||||
---
|
||||
|
||||
Hello world
|
||||
Reference in New Issue
Block a user