diff --git a/astro.config.mjs b/astro.config.mjs index b16561192..e2637178a 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -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(), diff --git a/lunaria.config.json b/lunaria.config.json index 25464dcd9..d3b3c1d2f 100644 --- a/lunaria.config.json +++ b/lunaria.config.json @@ -23,7 +23,7 @@ ], "files": [ { - "location": "src/content/docs/*/", + "location": "src/content/**/*.{mdx}", "pattern": "@lang/@path", "type": "universal" } diff --git a/src/content/docs/v3/api/README.md b/src/content/docs/v3/api/README.md index 4cb4b8721..cef9bd57f 100644 --- a/src/content/docs/v3/api/README.md +++ b/src/content/docs/v3/api/README.md @@ -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/) diff --git a/src/content/docs/v3/api/classes/Context.md b/src/content/docs/v3/api/classes/Context.md index 3832b9a1f..5d5853241 100644 --- a/src/content/docs/v3/api/classes/Context.md +++ b/src/content/docs/v3/api/classes/Context.md @@ -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 diff --git a/src/content/docs/v3/api/classes/ModuleStore.md b/src/content/docs/v3/api/classes/ModuleStore.md index ffc28ef32..2badbc11a 100644 --- a/src/content/docs/v3/api/classes/ModuleStore.md +++ b/src/content/docs/v3/api/classes/ModuleStore.md @@ -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 diff --git a/src/content/docs/v3/api/functions/CommandControlPlugin.md b/src/content/docs/v3/api/functions/CommandControlPlugin.md index f2d42e910..78cb1dad5 100644 --- a/src/content/docs/v3/api/functions/CommandControlPlugin.md +++ b/src/content/docs/v3/api/functions/CommandControlPlugin.md @@ -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 diff --git a/src/content/docs/v3/api/functions/CommandInitPlugin.md b/src/content/docs/v3/api/functions/CommandInitPlugin.md index c0e0f433f..f826faa17 100644 --- a/src/content/docs/v3/api/functions/CommandInitPlugin.md +++ b/src/content/docs/v3/api/functions/CommandInitPlugin.md @@ -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 diff --git a/src/content/docs/v3/api/functions/DiscordEventControlPlugin.md b/src/content/docs/v3/api/functions/DiscordEventControlPlugin.md index 0c11b81f4..b73cacbbb 100644 --- a/src/content/docs/v3/api/functions/DiscordEventControlPlugin.md +++ b/src/content/docs/v3/api/functions/DiscordEventControlPlugin.md @@ -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 diff --git a/src/content/docs/v3/api/functions/EventControlPlugin.md b/src/content/docs/v3/api/functions/EventControlPlugin.md index 3a71c2f3f..2b80791ac 100644 --- a/src/content/docs/v3/api/functions/EventControlPlugin.md +++ b/src/content/docs/v3/api/functions/EventControlPlugin.md @@ -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 diff --git a/src/content/docs/v3/api/functions/EventInitPlugin.md b/src/content/docs/v3/api/functions/EventInitPlugin.md index 2784f1faf..a746c3170 100644 --- a/src/content/docs/v3/api/functions/EventInitPlugin.md +++ b/src/content/docs/v3/api/functions/EventInitPlugin.md @@ -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 diff --git a/src/content/docs/v3/api/functions/Services.md b/src/content/docs/v3/api/functions/Services.md index 4a449f518..56c087d00 100644 --- a/src/content/docs/v3/api/functions/Services.md +++ b/src/content/docs/v3/api/functions/Services.md @@ -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 diff --git a/src/content/docs/v3/api/functions/commandModule.md b/src/content/docs/v3/api/functions/commandModule.md index e03006fb1..9ec8cd80d 100644 --- a/src/content/docs/v3/api/functions/commandModule.md +++ b/src/content/docs/v3/api/functions/commandModule.md @@ -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 diff --git a/src/content/docs/v3/api/functions/discordEvent.md b/src/content/docs/v3/api/functions/discordEvent.md index 808266120..d5aa37fb2 100644 --- a/src/content/docs/v3/api/functions/discordEvent.md +++ b/src/content/docs/v3/api/functions/discordEvent.md @@ -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 diff --git a/src/content/docs/v3/api/functions/eventModule.md b/src/content/docs/v3/api/functions/eventModule.md index 61e1f0d43..e9d1daa4e 100644 --- a/src/content/docs/v3/api/functions/eventModule.md +++ b/src/content/docs/v3/api/functions/eventModule.md @@ -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 diff --git a/src/content/docs/v3/api/functions/makePlugin.md b/src/content/docs/v3/api/functions/makePlugin.md index 6927b1dbc..50a83540a 100644 --- a/src/content/docs/v3/api/functions/makePlugin.md +++ b/src/content/docs/v3/api/functions/makePlugin.md @@ -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 diff --git a/src/content/docs/v3/api/interfaces/BothCommand.md b/src/content/docs/v3/api/interfaces/BothCommand.md index facfbf23c..7eaba01b7 100644 --- a/src/content/docs/v3/api/interfaces/BothCommand.md +++ b/src/content/docs/v3/api/interfaces/BothCommand.md @@ -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 diff --git a/src/content/docs/v3/api/interfaces/ButtonCommand.md b/src/content/docs/v3/api/interfaces/ButtonCommand.md index 4848e2d02..e9f966779 100644 --- a/src/content/docs/v3/api/interfaces/ButtonCommand.md +++ b/src/content/docs/v3/api/interfaces/ButtonCommand.md @@ -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 diff --git a/src/content/docs/v3/api/interfaces/ChannelSelectCommand.md b/src/content/docs/v3/api/interfaces/ChannelSelectCommand.md index 6009ac22f..9e070aa5d 100644 --- a/src/content/docs/v3/api/interfaces/ChannelSelectCommand.md +++ b/src/content/docs/v3/api/interfaces/ChannelSelectCommand.md @@ -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 diff --git a/src/content/docs/v3/api/interfaces/CommandModuleDefs.md b/src/content/docs/v3/api/interfaces/CommandModuleDefs.md index bc517c2fd..0b846855b 100644 --- a/src/content/docs/v3/api/interfaces/CommandModuleDefs.md +++ b/src/content/docs/v3/api/interfaces/CommandModuleDefs.md @@ -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 diff --git a/src/content/docs/v3/api/interfaces/ContextMenuMsg.md b/src/content/docs/v3/api/interfaces/ContextMenuMsg.md index 241e71621..24ffb0b29 100644 --- a/src/content/docs/v3/api/interfaces/ContextMenuMsg.md +++ b/src/content/docs/v3/api/interfaces/ContextMenuMsg.md @@ -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 diff --git a/src/content/docs/v3/api/interfaces/ContextMenuUser.md b/src/content/docs/v3/api/interfaces/ContextMenuUser.md index 96b11b6d5..d466180c0 100644 --- a/src/content/docs/v3/api/interfaces/ContextMenuUser.md +++ b/src/content/docs/v3/api/interfaces/ContextMenuUser.md @@ -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 diff --git a/src/content/docs/v3/api/interfaces/ControlPlugin.md b/src/content/docs/v3/api/interfaces/ControlPlugin.md index 33435b34c..8962fc962 100644 --- a/src/content/docs/v3/api/interfaces/ControlPlugin.md +++ b/src/content/docs/v3/api/interfaces/ControlPlugin.md @@ -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 diff --git a/src/content/docs/v3/api/interfaces/CoreDependencies.md b/src/content/docs/v3/api/interfaces/CoreDependencies.md index 2a14c332f..bb054c913 100644 --- a/src/content/docs/v3/api/interfaces/CoreDependencies.md +++ b/src/content/docs/v3/api/interfaces/CoreDependencies.md @@ -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 diff --git a/src/content/docs/v3/api/interfaces/DiscordEventCommand.md b/src/content/docs/v3/api/interfaces/DiscordEventCommand.md index 8405353f8..559dcd582 100644 --- a/src/content/docs/v3/api/interfaces/DiscordEventCommand.md +++ b/src/content/docs/v3/api/interfaces/DiscordEventCommand.md @@ -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 diff --git a/src/content/docs/v3/api/interfaces/EventModuleDefs.md b/src/content/docs/v3/api/interfaces/EventModuleDefs.md index 7451bcc44..daccd4851 100644 --- a/src/content/docs/v3/api/interfaces/EventModuleDefs.md +++ b/src/content/docs/v3/api/interfaces/EventModuleDefs.md @@ -9,7 +9,7 @@ title: "EventModuleDefs" ### 1 -> **1**: [`DiscordEventCommand`](/api/interfaces/discordeventcommand/)\ +> **1**: [`DiscordEventCommand`](/v3/api/interfaces/discordeventcommand/)\ #### Source @@ -19,7 +19,7 @@ title: "EventModuleDefs" ### 2 -> **2**: [`SernEventCommand`](/api/interfaces/serneventcommand/)\ +> **2**: [`SernEventCommand`](/v3/api/interfaces/serneventcommand/)\ #### Source @@ -29,7 +29,7 @@ title: "EventModuleDefs" ### 3 -> **3**: [`ExternalEventCommand`](/api/interfaces/externaleventcommand/) +> **3**: [`ExternalEventCommand`](/v3/api/interfaces/externaleventcommand/) #### Source diff --git a/src/content/docs/v3/api/interfaces/ExternalEventCommand.md b/src/content/docs/v3/api/interfaces/ExternalEventCommand.md index b60aaa114..d79726a16 100644 --- a/src/content/docs/v3/api/interfaces/ExternalEventCommand.md +++ b/src/content/docs/v3/api/interfaces/ExternalEventCommand.md @@ -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 diff --git a/src/content/docs/v3/api/interfaces/InitPlugin.md b/src/content/docs/v3/api/interfaces/InitPlugin.md index f8aaa6d13..a6807e72b 100644 --- a/src/content/docs/v3/api/interfaces/InitPlugin.md +++ b/src/content/docs/v3/api/interfaces/InitPlugin.md @@ -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 diff --git a/src/content/docs/v3/api/interfaces/Logging.md b/src/content/docs/v3/api/interfaces/Logging.md index 5244a8ecb..15f5f05bf 100644 --- a/src/content/docs/v3/api/interfaces/Logging.md +++ b/src/content/docs/v3/api/interfaces/Logging.md @@ -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 diff --git a/src/content/docs/v3/api/interfaces/MentionableSelectCommand.md b/src/content/docs/v3/api/interfaces/MentionableSelectCommand.md index 68e6fc484..60446a476 100644 --- a/src/content/docs/v3/api/interfaces/MentionableSelectCommand.md +++ b/src/content/docs/v3/api/interfaces/MentionableSelectCommand.md @@ -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 diff --git a/src/content/docs/v3/api/interfaces/ModalSubmitCommand.md b/src/content/docs/v3/api/interfaces/ModalSubmitCommand.md index 8a0bae8d4..9ab3a8c38 100644 --- a/src/content/docs/v3/api/interfaces/ModalSubmitCommand.md +++ b/src/content/docs/v3/api/interfaces/ModalSubmitCommand.md @@ -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 diff --git a/src/content/docs/v3/api/interfaces/Plugin.md b/src/content/docs/v3/api/interfaces/Plugin.md index 647398aa0..c9e40ac22 100644 --- a/src/content/docs/v3/api/interfaces/Plugin.md +++ b/src/content/docs/v3/api/interfaces/Plugin.md @@ -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 diff --git a/src/content/docs/v3/api/interfaces/RoleSelectCommand.md b/src/content/docs/v3/api/interfaces/RoleSelectCommand.md index cb8ed6346..1d0526d64 100644 --- a/src/content/docs/v3/api/interfaces/RoleSelectCommand.md +++ b/src/content/docs/v3/api/interfaces/RoleSelectCommand.md @@ -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 diff --git a/src/content/docs/v3/api/interfaces/SernEventCommand.md b/src/content/docs/v3/api/interfaces/SernEventCommand.md index b93eebe28..dd982cc3f 100644 --- a/src/content/docs/v3/api/interfaces/SernEventCommand.md +++ b/src/content/docs/v3/api/interfaces/SernEventCommand.md @@ -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 diff --git a/src/content/docs/v3/api/interfaces/SernEventsMapping.md b/src/content/docs/v3/api/interfaces/SernEventsMapping.md index 22cfc0cf8..3a4622168 100644 --- a/src/content/docs/v3/api/interfaces/SernEventsMapping.md +++ b/src/content/docs/v3/api/interfaces/SernEventsMapping.md @@ -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 diff --git a/src/content/docs/v3/api/interfaces/SernSubCommandData.md b/src/content/docs/v3/api/interfaces/SernSubCommandData.md index b6ba8dc5c..00db94008 100644 --- a/src/content/docs/v3/api/interfaces/SernSubCommandData.md +++ b/src/content/docs/v3/api/interfaces/SernSubCommandData.md @@ -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 diff --git a/src/content/docs/v3/api/interfaces/SernSubCommandGroupData.md b/src/content/docs/v3/api/interfaces/SernSubCommandGroupData.md index d502cc004..389c8df7b 100644 --- a/src/content/docs/v3/api/interfaces/SernSubCommandGroupData.md +++ b/src/content/docs/v3/api/interfaces/SernSubCommandGroupData.md @@ -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 diff --git a/src/content/docs/v3/api/interfaces/SlashCommand.md b/src/content/docs/v3/api/interfaces/SlashCommand.md index de728b286..c13bb1568 100644 --- a/src/content/docs/v3/api/interfaces/SlashCommand.md +++ b/src/content/docs/v3/api/interfaces/SlashCommand.md @@ -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 diff --git a/src/content/docs/v3/api/interfaces/StringSelectCommand.md b/src/content/docs/v3/api/interfaces/StringSelectCommand.md index a404f7e55..7f7a1f2f7 100644 --- a/src/content/docs/v3/api/interfaces/StringSelectCommand.md +++ b/src/content/docs/v3/api/interfaces/StringSelectCommand.md @@ -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 diff --git a/src/content/docs/v3/api/interfaces/TextCommand.md b/src/content/docs/v3/api/interfaces/TextCommand.md index d9a2fbb07..28cdc147f 100644 --- a/src/content/docs/v3/api/interfaces/TextCommand.md +++ b/src/content/docs/v3/api/interfaces/TextCommand.md @@ -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 diff --git a/src/content/docs/v3/api/interfaces/UserSelectCommand.md b/src/content/docs/v3/api/interfaces/UserSelectCommand.md index 70abe8952..7def638e6 100644 --- a/src/content/docs/v3/api/interfaces/UserSelectCommand.md +++ b/src/content/docs/v3/api/interfaces/UserSelectCommand.md @@ -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 diff --git a/src/content/docs/v3/api/namespaces/Presence/functions/module.md b/src/content/docs/v3/api/namespaces/Presence/functions/module.md index 4ed2b27ad..4e87f9055 100644 --- a/src/content/docs/v3/api/namespaces/Presence/functions/module.md +++ b/src/content/docs/v3/api/namespaces/Presence/functions/module.md @@ -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 diff --git a/src/content/docs/v3/api/namespaces/Presence/functions/of.md b/src/content/docs/v3/api/namespaces/Presence/functions/of.md index dcd82ea7a..b1135a674 100644 --- a/src/content/docs/v3/api/namespaces/Presence/functions/of.md +++ b/src/content/docs/v3/api/namespaces/Presence/functions/of.md @@ -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? diff --git a/src/content/docs/v3/api/namespaces/Presence/interfaces/Result.md b/src/content/docs/v3/api/namespaces/Presence/interfaces/Result.md index 31ef10930..de79bf092 100644 --- a/src/content/docs/v3/api/namespaces/Presence/interfaces/Result.md +++ b/src/content/docs/v3/api/namespaces/Presence/interfaces/Result.md @@ -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 diff --git a/src/content/docs/v3/api/namespaces/Presence/type-aliases/Config.md b/src/content/docs/v3/api/namespaces/Presence/type-aliases/Config.md index dce734269..db127043d 100644 --- a/src/content/docs/v3/api/namespaces/Presence/type-aliases/Config.md +++ b/src/content/docs/v3/api/namespaces/Presence/type-aliases/Config.md @@ -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? diff --git a/src/content/docs/v3/api/namespaces/Sern/functions/init.md b/src/content/docs/v3/api/namespaces/Sern/functions/init.md index 8bcb11a97..a7b0ae4f7 100644 --- a/src/content/docs/v3/api/namespaces/Sern/functions/init.md +++ b/src/content/docs/v3/api/namespaces/Sern/functions/init.md @@ -9,7 +9,7 @@ title: "init" ## Parameters -• **maybeWrapper**: [`Wrapper`](/api/interfaces/wrapper/) \| `"file"` +• **maybeWrapper**: [`Wrapper`](/v3/api/interfaces/wrapper/) \| `"file"` ## Returns diff --git a/src/content/docs/v3/api/type-aliases/AnyCommandPlugin.md b/src/content/docs/v3/api/type-aliases/AnyCommandPlugin.md index 650d49b98..4f395a0cc 100644 --- a/src/content/docs/v3/api/type-aliases/AnyCommandPlugin.md +++ b/src/content/docs/v3/api/type-aliases/AnyCommandPlugin.md @@ -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 diff --git a/src/content/docs/v3/api/type-aliases/AnyEventPlugin.md b/src/content/docs/v3/api/type-aliases/AnyEventPlugin.md index b9da204fc..b9d3bcdff 100644 --- a/src/content/docs/v3/api/type-aliases/AnyEventPlugin.md +++ b/src/content/docs/v3/api/type-aliases/AnyEventPlugin.md @@ -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 diff --git a/src/content/docs/v3/api/type-aliases/Args.md b/src/content/docs/v3/api/type-aliases/Args.md index 74357bf31..c6f3de3a1 100644 --- a/src/content/docs/v3/api/type-aliases/Args.md +++ b/src/content/docs/v3/api/type-aliases/Args.md @@ -11,7 +11,7 @@ title: "Args" ### slash -> **slash**: [`SlashOptions`](/api/type-aliases/slashoptions/) +> **slash**: [`SlashOptions`](/v3/api/type-aliases/slashoptions/) ### text diff --git a/src/content/docs/v3/api/type-aliases/CommandModule.md b/src/content/docs/v3/api/type-aliases/CommandModule.md index c4fe54c00..e0fa032a2 100644 --- a/src/content/docs/v3/api/type-aliases/CommandModule.md +++ b/src/content/docs/v3/api/type-aliases/CommandModule.md @@ -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 diff --git a/src/content/docs/v3/api/type-aliases/EventModule.md b/src/content/docs/v3/api/type-aliases/EventModule.md index 8745b470f..e74e2dbaa 100644 --- a/src/content/docs/v3/api/type-aliases/EventModule.md +++ b/src/content/docs/v3/api/type-aliases/EventModule.md @@ -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 diff --git a/src/content/docs/v3/api/type-aliases/Initializable.md b/src/content/docs/v3/api/type-aliases/Initializable.md index 591d56ca1..b8f54b411 100644 --- a/src/content/docs/v3/api/type-aliases/Initializable.md +++ b/src/content/docs/v3/api/type-aliases/Initializable.md @@ -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 diff --git a/src/content/docs/v3/api/type-aliases/SernOptionsData.md b/src/content/docs/v3/api/type-aliases/SernOptionsData.md index 8593ced29..c3e6ab806 100644 --- a/src/content/docs/v3/api/type-aliases/SernOptionsData.md +++ b/src/content/docs/v3/api/type-aliases/SernOptionsData.md @@ -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