fix: fix api docs path

This commit is contained in:
DuroCodes
2024-05-14 21:06:27 -04:00
parent 55715a2a84
commit 6de5b4c7a6
52 changed files with 221 additions and 223 deletions

View File

@@ -118,9 +118,7 @@ export default defineConfig({
starlightTypeDoc({
tsconfig: './sern-handler/tsconfig.json',
entryPoints: ['./sern-handler/src/index.ts'],
autogenerate: {
directory: 'v3/api',
},
output: 'v3/api',
sidebar: { collapsed: true },
}),
lunaria(),

View File

@@ -23,7 +23,7 @@
],
"files": [
{
"location": "src/content/docs/*/",
"location": "src/content/**/*.{mdx}",
"pattern": "@lang/@path",
"type": "universal"
}

View File

@@ -7,90 +7,90 @@ title: "@sern/handler"
## Namespaces
- [Presence](/api/namespaces/presence/readme/)
- [Sern](/api/namespaces/sern/readme/)
- [Presence](/v3/api/namespaces/presence/readme/)
- [Sern](/v3/api/namespaces/sern/readme/)
## Enumerations
- [CommandType](/api/enumerations/commandtype/)
- [EventType](/api/enumerations/eventtype/)
- [PayloadType](/api/enumerations/payloadtype/)
- [PluginType](/api/enumerations/plugintype/)
- [CommandType](/v3/api/enumerations/commandtype/)
- [EventType](/v3/api/enumerations/eventtype/)
- [PayloadType](/v3/api/enumerations/payloadtype/)
- [PluginType](/v3/api/enumerations/plugintype/)
## Classes
- [Context](/api/classes/context/)
- [ModuleStore](/api/classes/modulestore/)
- [Context](/v3/api/classes/context/)
- [ModuleStore](/v3/api/classes/modulestore/)
## Interfaces
- [BothCommand](/api/interfaces/bothcommand/)
- [ButtonCommand](/api/interfaces/buttoncommand/)
- [ChannelSelectCommand](/api/interfaces/channelselectcommand/)
- [CommandModuleDefs](/api/interfaces/commandmoduledefs/)
- [ContextMenuMsg](/api/interfaces/contextmenumsg/)
- [ContextMenuUser](/api/interfaces/contextmenuuser/)
- [ControlPlugin](/api/interfaces/controlplugin/)
- [Controller](/api/interfaces/controller/)
- [CoreDependencies](/api/interfaces/coredependencies/)
- [CoreModuleStore](/api/interfaces/coremodulestore/)
- [DiscordEventCommand](/api/interfaces/discordeventcommand/)
- [Disposable](/api/interfaces/disposable/)
- [Emitter](/api/interfaces/emitter/)
- [ErrorHandling](/api/interfaces/errorhandling/)
- [EventModuleDefs](/api/interfaces/eventmoduledefs/)
- [ExternalEventCommand](/api/interfaces/externaleventcommand/)
- [Init](/api/interfaces/init/)
- [InitPlugin](/api/interfaces/initplugin/)
- [Logging](/api/interfaces/logging/)
- [MentionableSelectCommand](/api/interfaces/mentionableselectcommand/)
- [ModalSubmitCommand](/api/interfaces/modalsubmitcommand/)
- [Plugin](/api/interfaces/plugin/)
- [RoleSelectCommand](/api/interfaces/roleselectcommand/)
- [SernAutocompleteData](/api/interfaces/sernautocompletedata/)
- [SernEventCommand](/api/interfaces/serneventcommand/)
- [SernEventsMapping](/api/interfaces/serneventsmapping/)
- [SernSubCommandData](/api/interfaces/sernsubcommanddata/)
- [SernSubCommandGroupData](/api/interfaces/sernsubcommandgroupdata/)
- [SlashCommand](/api/interfaces/slashcommand/)
- [StringSelectCommand](/api/interfaces/stringselectcommand/)
- [TextCommand](/api/interfaces/textcommand/)
- [UserSelectCommand](/api/interfaces/userselectcommand/)
- [Wrapper](/api/interfaces/wrapper/)
- [BothCommand](/v3/api/interfaces/bothcommand/)
- [ButtonCommand](/v3/api/interfaces/buttoncommand/)
- [ChannelSelectCommand](/v3/api/interfaces/channelselectcommand/)
- [CommandModuleDefs](/v3/api/interfaces/commandmoduledefs/)
- [ContextMenuMsg](/v3/api/interfaces/contextmenumsg/)
- [ContextMenuUser](/v3/api/interfaces/contextmenuuser/)
- [ControlPlugin](/v3/api/interfaces/controlplugin/)
- [Controller](/v3/api/interfaces/controller/)
- [CoreDependencies](/v3/api/interfaces/coredependencies/)
- [CoreModuleStore](/v3/api/interfaces/coremodulestore/)
- [DiscordEventCommand](/v3/api/interfaces/discordeventcommand/)
- [Disposable](/v3/api/interfaces/disposable/)
- [Emitter](/v3/api/interfaces/emitter/)
- [ErrorHandling](/v3/api/interfaces/errorhandling/)
- [EventModuleDefs](/v3/api/interfaces/eventmoduledefs/)
- [ExternalEventCommand](/v3/api/interfaces/externaleventcommand/)
- [Init](/v3/api/interfaces/init/)
- [InitPlugin](/v3/api/interfaces/initplugin/)
- [Logging](/v3/api/interfaces/logging/)
- [MentionableSelectCommand](/v3/api/interfaces/mentionableselectcommand/)
- [ModalSubmitCommand](/v3/api/interfaces/modalsubmitcommand/)
- [Plugin](/v3/api/interfaces/plugin/)
- [RoleSelectCommand](/v3/api/interfaces/roleselectcommand/)
- [SernAutocompleteData](/v3/api/interfaces/sernautocompletedata/)
- [SernEventCommand](/v3/api/interfaces/serneventcommand/)
- [SernEventsMapping](/v3/api/interfaces/serneventsmapping/)
- [SernSubCommandData](/v3/api/interfaces/sernsubcommanddata/)
- [SernSubCommandGroupData](/v3/api/interfaces/sernsubcommandgroupdata/)
- [SlashCommand](/v3/api/interfaces/slashcommand/)
- [StringSelectCommand](/v3/api/interfaces/stringselectcommand/)
- [TextCommand](/v3/api/interfaces/textcommand/)
- [UserSelectCommand](/v3/api/interfaces/userselectcommand/)
- [Wrapper](/v3/api/interfaces/wrapper/)
## Type Aliases
- [AnyCommandPlugin](/api/type-aliases/anycommandplugin/)
- [AnyEventPlugin](/api/type-aliases/anyeventplugin/)
- [Args](/api/type-aliases/args/)
- [CommandModule](/api/type-aliases/commandmodule/)
- [EventModule](/api/type-aliases/eventmodule/)
- [Initializable](/api/type-aliases/initializable/)
- [LogPayload](/api/type-aliases/logpayload/)
- [Payload](/api/type-aliases/payload/)
- [PluginResult](/api/type-aliases/pluginresult/)
- [SernOptionsData](/api/type-aliases/sernoptionsdata/)
- [Singleton](/api/type-aliases/singleton/)
- [SlashOptions](/api/type-aliases/slashoptions/)
- [Transient](/api/type-aliases/transient/)
- [AnyCommandPlugin](/v3/api/type-aliases/anycommandplugin/)
- [AnyEventPlugin](/v3/api/type-aliases/anyeventplugin/)
- [Args](/v3/api/type-aliases/args/)
- [CommandModule](/v3/api/type-aliases/commandmodule/)
- [EventModule](/v3/api/type-aliases/eventmodule/)
- [Initializable](/v3/api/type-aliases/initializable/)
- [LogPayload](/v3/api/type-aliases/logpayload/)
- [Payload](/v3/api/type-aliases/payload/)
- [PluginResult](/v3/api/type-aliases/pluginresult/)
- [SernOptionsData](/v3/api/type-aliases/sernoptionsdata/)
- [Singleton](/v3/api/type-aliases/singleton/)
- [SlashOptions](/v3/api/type-aliases/slashoptions/)
- [Transient](/v3/api/type-aliases/transient/)
## Variables
- [controller](/api/variables/controller/)
- [controller](/v3/api/variables/controller/)
## Functions
- [CommandControlPlugin](/api/functions/commandcontrolplugin/)
- [CommandInitPlugin](/api/functions/commandinitplugin/)
- [DiscordEventControlPlugin](/api/functions/discordeventcontrolplugin/)
- [EventControlPlugin](/api/functions/eventcontrolplugin/)
- [EventInitPlugin](/api/functions/eventinitplugin/)
- [Service](/api/functions/service/)
- [Services](/api/functions/services/)
- [commandModule](/api/functions/commandmodule/)
- [discordEvent](/api/functions/discordevent/)
- [eventModule](/api/functions/eventmodule/)
- [makeDependencies](/api/functions/makedependencies/)
- [makePlugin](/api/functions/makeplugin/)
- [single](/api/functions/single/)
- [transient](/api/functions/transient/)
- [CommandControlPlugin](/v3/api/functions/commandcontrolplugin/)
- [CommandInitPlugin](/v3/api/functions/commandinitplugin/)
- [DiscordEventControlPlugin](/v3/api/functions/discordeventcontrolplugin/)
- [EventControlPlugin](/v3/api/functions/eventcontrolplugin/)
- [EventInitPlugin](/v3/api/functions/eventinitplugin/)
- [Service](/v3/api/functions/service/)
- [Services](/v3/api/functions/services/)
- [commandModule](/v3/api/functions/commandmodule/)
- [discordEvent](/v3/api/functions/discordevent/)
- [eventModule](/v3/api/functions/eventmodule/)
- [makeDependencies](/v3/api/functions/makedependencies/)
- [makePlugin](/v3/api/functions/makeplugin/)
- [single](/v3/api/functions/single/)
- [transient](/v3/api/functions/transient/)

View File

@@ -272,7 +272,7 @@ else, interaction.user
### wrap()
> `static` **wrap**(`wrappable`): [`Context`](/api/classes/context/)
> `static` **wrap**(`wrappable`): [`Context`](/v3/api/classes/context/)
#### Parameters
@@ -280,7 +280,7 @@ else, interaction.user
#### Returns
[`Context`](/api/classes/context/)
[`Context`](/v3/api/classes/context/)
#### Overrides

View File

@@ -9,11 +9,11 @@ title: "ModuleStore"
### new ModuleStore()
> **new ModuleStore**(): [`ModuleStore`](/api/classes/modulestore/)
> **new ModuleStore**(): [`ModuleStore`](/v3/api/classes/modulestore/)
#### Returns
[`ModuleStore`](/api/classes/modulestore/)
[`ModuleStore`](/v3/api/classes/modulestore/)
## Properties

View File

@@ -5,11 +5,11 @@ prev: false
title: "CommandControlPlugin"
---
> **CommandControlPlugin**\<`I`\>(`execute`): [`Plugin`](/api/interfaces/plugin/)\<`unknown`[]\>
> **CommandControlPlugin**\<`I`\>(`execute`): [`Plugin`](/v3/api/interfaces/plugin/)\<`unknown`[]\>
## Type parameters
**I** *extends* [`CommandType`](/api/enumerations/commandtype/)
**I** *extends* [`CommandType`](/v3/api/enumerations/commandtype/)
## Parameters
@@ -17,7 +17,7 @@ title: "CommandControlPlugin"
## Returns
[`Plugin`](/api/interfaces/plugin/)\<`unknown`[]\>
[`Plugin`](/v3/api/interfaces/plugin/)\<`unknown`[]\>
## Since

View File

@@ -5,11 +5,11 @@ prev: false
title: "CommandInitPlugin"
---
> **CommandInitPlugin**\<`I`\>(`execute`): [`Plugin`](/api/interfaces/plugin/)\<`unknown`[]\>
> **CommandInitPlugin**\<`I`\>(`execute`): [`Plugin`](/v3/api/interfaces/plugin/)\<`unknown`[]\>
## Type parameters
**I** *extends* [`CommandType`](/api/enumerations/commandtype/)
**I** *extends* [`CommandType`](/v3/api/enumerations/commandtype/)
## Parameters
@@ -17,7 +17,7 @@ title: "CommandInitPlugin"
## Returns
[`Plugin`](/api/interfaces/plugin/)\<`unknown`[]\>
[`Plugin`](/v3/api/interfaces/plugin/)\<`unknown`[]\>
## Since

View File

@@ -5,7 +5,7 @@ prev: false
title: "DiscordEventControlPlugin"
---
> **DiscordEventControlPlugin**\<`T`\>(`name`, `execute`): [`Plugin`](/api/interfaces/plugin/)\<`unknown`[]\>
> **DiscordEventControlPlugin**\<`T`\>(`name`, `execute`): [`Plugin`](/v3/api/interfaces/plugin/)\<`unknown`[]\>
## Type parameters
@@ -19,7 +19,7 @@ title: "DiscordEventControlPlugin"
## Returns
[`Plugin`](/api/interfaces/plugin/)\<`unknown`[]\>
[`Plugin`](/v3/api/interfaces/plugin/)\<`unknown`[]\>
## Since

View File

@@ -5,11 +5,11 @@ prev: false
title: "EventControlPlugin"
---
> **EventControlPlugin**\<`I`\>(`execute`): [`Plugin`](/api/interfaces/plugin/)\<`unknown`[]\>
> **EventControlPlugin**\<`I`\>(`execute`): [`Plugin`](/v3/api/interfaces/plugin/)\<`unknown`[]\>
## Type parameters
**I** *extends* [`EventType`](/api/enumerations/eventtype/)
**I** *extends* [`EventType`](/v3/api/enumerations/eventtype/)
## Parameters
@@ -17,7 +17,7 @@ title: "EventControlPlugin"
## Returns
[`Plugin`](/api/interfaces/plugin/)\<`unknown`[]\>
[`Plugin`](/v3/api/interfaces/plugin/)\<`unknown`[]\>
## Since

View File

@@ -5,11 +5,11 @@ prev: false
title: "EventInitPlugin"
---
> **EventInitPlugin**\<`I`\>(`execute`): [`Plugin`](/api/interfaces/plugin/)\<`unknown`[]\>
> **EventInitPlugin**\<`I`\>(`execute`): [`Plugin`](/v3/api/interfaces/plugin/)\<`unknown`[]\>
## Type parameters
**I** *extends* [`EventType`](/api/enumerations/eventtype/)
**I** *extends* [`EventType`](/v3/api/enumerations/eventtype/)
## Parameters
@@ -17,7 +17,7 @@ title: "EventInitPlugin"
## Returns
[`Plugin`](/api/interfaces/plugin/)\<`unknown`[]\>
[`Plugin`](/v3/api/interfaces/plugin/)\<`unknown`[]\>
## Since

View File

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

View File

@@ -5,7 +5,7 @@ prev: false
title: "commandModule"
---
> **commandModule**(`mod`): [`CommandModule`](/api/type-aliases/commandmodule/)
> **commandModule**(`mod`): [`CommandModule`](/v3/api/type-aliases/commandmodule/)
## Parameters
@@ -13,7 +13,7 @@ title: "commandModule"
## Returns
[`CommandModule`](/api/type-aliases/commandmodule/)
[`CommandModule`](/v3/api/type-aliases/commandmodule/)
## Since

View File

@@ -5,10 +5,10 @@ prev: false
title: "discordEvent"
---
> **discordEvent**\<`T`\>(`mod`): [`EventModule`](/api/type-aliases/eventmodule/)
> **discordEvent**\<`T`\>(`mod`): [`EventModule`](/v3/api/type-aliases/eventmodule/)
Create event modules from discord.js client events,
This is an [eventModule](../../../../../../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
@@ -23,11 +23,11 @@ where typings can be very bad.
**mod.name**: `T`
**mod.plugins?**: [`AnyEventPlugin`](/api/type-aliases/anyeventplugin/)[]
**mod.plugins?**: [`AnyEventPlugin`](/v3/api/type-aliases/anyeventplugin/)[]
## Returns
[`EventModule`](/api/type-aliases/eventmodule/)
[`EventModule`](/v3/api/type-aliases/eventmodule/)
## Experimental

View File

@@ -5,7 +5,7 @@ prev: false
title: "eventModule"
---
> **eventModule**(`mod`): [`EventModule`](/api/type-aliases/eventmodule/)
> **eventModule**(`mod`): [`EventModule`](/v3/api/type-aliases/eventmodule/)
## Parameters
@@ -13,7 +13,7 @@ title: "eventModule"
## Returns
[`EventModule`](/api/type-aliases/eventmodule/)
[`EventModule`](/v3/api/type-aliases/eventmodule/)
## Since

View File

@@ -5,7 +5,7 @@ prev: false
title: "makePlugin"
---
> **makePlugin**\<`V`\>(`type`, `execute`): [`Plugin`](/api/interfaces/plugin/)\<`V`\>
> **makePlugin**\<`V`\>(`type`, `execute`): [`Plugin`](/v3/api/interfaces/plugin/)\<`V`\>
## Type parameters
@@ -13,13 +13,13 @@ title: "makePlugin"
## Parameters
**type**: [`PluginType`](/api/enumerations/plugintype/)
**type**: [`PluginType`](/v3/api/enumerations/plugintype/)
**execute**
## Returns
[`Plugin`](/api/interfaces/plugin/)\<`V`\>
[`Plugin`](/v3/api/interfaces/plugin/)\<`V`\>
## Source

View File

@@ -41,9 +41,9 @@ title: "BothCommand"
#### Parameters
**ctx**: [`Context`](/api/classes/context/)
**ctx**: [`Context`](/v3/api/classes/context/)
**args**: [`Args`](/api/type-aliases/args/)
**args**: [`Args`](/v3/api/type-aliases/args/)
#### Returns
@@ -75,7 +75,7 @@ title: "BothCommand"
### onEvent
> **onEvent**: [`ControlPlugin`](/api/interfaces/controlplugin/)\<`any`[]\>[]
> **onEvent**: [`ControlPlugin`](/v3/api/interfaces/controlplugin/)\<`any`[]\>[]
#### Inherited from
@@ -89,7 +89,7 @@ title: "BothCommand"
### options?
> `optional` **options**: [`SernOptionsData`](/api/type-aliases/sernoptionsdata/)[]
> `optional` **options**: [`SernOptionsData`](/v3/api/type-aliases/sernoptionsdata/)[]
#### Source
@@ -99,7 +99,7 @@ title: "BothCommand"
### plugins
> **plugins**: [`InitPlugin`](/api/interfaces/initplugin/)\<`any`[]\>[]
> **plugins**: [`InitPlugin`](/v3/api/interfaces/initplugin/)\<`any`[]\>[]
#### Inherited from
@@ -113,7 +113,7 @@ title: "BothCommand"
### type
> **type**: [`Both`](/api/enumerations/commandtype/#both)
> **type**: [`Both`](/v3/api/enumerations/commandtype/#both)
#### Overrides

View File

@@ -63,7 +63,7 @@ title: "ButtonCommand"
### onEvent
> **onEvent**: [`ControlPlugin`](/api/interfaces/controlplugin/)\<`any`[]\>[]
> **onEvent**: [`ControlPlugin`](/v3/api/interfaces/controlplugin/)\<`any`[]\>[]
#### Inherited from
@@ -77,7 +77,7 @@ title: "ButtonCommand"
### plugins
> **plugins**: [`InitPlugin`](/api/interfaces/initplugin/)\<`any`[]\>[]
> **plugins**: [`InitPlugin`](/v3/api/interfaces/initplugin/)\<`any`[]\>[]
#### Inherited from
@@ -91,7 +91,7 @@ title: "ButtonCommand"
### type
> **type**: [`Button`](/api/enumerations/commandtype/#button)
> **type**: [`Button`](/v3/api/enumerations/commandtype/#button)
#### Overrides

View File

@@ -63,7 +63,7 @@ title: "ChannelSelectCommand"
### onEvent
> **onEvent**: [`ControlPlugin`](/api/interfaces/controlplugin/)\<`any`[]\>[]
> **onEvent**: [`ControlPlugin`](/v3/api/interfaces/controlplugin/)\<`any`[]\>[]
#### Inherited from
@@ -77,7 +77,7 @@ title: "ChannelSelectCommand"
### plugins
> **plugins**: [`InitPlugin`](/api/interfaces/initplugin/)\<`any`[]\>[]
> **plugins**: [`InitPlugin`](/v3/api/interfaces/initplugin/)\<`any`[]\>[]
#### Inherited from
@@ -91,7 +91,7 @@ title: "ChannelSelectCommand"
### type
> **type**: [`ChannelSelect`](/api/enumerations/commandtype/#channelselect)
> **type**: [`ChannelSelect`](/v3/api/enumerations/commandtype/#channelselect)
#### Overrides

View File

@@ -9,7 +9,7 @@ title: "CommandModuleDefs"
### 1
> **1**: [`TextCommand`](/api/interfaces/textcommand/)
> **1**: [`TextCommand`](/v3/api/interfaces/textcommand/)
#### Source
@@ -19,7 +19,7 @@ title: "CommandModuleDefs"
### 1024
> **1024**: [`ChannelSelectCommand`](/api/interfaces/channelselectcommand/)
> **1024**: [`ChannelSelectCommand`](/v3/api/interfaces/channelselectcommand/)
#### Source
@@ -29,7 +29,7 @@ title: "CommandModuleDefs"
### 128
> **128**: [`UserSelectCommand`](/api/interfaces/userselectcommand/)
> **128**: [`UserSelectCommand`](/v3/api/interfaces/userselectcommand/)
#### Source
@@ -39,7 +39,7 @@ title: "CommandModuleDefs"
### 16
> **16**: [`ButtonCommand`](/api/interfaces/buttoncommand/)
> **16**: [`ButtonCommand`](/v3/api/interfaces/buttoncommand/)
#### Source
@@ -49,7 +49,7 @@ title: "CommandModuleDefs"
### 2
> **2**: [`SlashCommand`](/api/interfaces/slashcommand/)
> **2**: [`SlashCommand`](/v3/api/interfaces/slashcommand/)
#### Source
@@ -59,7 +59,7 @@ title: "CommandModuleDefs"
### 256
> **256**: [`RoleSelectCommand`](/api/interfaces/roleselectcommand/)
> **256**: [`RoleSelectCommand`](/v3/api/interfaces/roleselectcommand/)
#### Source
@@ -69,7 +69,7 @@ title: "CommandModuleDefs"
### 3
> **3**: [`BothCommand`](/api/interfaces/bothcommand/)
> **3**: [`BothCommand`](/v3/api/interfaces/bothcommand/)
#### Source
@@ -79,7 +79,7 @@ title: "CommandModuleDefs"
### 32
> **32**: [`StringSelectCommand`](/api/interfaces/stringselectcommand/)
> **32**: [`StringSelectCommand`](/v3/api/interfaces/stringselectcommand/)
#### Source
@@ -89,7 +89,7 @@ title: "CommandModuleDefs"
### 4
> **4**: [`ContextMenuUser`](/api/interfaces/contextmenuuser/)
> **4**: [`ContextMenuUser`](/v3/api/interfaces/contextmenuuser/)
#### Source
@@ -99,7 +99,7 @@ title: "CommandModuleDefs"
### 512
> **512**: [`MentionableSelectCommand`](/api/interfaces/mentionableselectcommand/)
> **512**: [`MentionableSelectCommand`](/v3/api/interfaces/mentionableselectcommand/)
#### Source
@@ -109,7 +109,7 @@ title: "CommandModuleDefs"
### 64
> **64**: [`ModalSubmitCommand`](/api/interfaces/modalsubmitcommand/)
> **64**: [`ModalSubmitCommand`](/v3/api/interfaces/modalsubmitcommand/)
#### Source
@@ -119,7 +119,7 @@ title: "CommandModuleDefs"
### 8
> **8**: [`ContextMenuMsg`](/api/interfaces/contextmenumsg/)
> **8**: [`ContextMenuMsg`](/v3/api/interfaces/contextmenumsg/)
#### Source

View File

@@ -63,7 +63,7 @@ title: "ContextMenuMsg"
### onEvent
> **onEvent**: [`ControlPlugin`](/api/interfaces/controlplugin/)\<`any`[]\>[]
> **onEvent**: [`ControlPlugin`](/v3/api/interfaces/controlplugin/)\<`any`[]\>[]
#### Inherited from
@@ -77,7 +77,7 @@ title: "ContextMenuMsg"
### plugins
> **plugins**: [`InitPlugin`](/api/interfaces/initplugin/)\<`any`[]\>[]
> **plugins**: [`InitPlugin`](/v3/api/interfaces/initplugin/)\<`any`[]\>[]
#### Inherited from
@@ -91,7 +91,7 @@ title: "ContextMenuMsg"
### type
> **type**: [`CtxMsg`](/api/enumerations/commandtype/#ctxmsg)
> **type**: [`CtxMsg`](/v3/api/enumerations/commandtype/#ctxmsg)
#### Overrides

View File

@@ -63,7 +63,7 @@ title: "ContextMenuUser"
### onEvent
> **onEvent**: [`ControlPlugin`](/api/interfaces/controlplugin/)\<`any`[]\>[]
> **onEvent**: [`ControlPlugin`](/v3/api/interfaces/controlplugin/)\<`any`[]\>[]
#### Inherited from
@@ -77,7 +77,7 @@ title: "ContextMenuUser"
### plugins
> **plugins**: [`InitPlugin`](/api/interfaces/initplugin/)\<`any`[]\>[]
> **plugins**: [`InitPlugin`](/v3/api/interfaces/initplugin/)\<`any`[]\>[]
#### Inherited from
@@ -91,7 +91,7 @@ title: "ContextMenuUser"
### type
> **type**: [`CtxUser`](/api/enumerations/commandtype/#ctxuser)
> **type**: [`CtxUser`](/v3/api/enumerations/commandtype/#ctxuser)
#### Overrides

View File

@@ -13,7 +13,7 @@ title: "ControlPlugin"
### execute()
> **execute**: (...`args`) => [`PluginResult`](/api/type-aliases/pluginresult/)
> **execute**: (...`args`) => [`PluginResult`](/v3/api/type-aliases/pluginresult/)
#### Parameters
@@ -21,7 +21,7 @@ title: "ControlPlugin"
#### Returns
[`PluginResult`](/api/type-aliases/pluginresult/)
[`PluginResult`](/v3/api/type-aliases/pluginresult/)
#### Source
@@ -31,7 +31,7 @@ title: "ControlPlugin"
### type
> **type**: [`Control`](/api/enumerations/plugintype/#control)
> **type**: [`Control`](/v3/api/enumerations/plugintype/#control)
#### Source

View File

@@ -9,11 +9,11 @@ title: "CoreDependencies"
### @sern/client()
> **@sern/client**: () => [`Emitter`](/api/interfaces/emitter/)
> **@sern/client**: () => [`Emitter`](/v3/api/interfaces/emitter/)
#### Returns
[`Emitter`](/api/interfaces/emitter/)
[`Emitter`](/v3/api/interfaces/emitter/)
#### Source
@@ -23,11 +23,11 @@ title: "CoreDependencies"
### @sern/emitter()
> **@sern/emitter**: () => [`Emitter`](/api/interfaces/emitter/)
> **@sern/emitter**: () => [`Emitter`](/v3/api/interfaces/emitter/)
#### Returns
[`Emitter`](/api/interfaces/emitter/)
[`Emitter`](/v3/api/interfaces/emitter/)
#### Source
@@ -37,11 +37,11 @@ title: "CoreDependencies"
### @sern/errors()
> **@sern/errors**: () => [`ErrorHandling`](/api/interfaces/errorhandling/)
> **@sern/errors**: () => [`ErrorHandling`](/v3/api/interfaces/errorhandling/)
#### Returns
[`ErrorHandling`](/api/interfaces/errorhandling/)
[`ErrorHandling`](/v3/api/interfaces/errorhandling/)
#### Source
@@ -51,11 +51,11 @@ title: "CoreDependencies"
### @sern/logger()?
> `optional` **@sern/logger**: () => [`Logging`](/api/interfaces/logging/)\<`unknown`\>
> `optional` **@sern/logger**: () => [`Logging`](/v3/api/interfaces/logging/)\<`unknown`\>
#### Returns
[`Logging`](/api/interfaces/logging/)\<`unknown`\>
[`Logging`](/v3/api/interfaces/logging/)\<`unknown`\>
#### Source
@@ -79,7 +79,7 @@ title: "CoreDependencies"
### ~~@sern/store()~~
> **@sern/store**: () => [`CoreModuleStore`](/api/interfaces/coremodulestore/)
> **@sern/store**: () => [`CoreModuleStore`](/v3/api/interfaces/coremodulestore/)
:::caution[Deprecated]
Will be removed and turned internal
@@ -87,7 +87,7 @@ Will be removed and turned internal
#### Returns
[`CoreModuleStore`](/api/interfaces/coremodulestore/)
[`CoreModuleStore`](/v3/api/interfaces/coremodulestore/)
#### Source

View File

@@ -45,7 +45,7 @@ title: "DiscordEventCommand"
### onEvent
> **onEvent**: [`ControlPlugin`](/api/interfaces/controlplugin/)\<`any`[]\>[]
> **onEvent**: [`ControlPlugin`](/v3/api/interfaces/controlplugin/)\<`any`[]\>[]
#### Inherited from
@@ -59,7 +59,7 @@ title: "DiscordEventCommand"
### plugins
> **plugins**: [`InitPlugin`](/api/interfaces/initplugin/)\<`any`[]\>[]
> **plugins**: [`InitPlugin`](/v3/api/interfaces/initplugin/)\<`any`[]\>[]
#### Inherited from
@@ -73,7 +73,7 @@ title: "DiscordEventCommand"
### type
> **type**: [`Discord`](/api/enumerations/eventtype/#discord)
> **type**: [`Discord`](/v3/api/enumerations/eventtype/#discord)
#### Overrides

View File

@@ -9,7 +9,7 @@ title: "EventModuleDefs"
### 1
> **1**: [`DiscordEventCommand`](/api/interfaces/discordeventcommand/)\<keyof `ClientEvents`\>
> **1**: [`DiscordEventCommand`](/v3/api/interfaces/discordeventcommand/)\<keyof `ClientEvents`\>
#### Source
@@ -19,7 +19,7 @@ title: "EventModuleDefs"
### 2
> **2**: [`SernEventCommand`](/api/interfaces/serneventcommand/)\<keyof [`SernEventsMapping`](/api/interfaces/serneventsmapping/)\>
> **2**: [`SernEventCommand`](/v3/api/interfaces/serneventcommand/)\<keyof [`SernEventsMapping`](/v3/api/interfaces/serneventsmapping/)\>
#### Source
@@ -29,7 +29,7 @@ title: "EventModuleDefs"
### 3
> **3**: [`ExternalEventCommand`](/api/interfaces/externaleventcommand/)
> **3**: [`ExternalEventCommand`](/v3/api/interfaces/externaleventcommand/)
#### Source

View File

@@ -51,7 +51,7 @@ title: "ExternalEventCommand"
### onEvent
> **onEvent**: [`ControlPlugin`](/api/interfaces/controlplugin/)\<`any`[]\>[]
> **onEvent**: [`ControlPlugin`](/v3/api/interfaces/controlplugin/)\<`any`[]\>[]
#### Inherited from
@@ -65,7 +65,7 @@ title: "ExternalEventCommand"
### plugins
> **plugins**: [`InitPlugin`](/api/interfaces/initplugin/)\<`any`[]\>[]
> **plugins**: [`InitPlugin`](/v3/api/interfaces/initplugin/)\<`any`[]\>[]
#### Inherited from
@@ -79,7 +79,7 @@ title: "ExternalEventCommand"
### type
> **type**: [`External`](/api/enumerations/eventtype/#external)
> **type**: [`External`](/v3/api/enumerations/eventtype/#external)
#### Overrides

View File

@@ -13,7 +13,7 @@ title: "InitPlugin"
### execute()
> **execute**: (...`args`) => [`PluginResult`](/api/type-aliases/pluginresult/)
> **execute**: (...`args`) => [`PluginResult`](/v3/api/type-aliases/pluginresult/)
#### Parameters
@@ -21,7 +21,7 @@ title: "InitPlugin"
#### Returns
[`PluginResult`](/api/type-aliases/pluginresult/)
[`PluginResult`](/v3/api/type-aliases/pluginresult/)
#### Source
@@ -31,7 +31,7 @@ title: "InitPlugin"
### type
> **type**: [`Init`](/api/enumerations/plugintype/#init)
> **type**: [`Init`](/v3/api/enumerations/plugintype/#init)
#### Source

View File

@@ -21,7 +21,7 @@ title: "Logging"
#### Parameters
**payload**: [`LogPayload`](/api/type-aliases/logpayload/)\<`T`\>
**payload**: [`LogPayload`](/v3/api/type-aliases/logpayload/)\<`T`\>
#### Returns
@@ -39,7 +39,7 @@ title: "Logging"
#### Parameters
**payload**: [`LogPayload`](/api/type-aliases/logpayload/)\<`T`\>
**payload**: [`LogPayload`](/v3/api/type-aliases/logpayload/)\<`T`\>
#### Returns
@@ -57,7 +57,7 @@ title: "Logging"
#### Parameters
**payload**: [`LogPayload`](/api/type-aliases/logpayload/)\<`T`\>
**payload**: [`LogPayload`](/v3/api/type-aliases/logpayload/)\<`T`\>
#### Returns
@@ -75,7 +75,7 @@ title: "Logging"
#### Parameters
**payload**: [`LogPayload`](/api/type-aliases/logpayload/)\<`T`\>
**payload**: [`LogPayload`](/v3/api/type-aliases/logpayload/)\<`T`\>
#### Returns

View File

@@ -63,7 +63,7 @@ title: "MentionableSelectCommand"
### onEvent
> **onEvent**: [`ControlPlugin`](/api/interfaces/controlplugin/)\<`any`[]\>[]
> **onEvent**: [`ControlPlugin`](/v3/api/interfaces/controlplugin/)\<`any`[]\>[]
#### Inherited from
@@ -77,7 +77,7 @@ title: "MentionableSelectCommand"
### plugins
> **plugins**: [`InitPlugin`](/api/interfaces/initplugin/)\<`any`[]\>[]
> **plugins**: [`InitPlugin`](/v3/api/interfaces/initplugin/)\<`any`[]\>[]
#### Inherited from
@@ -91,7 +91,7 @@ title: "MentionableSelectCommand"
### type
> **type**: [`MentionableSelect`](/api/enumerations/commandtype/#mentionableselect)
> **type**: [`MentionableSelect`](/v3/api/enumerations/commandtype/#mentionableselect)
#### Overrides

View File

@@ -63,7 +63,7 @@ title: "ModalSubmitCommand"
### onEvent
> **onEvent**: [`ControlPlugin`](/api/interfaces/controlplugin/)\<`any`[]\>[]
> **onEvent**: [`ControlPlugin`](/v3/api/interfaces/controlplugin/)\<`any`[]\>[]
#### Inherited from
@@ -77,7 +77,7 @@ title: "ModalSubmitCommand"
### plugins
> **plugins**: [`InitPlugin`](/api/interfaces/initplugin/)\<`any`[]\>[]
> **plugins**: [`InitPlugin`](/v3/api/interfaces/initplugin/)\<`any`[]\>[]
#### Inherited from
@@ -91,7 +91,7 @@ title: "ModalSubmitCommand"
### type
> **type**: [`Modal`](/api/enumerations/commandtype/#modal)
> **type**: [`Modal`](/v3/api/enumerations/commandtype/#modal)
#### Overrides

View File

@@ -13,7 +13,7 @@ title: "Plugin"
### execute()
> **execute**: (...`args`) => [`PluginResult`](/api/type-aliases/pluginresult/)
> **execute**: (...`args`) => [`PluginResult`](/v3/api/type-aliases/pluginresult/)
#### Parameters
@@ -21,7 +21,7 @@ title: "Plugin"
#### Returns
[`PluginResult`](/api/type-aliases/pluginresult/)
[`PluginResult`](/v3/api/type-aliases/pluginresult/)
#### Source
@@ -31,7 +31,7 @@ title: "Plugin"
### type
> **type**: [`PluginType`](/api/enumerations/plugintype/)
> **type**: [`PluginType`](/v3/api/enumerations/plugintype/)
#### Source

View File

@@ -63,7 +63,7 @@ title: "RoleSelectCommand"
### onEvent
> **onEvent**: [`ControlPlugin`](/api/interfaces/controlplugin/)\<`any`[]\>[]
> **onEvent**: [`ControlPlugin`](/v3/api/interfaces/controlplugin/)\<`any`[]\>[]
#### Inherited from
@@ -77,7 +77,7 @@ title: "RoleSelectCommand"
### plugins
> **plugins**: [`InitPlugin`](/api/interfaces/initplugin/)\<`any`[]\>[]
> **plugins**: [`InitPlugin`](/v3/api/interfaces/initplugin/)\<`any`[]\>[]
#### Inherited from
@@ -91,7 +91,7 @@ title: "RoleSelectCommand"
### type
> **type**: [`RoleSelect`](/api/enumerations/commandtype/#roleselect)
> **type**: [`RoleSelect`](/v3/api/enumerations/commandtype/#roleselect)
#### Overrides

View File

@@ -11,7 +11,7 @@ title: "SernEventCommand"
## Type parameters
**T** *extends* keyof [`SernEventsMapping`](/api/interfaces/serneventsmapping/) = keyof [`SernEventsMapping`](/api/interfaces/serneventsmapping/)
**T** *extends* keyof [`SernEventsMapping`](/v3/api/interfaces/serneventsmapping/) = keyof [`SernEventsMapping`](/v3/api/interfaces/serneventsmapping/)
## Properties
@@ -45,7 +45,7 @@ title: "SernEventCommand"
### onEvent
> **onEvent**: [`ControlPlugin`](/api/interfaces/controlplugin/)\<`any`[]\>[]
> **onEvent**: [`ControlPlugin`](/v3/api/interfaces/controlplugin/)\<`any`[]\>[]
#### Inherited from
@@ -59,7 +59,7 @@ title: "SernEventCommand"
### plugins
> **plugins**: [`InitPlugin`](/api/interfaces/initplugin/)\<`any`[]\>[]
> **plugins**: [`InitPlugin`](/v3/api/interfaces/initplugin/)\<`any`[]\>[]
#### Inherited from
@@ -73,7 +73,7 @@ title: "SernEventCommand"
### type
> **type**: [`Sern`](/api/enumerations/eventtype/#sern)
> **type**: [`Sern`](/v3/api/enumerations/eventtype/#sern)
#### Overrides
@@ -91,7 +91,7 @@ title: "SernEventCommand"
#### Parameters
• ...**args**: [`SernEventsMapping`](/api/interfaces/serneventsmapping/)\[`T`\]
• ...**args**: [`SernEventsMapping`](/v3/api/interfaces/serneventsmapping/)\[`T`\]
#### Returns

View File

@@ -19,7 +19,7 @@ title: "SernEventsMapping"
### module.activate
> **module.activate**: [[`Payload`](/api/type-aliases/payload/)]
> **module.activate**: [[`Payload`](/v3/api/type-aliases/payload/)]
#### Source
@@ -29,7 +29,7 @@ title: "SernEventsMapping"
### module.register
> **module.register**: [[`Payload`](/api/type-aliases/payload/)]
> **module.register**: [[`Payload`](/v3/api/type-aliases/payload/)]
#### Source
@@ -49,7 +49,7 @@ title: "SernEventsMapping"
### warning
> **warning**: [[`Payload`](/api/type-aliases/payload/)]
> **warning**: [[`Payload`](/v3/api/type-aliases/payload/)]
#### Source

View File

@@ -69,7 +69,7 @@ node\_modules/discord-api-types/payloads/v10/\_interactions/\_applicationCommand
### options?
> `optional` **options**: [`SernOptionsData`](/api/type-aliases/sernoptionsdata/)[]
> `optional` **options**: [`SernOptionsData`](/v3/api/type-aliases/sernoptionsdata/)[]
#### Source

View File

@@ -83,7 +83,7 @@ node\_modules/discord.js/typings/index.d.ts:4710
### options?
> `optional` **options**: [`SernSubCommandData`](/api/interfaces/sernsubcommanddata/)[]
> `optional` **options**: [`SernSubCommandData`](/v3/api/interfaces/sernsubcommanddata/)[]
#### Source

View File

@@ -31,9 +31,9 @@ title: "SlashCommand"
#### Parameters
**ctx**: [`Context`](/api/classes/context/)
**ctx**: [`Context`](/v3/api/classes/context/)
**args**: [`"slash"`, [`SlashOptions`](/api/type-aliases/slashoptions/)]
**args**: [`"slash"`, [`SlashOptions`](/v3/api/type-aliases/slashoptions/)]
#### Returns
@@ -65,7 +65,7 @@ title: "SlashCommand"
### onEvent
> **onEvent**: [`ControlPlugin`](/api/interfaces/controlplugin/)\<`any`[]\>[]
> **onEvent**: [`ControlPlugin`](/v3/api/interfaces/controlplugin/)\<`any`[]\>[]
#### Inherited from
@@ -79,7 +79,7 @@ title: "SlashCommand"
### options?
> `optional` **options**: [`SernOptionsData`](/api/type-aliases/sernoptionsdata/)[]
> `optional` **options**: [`SernOptionsData`](/v3/api/type-aliases/sernoptionsdata/)[]
#### Source
@@ -89,7 +89,7 @@ title: "SlashCommand"
### plugins
> **plugins**: [`InitPlugin`](/api/interfaces/initplugin/)\<`any`[]\>[]
> **plugins**: [`InitPlugin`](/v3/api/interfaces/initplugin/)\<`any`[]\>[]
#### Inherited from
@@ -103,7 +103,7 @@ title: "SlashCommand"
### type
> **type**: [`Slash`](/api/enumerations/commandtype/#slash)
> **type**: [`Slash`](/v3/api/enumerations/commandtype/#slash)
#### Overrides

View File

@@ -63,7 +63,7 @@ title: "StringSelectCommand"
### onEvent
> **onEvent**: [`ControlPlugin`](/api/interfaces/controlplugin/)\<`any`[]\>[]
> **onEvent**: [`ControlPlugin`](/v3/api/interfaces/controlplugin/)\<`any`[]\>[]
#### Inherited from
@@ -77,7 +77,7 @@ title: "StringSelectCommand"
### plugins
> **plugins**: [`InitPlugin`](/api/interfaces/initplugin/)\<`any`[]\>[]
> **plugins**: [`InitPlugin`](/v3/api/interfaces/initplugin/)\<`any`[]\>[]
#### Inherited from
@@ -91,7 +91,7 @@ title: "StringSelectCommand"
### type
> **type**: [`StringSelect`](/api/enumerations/commandtype/#stringselect)
> **type**: [`StringSelect`](/v3/api/enumerations/commandtype/#stringselect)
#### Overrides

View File

@@ -41,7 +41,7 @@ title: "TextCommand"
#### Parameters
**ctx**: [`Context`](/api/classes/context/)
**ctx**: [`Context`](/v3/api/classes/context/)
**args**: [`"text"`, `string`[]]
@@ -75,7 +75,7 @@ title: "TextCommand"
### onEvent
> **onEvent**: [`ControlPlugin`](/api/interfaces/controlplugin/)\<`any`[]\>[]
> **onEvent**: [`ControlPlugin`](/v3/api/interfaces/controlplugin/)\<`any`[]\>[]
#### Inherited from
@@ -89,7 +89,7 @@ title: "TextCommand"
### plugins
> **plugins**: [`InitPlugin`](/api/interfaces/initplugin/)\<`any`[]\>[]
> **plugins**: [`InitPlugin`](/v3/api/interfaces/initplugin/)\<`any`[]\>[]
#### Inherited from
@@ -103,7 +103,7 @@ title: "TextCommand"
### type
> **type**: [`Text`](/api/enumerations/commandtype/#text)
> **type**: [`Text`](/v3/api/enumerations/commandtype/#text)
#### Overrides

View File

@@ -63,7 +63,7 @@ title: "UserSelectCommand"
### onEvent
> **onEvent**: [`ControlPlugin`](/api/interfaces/controlplugin/)\<`any`[]\>[]
> **onEvent**: [`ControlPlugin`](/v3/api/interfaces/controlplugin/)\<`any`[]\>[]
#### Inherited from
@@ -77,7 +77,7 @@ title: "UserSelectCommand"
### plugins
> **plugins**: [`InitPlugin`](/api/interfaces/initplugin/)\<`any`[]\>[]
> **plugins**: [`InitPlugin`](/v3/api/interfaces/initplugin/)\<`any`[]\>[]
#### Inherited from
@@ -91,7 +91,7 @@ title: "UserSelectCommand"
### type
> **type**: [`UserSelect`](/api/enumerations/commandtype/#userselect)
> **type**: [`UserSelect`](/v3/api/enumerations/commandtype/#userselect)
#### Overrides

View File

@@ -5,7 +5,7 @@ prev: false
title: "module"
---
> **module**\<`T`\>(`conf`): [`Config`](/api/namespaces/presence/type-aliases/config/)\<`T`\>
> **module**\<`T`\>(`conf`): [`Config`](/v3/api/namespaces/presence/type-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,11 +17,11 @@ adjacent to the file where **Sern.init** is CALLED.
## Parameters
**conf**: [`Config`](/api/namespaces/presence/type-aliases/config/)\<`T`\>
**conf**: [`Config`](/v3/api/namespaces/presence/type-aliases/config/)\<`T`\>
## Returns
[`Config`](/api/namespaces/presence/type-aliases/config/)\<`T`\>
[`Config`](/v3/api/namespaces/presence/type-aliases/config/)\<`T`\>
## Source

View File

@@ -13,7 +13,7 @@ Create a Presence body which can be either:
## Parameters
**root**: `Omit`\<[`Result`](/api/namespaces/presence/interfaces/result/), `"repeat"` \| `"onRepeat"`\>
**root**: `Omit`\<[`Result`](/v3/api/namespaces/presence/interfaces/result/), `"repeat"` \| `"onRepeat"`\>
## Returns
@@ -21,7 +21,7 @@ Create a Presence body which can be either:
### once()
> **once**: () => `Omit`\<[`Result`](/api/namespaces/presence/interfaces/result/), `"repeat"` \| `"onRepeat"`\>
> **once**: () => `Omit`\<[`Result`](/v3/api/namespaces/presence/interfaces/result/), `"repeat"` \| `"onRepeat"`\>
#### Example
@@ -37,7 +37,7 @@ Presence
#### Returns
`Omit`\<[`Result`](/api/namespaces/presence/interfaces/result/), `"repeat"` \| `"onRepeat"`\>
`Omit`\<[`Result`](/v3/api/namespaces/presence/interfaces/result/), `"repeat"` \| `"onRepeat"`\>
### repeated()
@@ -62,7 +62,7 @@ Presence
**onRepeat**: `PresenceReduce`
**repeat**: `number` \| [[`Emitter`](/api/interfaces/emitter/), `string`]
**repeat**: `number` \| [[`Emitter`](/v3/api/interfaces/emitter/), `string`]
#### Returns
@@ -82,7 +82,7 @@ Presence
##### repeat
> **repeat**: `number` \| [[`Emitter`](/api/interfaces/emitter/), `string`]
> **repeat**: `number` \| [[`Emitter`](/v3/api/interfaces/emitter/), `string`]
##### shardId?

View File

@@ -29,15 +29,15 @@ title: "Result"
### onRepeat()?
> `optional` **onRepeat**: (`previous`) => [`Result`](/api/namespaces/presence/interfaces/result/)
> `optional` **onRepeat**: (`previous`) => [`Result`](/v3/api/namespaces/presence/interfaces/result/)
#### Parameters
**previous**: [`Result`](/api/namespaces/presence/interfaces/result/)
**previous**: [`Result`](/v3/api/namespaces/presence/interfaces/result/)
#### Returns
[`Result`](/api/namespaces/presence/interfaces/result/)
[`Result`](/v3/api/namespaces/presence/interfaces/result/)
#### Source
@@ -47,7 +47,7 @@ title: "Result"
### repeat?
> `optional` **repeat**: `number` \| [[`Emitter`](/api/interfaces/emitter/), `string`]
> `optional` **repeat**: `number` \| [[`Emitter`](/v3/api/interfaces/emitter/), `string`]
#### Source

View File

@@ -15,7 +15,7 @@ title: "Config"
### execute()
> **execute**: (...`v`) => [`Result`](/api/namespaces/presence/interfaces/result/)
> **execute**: (...`v`) => [`Result`](/v3/api/namespaces/presence/interfaces/result/)
#### Parameters
@@ -23,7 +23,7 @@ title: "Config"
#### Returns
[`Result`](/api/namespaces/presence/interfaces/result/)
[`Result`](/v3/api/namespaces/presence/interfaces/result/)
### inject?

View File

@@ -9,7 +9,7 @@ title: "init"
## Parameters
**maybeWrapper**: [`Wrapper`](/api/interfaces/wrapper/) \| `"file"`
**maybeWrapper**: [`Wrapper`](/v3/api/interfaces/wrapper/) \| `"file"`
## Returns

View File

@@ -5,7 +5,7 @@ prev: false
title: "AnyCommandPlugin"
---
> **AnyCommandPlugin**: [`ControlPlugin`](/api/interfaces/controlplugin/) \| [`InitPlugin`](/api/interfaces/initplugin/)\<[`InitArgs`\<`Processed`\<[`CommandModule`](/api/type-aliases/commandmodule/)\>\>]\>
> **AnyCommandPlugin**: [`ControlPlugin`](/v3/api/interfaces/controlplugin/) \| [`InitPlugin`](/v3/api/interfaces/initplugin/)\<[`InitArgs`\<`Processed`\<[`CommandModule`](/v3/api/type-aliases/commandmodule/)\>\>]\>
## Source

View File

@@ -5,7 +5,7 @@ prev: false
title: "AnyEventPlugin"
---
> **AnyEventPlugin**: [`ControlPlugin`](/api/interfaces/controlplugin/) \| [`InitPlugin`](/api/interfaces/initplugin/)\<[`InitArgs`\<`Processed`\<[`EventModule`](/api/type-aliases/eventmodule/)\>\>]\>
> **AnyEventPlugin**: [`ControlPlugin`](/v3/api/interfaces/controlplugin/) \| [`InitPlugin`](/v3/api/interfaces/initplugin/)\<[`InitArgs`\<`Processed`\<[`EventModule`](/v3/api/type-aliases/eventmodule/)\>\>]\>
## Source

View File

@@ -11,7 +11,7 @@ title: "Args"
### slash
> **slash**: [`SlashOptions`](/api/type-aliases/slashoptions/)
> **slash**: [`SlashOptions`](/v3/api/type-aliases/slashoptions/)
### text

View File

@@ -5,7 +5,7 @@ prev: false
title: "CommandModule"
---
> **CommandModule**: [`TextCommand`](/api/interfaces/textcommand/) \| [`SlashCommand`](/api/interfaces/slashcommand/) \| [`BothCommand`](/api/interfaces/bothcommand/) \| [`ContextMenuUser`](/api/interfaces/contextmenuuser/) \| [`ContextMenuMsg`](/api/interfaces/contextmenumsg/) \| [`ButtonCommand`](/api/interfaces/buttoncommand/) \| [`StringSelectCommand`](/api/interfaces/stringselectcommand/) \| [`MentionableSelectCommand`](/api/interfaces/mentionableselectcommand/) \| [`UserSelectCommand`](/api/interfaces/userselectcommand/) \| [`ChannelSelectCommand`](/api/interfaces/channelselectcommand/) \| [`RoleSelectCommand`](/api/interfaces/roleselectcommand/) \| [`ModalSubmitCommand`](/api/interfaces/modalsubmitcommand/)
> **CommandModule**: [`TextCommand`](/v3/api/interfaces/textcommand/) \| [`SlashCommand`](/v3/api/interfaces/slashcommand/) \| [`BothCommand`](/v3/api/interfaces/bothcommand/) \| [`ContextMenuUser`](/v3/api/interfaces/contextmenuuser/) \| [`ContextMenuMsg`](/v3/api/interfaces/contextmenumsg/) \| [`ButtonCommand`](/v3/api/interfaces/buttoncommand/) \| [`StringSelectCommand`](/v3/api/interfaces/stringselectcommand/) \| [`MentionableSelectCommand`](/v3/api/interfaces/mentionableselectcommand/) \| [`UserSelectCommand`](/v3/api/interfaces/userselectcommand/) \| [`ChannelSelectCommand`](/v3/api/interfaces/channelselectcommand/) \| [`RoleSelectCommand`](/v3/api/interfaces/roleselectcommand/) \| [`ModalSubmitCommand`](/v3/api/interfaces/modalsubmitcommand/)
## Source

View File

@@ -5,7 +5,7 @@ prev: false
title: "EventModule"
---
> **EventModule**: [`DiscordEventCommand`](/api/interfaces/discordeventcommand/) \| [`SernEventCommand`](/api/interfaces/serneventcommand/) \| [`ExternalEventCommand`](/api/interfaces/externaleventcommand/)
> **EventModule**: [`DiscordEventCommand`](/v3/api/interfaces/discordeventcommand/) \| [`SernEventCommand`](/v3/api/interfaces/serneventcommand/) \| [`ExternalEventCommand`](/v3/api/interfaces/externaleventcommand/)
## Source

View File

@@ -12,7 +12,7 @@ If T has an init method, this will be called.
## Type parameters
**T** *extends* [`Init`](/api/interfaces/init/)
**T** *extends* [`Init`](/v3/api/interfaces/init/)
## Source

View File

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