diff --git a/blog/1.2.0/index.html b/blog/1.2.0/index.html index 2f4ecb578..d0fe60353 100644 --- a/blog/1.2.0/index.html +++ b/blog/1.2.0/index.html @@ -81,4 +81,4 @@ Feel free to use TypeScript experimental decorators to augment and customize you
Tags:
\ No newline at end of file +
Tags:
\ No newline at end of file diff --git a/blog/2.0.0/index.html b/blog/2.0.0/index.html index ab5214cb2..38df65b96 100644 --- a/blog/2.0.0/index.html +++ b/blog/2.0.0/index.html @@ -102,4 +102,4 @@ All deprecation warnings from previous versions have taken effect, and are remov

Including the previous section, some names to symbols and data structures were altered to be better represented. view changelog

Context refactoring

-

The context data structure has been internally altered to represent its dynamics better.

Tags:
\ No newline at end of file +

The context data structure has been internally altered to represent its dynamics better.

Tags:
\ No newline at end of file diff --git a/blog/2.5.0/index.html b/blog/2.5.0/index.html index 1737cf69b..9970da447 100644 --- a/blog/2.5.0/index.html +++ b/blog/2.5.0/index.html @@ -74,4 +74,4 @@ What does this mean? -

This will probably be the last breaking change in a while. Thanks for using sern!

Tags:
\ No newline at end of file +

This will probably be the last breaking change in a while. Thanks for using sern!

Tags:
\ No newline at end of file diff --git a/blog/3.0.0/index.html b/blog/3.0.0/index.html index 44b9f38f1..c8c2ec1c6 100644 --- a/blog/3.0.0/index.html +++ b/blog/3.0.0/index.html @@ -160,4 +160,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
  • Removed all previous marked deprecations in v3
  • ModuleStore will be removed as a dependency in v4. The only way to access modules should be through ModuleManager
  • Default Dependencies will be made internal in the v4. Users should only have access to its interface / contract
  • -
    Tags:
    \ No newline at end of file +
    Tags:
    \ No newline at end of file diff --git a/blog/new-logo/index.html b/blog/new-logo/index.html index c054f38d1..c1b69fde2 100644 --- a/blog/new-logo/index.html +++ b/blog/new-logo/index.html @@ -56,4 +56,4 @@ And here we are!

    sern logo

    Pretty nice!

    By the way, we have animations and variations on the way, so make sure to stay updated in the discord server!

    -

    Finally, from the entire sern team, thank you for sticking around ❤️

    Tags:
    \ No newline at end of file +

    Finally, from the entire sern team, thank you for sticking around ❤️

    Tags:
    \ No newline at end of file diff --git a/blog/railway-deploy/index.html b/blog/railway-deploy/index.html index fa680e834..8c43a854f 100644 --- a/blog/railway-deploy/index.html +++ b/blog/railway-deploy/index.html @@ -51,4 +51,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Deploy

    Once you’ve added your environment variables, click the “Deploy” button, and Railway will start deploying your bot. Once the deployment is complete, you’ll be able to see your bot’s URL and logs.

    -

    That’s it! Your bot is now deployed and running on Railway. If you have any issues or questions, feel free to ask in the sern Discord server.

    Tags:
    \ No newline at end of file +

    That’s it! Your bot is now deployed and running on Railway. If you have any issues or questions, feel free to ask in the sern Discord server.

    Tags:
    \ No newline at end of file diff --git a/es/blog/1.2.0/index.html b/es/blog/1.2.0/index.html index f28255297..dfa506517 100644 --- a/es/blog/1.2.0/index.html +++ b/es/blog/1.2.0/index.html @@ -83,4 +83,4 @@ Feel free to use TypeScript experimental decorators to augment and customize you \ No newline at end of file + \ No newline at end of file diff --git a/es/blog/2.0.0/index.html b/es/blog/2.0.0/index.html index e2d1fb7d6..3c9924df8 100644 --- a/es/blog/2.0.0/index.html +++ b/es/blog/2.0.0/index.html @@ -104,4 +104,4 @@ All deprecation warnings from previous versions have taken effect, and are remov

    Including the previous section, some names to symbols and data structures were altered to be better represented. view changelog

    Context refactoring

    -

    The context data structure has been internally altered to represent its dynamics better.

    \ No newline at end of file +

    The context data structure has been internally altered to represent its dynamics better.

    \ No newline at end of file diff --git a/es/blog/2.5.0/index.html b/es/blog/2.5.0/index.html index 86a8f7c44..df02f237f 100644 --- a/es/blog/2.5.0/index.html +++ b/es/blog/2.5.0/index.html @@ -76,4 +76,4 @@ What does this mean? -

    This will probably be the last breaking change in a while. Thanks for using sern!

    \ No newline at end of file +

    This will probably be the last breaking change in a while. Thanks for using sern!

    \ No newline at end of file diff --git a/es/blog/3.0.0/index.html b/es/blog/3.0.0/index.html index f3dcd8ca6..8c0ab0f5e 100644 --- a/es/blog/3.0.0/index.html +++ b/es/blog/3.0.0/index.html @@ -162,4 +162,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
  • Removed all previous marked deprecations in v3
  • ModuleStore will be removed as a dependency in v4. The only way to access modules should be through ModuleManager
  • Default Dependencies will be made internal in the v4. Users should only have access to its interface / contract
  • - \ No newline at end of file + \ No newline at end of file diff --git a/es/blog/new-logo/index.html b/es/blog/new-logo/index.html index 4f4ad0aa8..ccaa92546 100644 --- a/es/blog/new-logo/index.html +++ b/es/blog/new-logo/index.html @@ -58,4 +58,4 @@ And here we are!

    sern logo

    Pretty nice!

    By the way, we have animations and variations on the way, so make sure to stay updated in the discord server!

    -

    Finally, from the entire sern team, thank you for sticking around ❤️

    \ No newline at end of file +

    Finally, from the entire sern team, thank you for sticking around ❤️

    \ No newline at end of file diff --git a/es/blog/railway-deploy/index.html b/es/blog/railway-deploy/index.html index 711572f61..d291fa07e 100644 --- a/es/blog/railway-deploy/index.html +++ b/es/blog/railway-deploy/index.html @@ -53,4 +53,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Deploy

    Once you’ve added your environment variables, click the “Deploy” button, and Railway will start deploying your bot. Once the deployment is complete, you’ll be able to see your bot’s URL and logs.

    -

    That’s it! Your bot is now deployed and running on Railway. If you have any issues or questions, feel free to ask in the sern Discord server.

    \ No newline at end of file +

    That’s it! Your bot is now deployed and running on Railway. If you have any issues or questions, feel free to ask in the sern Discord server.

    \ No newline at end of file diff --git a/es/index.html b/es/index.html index 87bccedd3..d0be36a3e 100644 --- a/es/index.html +++ b/es/index.html @@ -38,6 +38,6 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem; Saltearse al contenido
    sern

    Create your dream Discord bot.

    sern is a framework for building Discord bots; Better DX and an ecosystem of packages & plugins.

    Showcase

    -
    Bask

    Bask

    A discord music bot

    sern Community

    sern Community

    The bot used to manage sern Community

    Discoin

    Discoin

    Fuel your server's engagement with a fun, easy to use, and simple economy bot!

    man-nomic

    man-nomic

    Displays LLM model information

    Albion Guide

    Albion Guide

    Gets info about The First Descendant Game.

    Vinci

    Vinci

    The discord bot for Mara Turing

    ezbd

    ezbd

    A simple birthday reminder bot

    SmokinWeed 💨

    SmokinWeed 💨

    Small moderation bot

    +
    Discoin

    Discoin

    Fuel your server's engagement with a fun, easy to use, and simple economy bot!

    Vinci

    Vinci

    The discord bot for Mara Turing

    Bask

    Bask

    A discord music bot

    man-nomic

    man-nomic

    Displays LLM model information

    ezbd

    ezbd

    A simple birthday reminder bot

    SmokinWeed 💨

    SmokinWeed 💨

    Small moderation bot

    sern Community

    sern Community

    The bot used to manage sern Community

    Albion Guide

    Albion Guide

    Gets info about The First Descendant Game.

    Features

    -

    Modular

    Take apart, build, or customize code with ease to create robust bots.

    Concise

    Commands are significantly smaller than other competitors. Write impactful, concise code.

    Familiar

    Code like a traditional command framework. The API is simple and resembles classic v12 command handlers.

    \ No newline at end of file +

    Modular

    Take apart, build, or customize code with ease to create robust bots.

    Concise

    Commands are significantly smaller than other competitors. Write impactful, concise code.

    Familiar

    Code like a traditional command framework. The API is simple and resembles classic v12 command handlers.

    \ No newline at end of file diff --git a/es/v3/api/classes/context/index.html b/es/v3/api/classes/context/index.html index 77c975959..4f3cc1a60 100644 --- a/es/v3/api/classes/context/index.html +++ b/es/v3/api/classes/context/index.html @@ -222,4 +222,4 @@ else, interaction.user

    Overrides

    CoreContext.wrap

    Source

    -

    src/core/structures/context.ts:113

    \ No newline at end of file +

    src/core/structures/context.ts:113

    \ No newline at end of file diff --git a/es/v3/api/classes/modulestore/index.html b/es/v3/api/classes/modulestore/index.html index 36863d70e..f2266d50f 100644 --- a/es/v3/api/classes/modulestore/index.html +++ b/es/v3/api/classes/modulestore/index.html @@ -61,4 +61,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    metadata: WeakMap<Module, CommandMeta>

    Source

    -

    src/core/structures/module-store.ts:9

    \ No newline at end of file +

    src/core/structures/module-store.ts:9

    \ No newline at end of file diff --git a/es/v3/api/enumerations/commandtype/index.html b/es/v3/api/enumerations/commandtype/index.html index 901e1cf47..d584a9f3d 100644 --- a/es/v3/api/enumerations/commandtype/index.html +++ b/es/v3/api/enumerations/commandtype/index.html @@ -129,4 +129,4 @@ A bitfield that discriminates command modules

    UserSelect: 128

    Source

    -

    src/core/structures/enums.ts:26

    \ No newline at end of file +

    src/core/structures/enums.ts:26

    \ No newline at end of file diff --git a/es/v3/api/enumerations/eventtype/index.html b/es/v3/api/enumerations/eventtype/index.html index 11179a1bc..6c874d838 100644 --- a/es/v3/api/enumerations/eventtype/index.html +++ b/es/v3/api/enumerations/eventtype/index.html @@ -68,4 +68,4 @@ Could be for example, process events, database events

    The EventType for handling sern events

    Source

    -

    src/core/structures/enums.ts:55

    \ No newline at end of file +

    src/core/structures/enums.ts:55

    \ No newline at end of file diff --git a/es/v3/api/enumerations/payloadtype/index.html b/es/v3/api/enumerations/payloadtype/index.html index 888c03a1c..70ca65d04 100644 --- a/es/v3/api/enumerations/payloadtype/index.html +++ b/es/v3/api/enumerations/payloadtype/index.html @@ -64,4 +64,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    The PayloadType for a SernEmitter warning event

    Source

    -

    src/core/structures/enums.ts:102

    \ No newline at end of file +

    src/core/structures/enums.ts:102

    \ No newline at end of file diff --git a/es/v3/api/enumerations/plugintype/index.html b/es/v3/api/enumerations/plugintype/index.html index f5f6acd89..4bcad1ab3 100644 --- a/es/v3/api/enumerations/plugintype/index.html +++ b/es/v3/api/enumerations/plugintype/index.html @@ -59,4 +59,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    The PluginType for InitPlugins

    Source

    -

    src/core/structures/enums.ts:81

    \ No newline at end of file +

    src/core/structures/enums.ts:81

    \ No newline at end of file diff --git a/es/v3/api/functions/commandcontrolplugin/index.html b/es/v3/api/functions/commandcontrolplugin/index.html index 3665f4195..70b9fd132 100644 --- a/es/v3/api/functions/commandcontrolplugin/index.html +++ b/es/v3/api/functions/commandcontrolplugin/index.html @@ -54,4 +54,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    2.5.0 @PURE

    Source

    -

    src/core/create-plugins.ts:37

    \ No newline at end of file +

    src/core/create-plugins.ts:37

    \ No newline at end of file diff --git a/es/v3/api/functions/commandinitplugin/index.html b/es/v3/api/functions/commandinitplugin/index.html index 071f93c6a..ba2023b2d 100644 --- a/es/v3/api/functions/commandinitplugin/index.html +++ b/es/v3/api/functions/commandinitplugin/index.html @@ -54,4 +54,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    2.5.0 @PURE

    Source

    -

    src/core/create-plugins.ts:28

    \ No newline at end of file +

    src/core/create-plugins.ts:28

    \ No newline at end of file diff --git a/es/v3/api/functions/commandmodule/index.html b/es/v3/api/functions/commandmodule/index.html index b495f9e9b..5bdb985bc 100644 --- a/es/v3/api/functions/commandmodule/index.html +++ b/es/v3/api/functions/commandmodule/index.html @@ -51,4 +51,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Since

    1.0.0 The wrapper function to define command modules for sern

    Source

    -

    src/core/modules.ts:19

    \ No newline at end of file +

    src/core/modules.ts:19

    \ No newline at end of file diff --git a/es/v3/api/functions/discordevent/index.html b/es/v3/api/functions/discordevent/index.html index bce5e3117..0bd903b79 100644 --- a/es/v3/api/functions/discordevent/index.html +++ b/es/v3/api/functions/discordevent/index.html @@ -58,4 +58,4 @@ where typings can be very bad.

    EventModule

    Experimental

    Source

    -

    src/core/modules.ts:47

    \ No newline at end of file +

    src/core/modules.ts:47

    \ No newline at end of file diff --git a/es/v3/api/functions/discordeventcontrolplugin/index.html b/es/v3/api/functions/discordeventcontrolplugin/index.html index 8dcbcc548..1cb90c008 100644 --- a/es/v3/api/functions/discordeventcontrolplugin/index.html +++ b/es/v3/api/functions/discordeventcontrolplugin/index.html @@ -57,4 +57,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    A specialized function for creating control plugins with discord.js ClientEvents. Will probably be moved one day!

    Source

    -

    src/core/create-plugins.ts:58

    \ No newline at end of file +

    src/core/create-plugins.ts:58

    \ No newline at end of file diff --git a/es/v3/api/functions/eventcontrolplugin/index.html b/es/v3/api/functions/eventcontrolplugin/index.html index d72efab7a..f088447a8 100644 --- a/es/v3/api/functions/eventcontrolplugin/index.html +++ b/es/v3/api/functions/eventcontrolplugin/index.html @@ -54,4 +54,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    2.5.0 @PURE

    Source

    -

    src/core/create-plugins.ts:46

    \ No newline at end of file +

    src/core/create-plugins.ts:46

    \ No newline at end of file diff --git a/es/v3/api/functions/eventinitplugin/index.html b/es/v3/api/functions/eventinitplugin/index.html index 93c2bb491..3ce9b7455 100644 --- a/es/v3/api/functions/eventinitplugin/index.html +++ b/es/v3/api/functions/eventinitplugin/index.html @@ -54,4 +54,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    2.5.0 @PURE

    Source

    -

    src/core/create-plugins.ts:19

    \ No newline at end of file +

    src/core/create-plugins.ts:19

    \ No newline at end of file diff --git a/es/v3/api/functions/eventmodule/index.html b/es/v3/api/functions/eventmodule/index.html index 6f10ea73e..3ca1c66c6 100644 --- a/es/v3/api/functions/eventmodule/index.html +++ b/es/v3/api/functions/eventmodule/index.html @@ -52,4 +52,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    1.0.0 The wrapper function to define event modules for sern

    Source

    -

    src/core/modules.ts:32

    \ No newline at end of file +

    src/core/modules.ts:32

    \ No newline at end of file diff --git a/es/v3/api/functions/makedependencies/index.html b/es/v3/api/functions/makedependencies/index.html index 338908a56..fca497cd2 100644 --- a/es/v3/api/functions/makedependencies/index.html +++ b/es/v3/api/functions/makedependencies/index.html @@ -51,4 +51,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    Promise<<V>(…keys) => IntoDependencies<V>>

    Source

    -

    src/core/ioc/base.ts:144

    \ No newline at end of file +

    src/core/ioc/base.ts:144

    \ No newline at end of file diff --git a/es/v3/api/functions/makeplugin/index.html b/es/v3/api/functions/makeplugin/index.html index c7c3f1046..0cab5044b 100644 --- a/es/v3/api/functions/makeplugin/index.html +++ b/es/v3/api/functions/makeplugin/index.html @@ -52,4 +52,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    Plugin<V>

    Source

    -

    src/core/create-plugins.ts:6

    \ No newline at end of file +

    src/core/create-plugins.ts:6

    \ No newline at end of file diff --git a/es/v3/api/functions/service/index.html b/es/v3/api/functions/service/index.html index f6dac076f..3466ef384 100644 --- a/es/v3/api/functions/service/index.html +++ b/es/v3/api/functions/service/index.html @@ -60,4 +60,4 @@ Note: this method only works AFTER your container has been initiated

    Example

    1
    const client = Service('@sern/client');

    Source

    -

    src/core/ioc/dependency-injection.ts:37

    \ No newline at end of file +

    src/core/ioc/dependency-injection.ts:37

    \ No newline at end of file diff --git a/es/v3/api/functions/services/index.html b/es/v3/api/functions/services/index.html index 0bf83b764..830aed9ba 100644 --- a/es/v3/api/functions/services/index.html +++ b/es/v3/api/functions/services/index.html @@ -55,4 +55,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    3.0.0 The plural version of Service

    Source

    -

    src/core/ioc/dependency-injection.ts:47

    \ No newline at end of file +

    src/core/ioc/dependency-injection.ts:47

    \ No newline at end of file diff --git a/es/v3/api/functions/single/index.html b/es/v3/api/functions/single/index.html index 4a5a1a694..e0e288b54 100644 --- a/es/v3/api/functions/single/index.html +++ b/es/v3/api/functions/single/index.html @@ -57,4 +57,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    2.0.0. Creates a singleton object.

    Source

    -

    src/core/ioc/dependency-injection.ts:11

    \ No newline at end of file +

    src/core/ioc/dependency-injection.ts:11

    \ No newline at end of file diff --git a/es/v3/api/functions/transient/index.html b/es/v3/api/functions/transient/index.html index d2f5ff66f..f52edf6ed 100644 --- a/es/v3/api/functions/transient/index.html +++ b/es/v3/api/functions/transient/index.html @@ -59,4 +59,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    2.0.0 Creates a transient object

    Source

    -

    src/core/ioc/dependency-injection.ts:21

    \ No newline at end of file +

    src/core/ioc/dependency-injection.ts:21

    \ No newline at end of file diff --git a/es/v3/api/interfaces/bothcommand/index.html b/es/v3/api/interfaces/bothcommand/index.html index de5a7722d..d74c30035 100644 --- a/es/v3/api/interfaces/bothcommand/index.html +++ b/es/v3/api/interfaces/bothcommand/index.html @@ -117,4 +117,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:124

    \ No newline at end of file +

    src/types/core-modules.ts:124

    \ No newline at end of file diff --git a/es/v3/api/interfaces/buttoncommand/index.html b/es/v3/api/interfaces/buttoncommand/index.html index aeccd3894..de19a1b83 100644 --- a/es/v3/api/interfaces/buttoncommand/index.html +++ b/es/v3/api/interfaces/buttoncommand/index.html @@ -102,4 +102,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:64

    \ No newline at end of file +

    src/types/core-modules.ts:64

    \ No newline at end of file diff --git a/es/v3/api/interfaces/channelselectcommand/index.html b/es/v3/api/interfaces/channelselectcommand/index.html index c954b38c0..629d6e562 100644 --- a/es/v3/api/interfaces/channelselectcommand/index.html +++ b/es/v3/api/interfaces/channelselectcommand/index.html @@ -102,4 +102,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:74

    \ No newline at end of file +

    src/types/core-modules.ts:74

    \ No newline at end of file diff --git a/es/v3/api/interfaces/commandmoduledefs/index.html b/es/v3/api/interfaces/commandmoduledefs/index.html index e608e8cab..bcfc290bc 100644 --- a/es/v3/api/interfaces/commandmoduledefs/index.html +++ b/es/v3/api/interfaces/commandmoduledefs/index.html @@ -124,4 +124,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    8: ContextMenuMsg

    Source

    -

    src/types/core-modules.ts:153

    \ No newline at end of file +

    src/types/core-modules.ts:153

    \ No newline at end of file diff --git a/es/v3/api/interfaces/contextmenumsg/index.html b/es/v3/api/interfaces/contextmenumsg/index.html index f08d63f7b..35af5900f 100644 --- a/es/v3/api/interfaces/contextmenumsg/index.html +++ b/es/v3/api/interfaces/contextmenumsg/index.html @@ -102,4 +102,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:59

    \ No newline at end of file +

    src/types/core-modules.ts:59

    \ No newline at end of file diff --git a/es/v3/api/interfaces/contextmenuuser/index.html b/es/v3/api/interfaces/contextmenuuser/index.html index 249e1138c..37ebb64a7 100644 --- a/es/v3/api/interfaces/contextmenuuser/index.html +++ b/es/v3/api/interfaces/contextmenuuser/index.html @@ -102,4 +102,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:54

    \ No newline at end of file +

    src/types/core-modules.ts:54

    \ No newline at end of file diff --git a/es/v3/api/interfaces/controller/index.html b/es/v3/api/interfaces/controller/index.html index e3b91b1c1..3d882bfb0 100644 --- a/es/v3/api/interfaces/controller/index.html +++ b/es/v3/api/interfaces/controller/index.html @@ -58,4 +58,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    Err<void>

    Source

    -

    src/types/core-plugin.ts:60

    \ No newline at end of file +

    src/types/core-plugin.ts:60

    \ No newline at end of file diff --git a/es/v3/api/interfaces/controlplugin/index.html b/es/v3/api/interfaces/controlplugin/index.html index da9306771..cd4d2ecaf 100644 --- a/es/v3/api/interfaces/controlplugin/index.html +++ b/es/v3/api/interfaces/controlplugin/index.html @@ -60,4 +60,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    type: Control

    Source

    -

    src/types/core-plugin.ts:72

    \ No newline at end of file +

    src/types/core-plugin.ts:72

    \ No newline at end of file diff --git a/es/v3/api/interfaces/coredependencies/index.html b/es/v3/api/interfaces/coredependencies/index.html index a89da6c3f..6703d13b6 100644 --- a/es/v3/api/interfaces/coredependencies/index.html +++ b/es/v3/api/interfaces/coredependencies/index.html @@ -95,4 +95,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    CoreModuleStore

    Source

    -

    src/types/ioc.ts:34

    \ No newline at end of file +

    src/types/ioc.ts:34

    \ No newline at end of file diff --git a/es/v3/api/interfaces/coremodulestore/index.html b/es/v3/api/interfaces/coremodulestore/index.html index 1035018e7..444667751 100644 --- a/es/v3/api/interfaces/coremodulestore/index.html +++ b/es/v3/api/interfaces/coremodulestore/index.html @@ -55,4 +55,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    metadata: WeakMap<Module, CommandMeta>

    Source

    -

    src/core/contracts/module-store.ts:8

    \ No newline at end of file +

    src/core/contracts/module-store.ts:8

    \ No newline at end of file diff --git a/es/v3/api/interfaces/discordeventcommand/index.html b/es/v3/api/interfaces/discordeventcommand/index.html index 5b5711b9b..844ed5c1c 100644 --- a/es/v3/api/interfaces/discordeventcommand/index.html +++ b/es/v3/api/interfaces/discordeventcommand/index.html @@ -104,4 +104,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:108

    \ No newline at end of file +

    src/types/core-modules.ts:108

    \ No newline at end of file diff --git a/es/v3/api/interfaces/disposable/index.html b/es/v3/api/interfaces/disposable/index.html index 37ee3d28f..e1d6db206 100644 --- a/es/v3/api/interfaces/disposable/index.html +++ b/es/v3/api/interfaces/disposable/index.html @@ -51,4 +51,4 @@ Let dependencies implement this to dispose and cleanup.

    Returns

    unknown

    Source

    -

    src/core/contracts/hooks.ts:15

    \ No newline at end of file +

    src/core/contracts/hooks.ts:15

    \ No newline at end of file diff --git a/es/v3/api/interfaces/emitter/index.html b/es/v3/api/interfaces/emitter/index.html index ecab66603..b73a1dfbd 100644 --- a/es/v3/api/interfaces/emitter/index.html +++ b/es/v3/api/interfaces/emitter/index.html @@ -76,4 +76,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    this

    Source

    -

    src/core/contracts/emitter.ts:7

    \ No newline at end of file +

    src/core/contracts/emitter.ts:7

    \ No newline at end of file diff --git a/es/v3/api/interfaces/errorhandling/index.html b/es/v3/api/interfaces/errorhandling/index.html index c0ed7be81..bc2c6345d 100644 --- a/es/v3/api/interfaces/errorhandling/index.html +++ b/es/v3/api/interfaces/errorhandling/index.html @@ -66,4 +66,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    void

    Source

    -

    src/core/contracts/error-handling.ts:14

    \ No newline at end of file +

    src/core/contracts/error-handling.ts:14

    \ No newline at end of file diff --git a/es/v3/api/interfaces/eventmoduledefs/index.html b/es/v3/api/interfaces/eventmoduledefs/index.html index d5a0b6d1b..3dd263b89 100644 --- a/es/v3/api/interfaces/eventmoduledefs/index.html +++ b/es/v3/api/interfaces/eventmoduledefs/index.html @@ -61,4 +61,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    3: ExternalEventCommand

    Source

    -

    src/types/core-modules.ts:167

    \ No newline at end of file +

    src/types/core-modules.ts:167

    \ No newline at end of file diff --git a/es/v3/api/interfaces/externaleventcommand/index.html b/es/v3/api/interfaces/externaleventcommand/index.html index aa50d3c0c..fb2ab3f7f 100644 --- a/es/v3/api/interfaces/externaleventcommand/index.html +++ b/es/v3/api/interfaces/externaleventcommand/index.html @@ -109,4 +109,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:50

    \ No newline at end of file +

    src/types/core-modules.ts:50

    \ No newline at end of file diff --git a/es/v3/api/interfaces/init/index.html b/es/v3/api/interfaces/init/index.html index f702f8ab7..d7deda547 100644 --- a/es/v3/api/interfaces/init/index.html +++ b/es/v3/api/interfaces/init/index.html @@ -51,4 +51,4 @@ Let dependencies implement this to initiate some logic.

    Returns

    unknown

    Source

    -

    src/core/contracts/hooks.ts:7

    \ No newline at end of file +

    src/core/contracts/hooks.ts:7

    \ No newline at end of file diff --git a/es/v3/api/interfaces/initplugin/index.html b/es/v3/api/interfaces/initplugin/index.html index 3f2e1a7e8..f96225559 100644 --- a/es/v3/api/interfaces/initplugin/index.html +++ b/es/v3/api/interfaces/initplugin/index.html @@ -60,4 +60,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    type: Init

    Source

    -

    src/types/core-plugin.ts:68

    \ No newline at end of file +

    src/types/core-plugin.ts:68

    \ No newline at end of file diff --git a/es/v3/api/interfaces/logging/index.html b/es/v3/api/interfaces/logging/index.html index 7eba9c2f1..b3b6eb944 100644 --- a/es/v3/api/interfaces/logging/index.html +++ b/es/v3/api/interfaces/logging/index.html @@ -88,4 +88,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    void

    Source

    -

    src/core/contracts/logging.ts:6

    \ No newline at end of file +

    src/core/contracts/logging.ts:6

    \ No newline at end of file diff --git a/es/v3/api/interfaces/mentionableselectcommand/index.html b/es/v3/api/interfaces/mentionableselectcommand/index.html index 144a80e5d..edb0fc115 100644 --- a/es/v3/api/interfaces/mentionableselectcommand/index.html +++ b/es/v3/api/interfaces/mentionableselectcommand/index.html @@ -102,4 +102,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:84

    \ No newline at end of file +

    src/types/core-modules.ts:84

    \ No newline at end of file diff --git a/es/v3/api/interfaces/modalsubmitcommand/index.html b/es/v3/api/interfaces/modalsubmitcommand/index.html index 085486738..822988192 100644 --- a/es/v3/api/interfaces/modalsubmitcommand/index.html +++ b/es/v3/api/interfaces/modalsubmitcommand/index.html @@ -102,4 +102,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:94

    \ No newline at end of file +

    src/types/core-modules.ts:94

    \ No newline at end of file diff --git a/es/v3/api/interfaces/plugin/index.html b/es/v3/api/interfaces/plugin/index.html index 795d3dc5a..c43ca3580 100644 --- a/es/v3/api/interfaces/plugin/index.html +++ b/es/v3/api/interfaces/plugin/index.html @@ -60,4 +60,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    type: PluginType

    Source

    -

    src/types/core-plugin.ts:63

    \ No newline at end of file +

    src/types/core-plugin.ts:63

    \ No newline at end of file diff --git a/es/v3/api/interfaces/roleselectcommand/index.html b/es/v3/api/interfaces/roleselectcommand/index.html index 65d8700b1..c053d7bb6 100644 --- a/es/v3/api/interfaces/roleselectcommand/index.html +++ b/es/v3/api/interfaces/roleselectcommand/index.html @@ -102,4 +102,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:79

    \ No newline at end of file +

    src/types/core-modules.ts:79

    \ No newline at end of file diff --git a/es/v3/api/interfaces/sernautocompletedata/index.html b/es/v3/api/interfaces/sernautocompletedata/index.html index 1bf7886dd..ac4aecc32 100644 --- a/es/v3/api/interfaces/sernautocompletedata/index.html +++ b/es/v3/api/interfaces/sernautocompletedata/index.html @@ -110,4 +110,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    type: String | Integer | Number

    Source

    -

    src/types/core-modules.ts:173

    \ No newline at end of file +

    src/types/core-modules.ts:173

    \ No newline at end of file diff --git a/es/v3/api/interfaces/serneventcommand/index.html b/es/v3/api/interfaces/serneventcommand/index.html index 22f9934c3..61b42c16f 100644 --- a/es/v3/api/interfaces/serneventcommand/index.html +++ b/es/v3/api/interfaces/serneventcommand/index.html @@ -104,4 +104,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:44

    \ No newline at end of file +

    src/types/core-modules.ts:44

    \ No newline at end of file diff --git a/es/v3/api/interfaces/serneventsmapping/index.html b/es/v3/api/interfaces/serneventsmapping/index.html index ada5384dd..0ec64e41d 100644 --- a/es/v3/api/interfaces/serneventsmapping/index.html +++ b/es/v3/api/interfaces/serneventsmapping/index.html @@ -75,4 +75,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    warning: [Payload]

    Source

    -

    src/types/utility.ts:22

    \ No newline at end of file +

    src/types/utility.ts:22

    \ No newline at end of file diff --git a/es/v3/api/interfaces/sernsubcommanddata/index.html b/es/v3/api/interfaces/sernsubcommanddata/index.html index d9a128327..e2624eae8 100644 --- a/es/v3/api/interfaces/sernsubcommanddata/index.html +++ b/es/v3/api/interfaces/sernsubcommanddata/index.html @@ -105,4 +105,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    APIApplicationCommandOptionBase.type

    Source

    -

    src/types/core-modules.ts:208

    \ No newline at end of file +

    src/types/core-modules.ts:208

    \ No newline at end of file diff --git a/es/v3/api/interfaces/sernsubcommandgroupdata/index.html b/es/v3/api/interfaces/sernsubcommandgroupdata/index.html index a0cad4cdc..29a6d474f 100644 --- a/es/v3/api/interfaces/sernsubcommandgroupdata/index.html +++ b/es/v3/api/interfaces/sernsubcommandgroupdata/index.html @@ -112,4 +112,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    type: SubcommandGroup

    Source

    -

    src/types/core-modules.ts:213

    \ No newline at end of file +

    src/types/core-modules.ts:213

    \ No newline at end of file diff --git a/es/v3/api/interfaces/slashcommand/index.html b/es/v3/api/interfaces/slashcommand/index.html index ad32f287a..5534c0ca3 100644 --- a/es/v3/api/interfaces/slashcommand/index.html +++ b/es/v3/api/interfaces/slashcommand/index.html @@ -110,4 +110,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:117

    \ No newline at end of file +

    src/types/core-modules.ts:117

    \ No newline at end of file diff --git a/es/v3/api/interfaces/stringselectcommand/index.html b/es/v3/api/interfaces/stringselectcommand/index.html index 45b9ac33a..904e01a38 100644 --- a/es/v3/api/interfaces/stringselectcommand/index.html +++ b/es/v3/api/interfaces/stringselectcommand/index.html @@ -102,4 +102,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:69

    \ No newline at end of file +

    src/types/core-modules.ts:69

    \ No newline at end of file diff --git a/es/v3/api/interfaces/textcommand/index.html b/es/v3/api/interfaces/textcommand/index.html index e44a3675d..26f61d32e 100644 --- a/es/v3/api/interfaces/textcommand/index.html +++ b/es/v3/api/interfaces/textcommand/index.html @@ -110,4 +110,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:111

    \ No newline at end of file +

    src/types/core-modules.ts:111

    \ No newline at end of file diff --git a/es/v3/api/interfaces/userselectcommand/index.html b/es/v3/api/interfaces/userselectcommand/index.html index 540c1c4f5..4bde81eb5 100644 --- a/es/v3/api/interfaces/userselectcommand/index.html +++ b/es/v3/api/interfaces/userselectcommand/index.html @@ -102,4 +102,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:89

    \ No newline at end of file +

    src/types/core-modules.ts:89

    \ No newline at end of file diff --git a/es/v3/api/interfaces/wrapper/index.html b/es/v3/api/interfaces/wrapper/index.html index 40572de24..91897325b 100644 --- a/es/v3/api/interfaces/wrapper/index.html +++ b/es/v3/api/interfaces/wrapper/index.html @@ -87,4 +87,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
  • https://github.com/sern-handler/handler/pull/325
  • Source

    -

    src/types/core.ts:16

    \ No newline at end of file +

    src/types/core.ts:16

    \ No newline at end of file diff --git a/es/v3/api/namespaces/presence/functions/module/index.html b/es/v3/api/namespaces/presence/functions/module/index.html index 5b4354289..e5d50b69e 100644 --- a/es/v3/api/namespaces/presence/functions/module/index.html +++ b/es/v3/api/namespaces/presence/functions/module/index.html @@ -54,4 +54,4 @@ adjacent to the file where Sern.init is CALLED.

    Returns

    Config<T>

    Source

    -

    src/core/presences.ts:28

    \ No newline at end of file +

    src/core/presences.ts:28

    \ No newline at end of file diff --git a/es/v3/api/namespaces/presence/functions/of/index.html b/es/v3/api/namespaces/presence/functions/of/index.html index d5a5376c4..1ff80f6ee 100644 --- a/es/v3/api/namespaces/presence/functions/of/index.html +++ b/es/v3/api/namespaces/presence/functions/of/index.html @@ -97,4 +97,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    optional status: Status

    Source

    -

    src/core/presences.ts:37

    \ No newline at end of file +

    src/core/presences.ts:37

    \ No newline at end of file diff --git a/es/v3/api/namespaces/presence/interfaces/result/index.html b/es/v3/api/namespaces/presence/interfaces/result/index.html index 45e1611e2..4657b3c0a 100644 --- a/es/v3/api/namespaces/presence/interfaces/result/index.html +++ b/es/v3/api/namespaces/presence/interfaces/result/index.html @@ -86,4 +86,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    optional status: Status

    Source

    -

    src/core/presences.ts:9

    \ No newline at end of file +

    src/core/presences.ts:9

    \ No newline at end of file diff --git a/es/v3/api/namespaces/presence/type-aliases/config/index.html b/es/v3/api/namespaces/presence/type-aliases/config/index.html index 09cc035a1..ea7a50524 100644 --- a/es/v3/api/namespaces/presence/type-aliases/config/index.html +++ b/es/v3/api/namespaces/presence/type-aliases/config/index.html @@ -60,4 +60,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    optional inject: [...T]

    Source

    -

    src/core/presences.ts:17

    \ No newline at end of file +

    src/core/presences.ts:17

    \ No newline at end of file diff --git a/es/v3/api/namespaces/sern/functions/init/index.html b/es/v3/api/namespaces/sern/functions/init/index.html index f1cf2c72e..5af5b9141 100644 --- a/es/v3/api/namespaces/sern/functions/init/index.html +++ b/es/v3/api/namespaces/sern/functions/init/index.html @@ -53,4 +53,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Example

    src/index.ts
    1
    Sern.init({
    2
    commands: 'dist/commands',
    3
    events: 'dist/events',
    4
    })

    Source

    -

    src/sern.ts:26

    \ No newline at end of file +

    src/sern.ts:26

    \ No newline at end of file diff --git a/es/v3/api/readme/index.html b/es/v3/api/readme/index.html index fe5ed9fef..af633e426 100644 --- a/es/v3/api/readme/index.html +++ b/es/v3/api/readme/index.html @@ -130,4 +130,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
  • makePlugin
  • single
  • transient
  • - \ No newline at end of file + \ No newline at end of file diff --git a/es/v3/api/type-aliases/anycommandplugin/index.html b/es/v3/api/type-aliases/anycommandplugin/index.html index fa44f2c6f..85e9c063f 100644 --- a/es/v3/api/type-aliases/anycommandplugin/index.html +++ b/es/v3/api/type-aliases/anycommandplugin/index.html @@ -45,4 +45,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    AnyCommandPlugin: ControlPlugin | InitPlugin<[InitArgs<Processed<CommandModule>>]>

    Source

    -

    src/types/core-plugin.ts:76

    \ No newline at end of file +

    src/types/core-plugin.ts:76

    \ No newline at end of file diff --git a/es/v3/api/type-aliases/anyeventplugin/index.html b/es/v3/api/type-aliases/anyeventplugin/index.html index f71ec7b1c..83b259403 100644 --- a/es/v3/api/type-aliases/anyeventplugin/index.html +++ b/es/v3/api/type-aliases/anyeventplugin/index.html @@ -45,4 +45,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    AnyEventPlugin: ControlPlugin | InitPlugin<[InitArgs<Processed<EventModule>>]>

    Source

    -

    src/types/core-plugin.ts:77

    \ No newline at end of file +

    src/types/core-plugin.ts:77

    \ No newline at end of file diff --git a/es/v3/api/type-aliases/args/index.html b/es/v3/api/type-aliases/args/index.html index 5a91d12cc..a4e60bedb 100644 --- a/es/v3/api/type-aliases/args/index.html +++ b/es/v3/api/type-aliases/args/index.html @@ -54,4 +54,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    text: string[]

    Source

    -

    src/types/utility.ts:16

    \ No newline at end of file +

    src/types/utility.ts:16

    \ No newline at end of file diff --git a/es/v3/api/type-aliases/commandmodule/index.html b/es/v3/api/type-aliases/commandmodule/index.html index 2d0942641..719007f33 100644 --- a/es/v3/api/type-aliases/commandmodule/index.html +++ b/es/v3/api/type-aliases/commandmodule/index.html @@ -45,4 +45,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    CommandModule: TextCommand | SlashCommand | BothCommand | ContextMenuUser | ContextMenuMsg | ButtonCommand | StringSelectCommand | MentionableSelectCommand | UserSelectCommand | ChannelSelectCommand | RoleSelectCommand | ModalSubmitCommand

    Source

    -

    src/types/core-modules.ts:132

    \ No newline at end of file +

    src/types/core-modules.ts:132

    \ No newline at end of file diff --git a/es/v3/api/type-aliases/eventmodule/index.html b/es/v3/api/type-aliases/eventmodule/index.html index 53be8eec9..af1e093da 100644 --- a/es/v3/api/type-aliases/eventmodule/index.html +++ b/es/v3/api/type-aliases/eventmodule/index.html @@ -45,4 +45,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    EventModule: DiscordEventCommand | SernEventCommand | ExternalEventCommand

    Source

    -

    src/types/core-modules.ts:131

    \ No newline at end of file +

    src/types/core-modules.ts:131

    \ No newline at end of file diff --git a/es/v3/api/type-aliases/initializable/index.html b/es/v3/api/type-aliases/initializable/index.html index f6f758106..989c7fa1f 100644 --- a/es/v3/api/type-aliases/initializable/index.html +++ b/es/v3/api/type-aliases/initializable/index.html @@ -49,4 +49,4 @@ If T has an init method, this will be called.

    Type parameters

    T extends Init

    Source

    -

    src/types/ioc.ts:17

    \ No newline at end of file +

    src/types/ioc.ts:17

    \ No newline at end of file diff --git a/es/v3/api/type-aliases/logpayload/index.html b/es/v3/api/type-aliases/logpayload/index.html index fafbac997..6b2a94050 100644 --- a/es/v3/api/type-aliases/logpayload/index.html +++ b/es/v3/api/type-aliases/logpayload/index.html @@ -52,4 +52,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    message: T

    Source

    -

    src/core/contracts/logging.ts:11

    \ No newline at end of file +

    src/core/contracts/logging.ts:11

    \ No newline at end of file diff --git a/es/v3/api/type-aliases/payload/index.html b/es/v3/api/type-aliases/payload/index.html index f0c727beb..31d83a40e 100644 --- a/es/v3/api/type-aliases/payload/index.html +++ b/es/v3/api/type-aliases/payload/index.html @@ -45,4 +45,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Payload: object | object | object

    Source

    -

    src/types/utility.ts:26

    \ No newline at end of file +

    src/types/utility.ts:26

    \ No newline at end of file diff --git a/es/v3/api/type-aliases/pluginresult/index.html b/es/v3/api/type-aliases/pluginresult/index.html index ca6979c1d..1f098294c 100644 --- a/es/v3/api/type-aliases/pluginresult/index.html +++ b/es/v3/api/type-aliases/pluginresult/index.html @@ -45,4 +45,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    PluginResult: Awaitable<VoidResult>

    Source

    -

    src/types/core-plugin.ts:51

    \ No newline at end of file +

    src/types/core-plugin.ts:51

    \ No newline at end of file diff --git a/es/v3/api/type-aliases/sernoptionsdata/index.html b/es/v3/api/type-aliases/sernoptionsdata/index.html index 1e57af665..892f08af3 100644 --- a/es/v3/api/type-aliases/sernoptionsdata/index.html +++ b/es/v3/api/type-aliases/sernoptionsdata/index.html @@ -46,4 +46,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Type that replaces autocomplete with SernAutocompleteData

    Source

    -

    src/types/core-modules.ts:200

    \ No newline at end of file +

    src/types/core-modules.ts:200

    \ No newline at end of file diff --git a/es/v3/api/type-aliases/singleton/index.html b/es/v3/api/type-aliases/singleton/index.html index 0f7a20179..4b4cce41d 100644 --- a/es/v3/api/type-aliases/singleton/index.html +++ b/es/v3/api/type-aliases/singleton/index.html @@ -51,4 +51,4 @@ T is created once and lazily.

    Returns

    T

    Source

    -

    src/types/ioc.ts:7

    \ No newline at end of file +

    src/types/ioc.ts:7

    \ No newline at end of file diff --git a/es/v3/api/type-aliases/slashoptions/index.html b/es/v3/api/type-aliases/slashoptions/index.html index 172bba714..99731a67d 100644 --- a/es/v3/api/type-aliases/slashoptions/index.html +++ b/es/v3/api/type-aliases/slashoptions/index.html @@ -45,4 +45,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    SlashOptions: Omit<CommandInteractionOptionResolver, "getMessage" | "getFocused">

    Source

    -

    src/types/utility.ts:14

    \ No newline at end of file +

    src/types/utility.ts:14

    \ No newline at end of file diff --git a/es/v3/api/type-aliases/transient/index.html b/es/v3/api/type-aliases/transient/index.html index be484e3c4..43aef5c8c 100644 --- a/es/v3/api/type-aliases/transient/index.html +++ b/es/v3/api/type-aliases/transient/index.html @@ -53,4 +53,4 @@ Every time this is called, a new object is created

    Returns

    T

    Source

    -

    src/types/ioc.ts:12

    \ No newline at end of file +

    src/types/ioc.ts:12

    \ No newline at end of file diff --git a/es/v3/api/variables/controller/index.html b/es/v3/api/variables/controller/index.html index 1d4b6f0c8..9dca8457b 100644 --- a/es/v3/api/variables/controller/index.html +++ b/es/v3/api/variables/controller/index.html @@ -61,4 +61,4 @@ The object passed into every plugin to control a command’s behavior

    Returns

    ErrImpl<void>

    Source

    -

    src/core/create-plugins.ts:69

    \ No newline at end of file +

    src/core/create-plugins.ts:69

    \ No newline at end of file diff --git a/es/v3/cli/about/index.html b/es/v3/cli/about/index.html index 0206d5bca..e8eed062f 100644 --- a/es/v3/cli/about/index.html +++ b/es/v3/cli/about/index.html @@ -50,4 +50,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
    If you're new to sern, run npm create @sern/bot for an interactive setup to your new bot project!
    If you have any ideas, suggestions, bug reports, kindly join our support server: https://sern.dev/discord
    Options:
    -v, --version output the version number
    -h, --help display help for command
    -
    Commands:
    init [options] Quickest way to scaffold a new project [DEPRECATED]
    plugins [options] Install plugins from https://github.com/sern-handler/awesome-plugins
    extra Easy way to add extra things in your sern project
    commands Defacto way to manage your slash commands
    help [command] display help for command
    \ No newline at end of file +
    Commands:
    init [options] Quickest way to scaffold a new project [DEPRECATED]
    plugins [options] Install plugins from https://github.com/sern-handler/awesome-plugins
    extra Easy way to add extra things in your sern project
    commands Defacto way to manage your slash commands
    help [command] display help for command
    \ No newline at end of file diff --git a/es/v3/cli/build/index.html b/es/v3/cli/build/index.html index 16af2c409..3c783e27f 100644 --- a/es/v3/cli/build/index.html +++ b/es/v3/cli/build/index.html @@ -113,4 +113,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Full esbuild documentation here. Add more to the define field in build options (only availible with a sern.build file at the moment)

    process.env

    We generate your process.env with dotenv and generate typings for process.env. Less hassle!

    -
    DISCORD_TOKEN=<your token>
    1
    process.env.DISCORD_TOKEN; // string | undefined (not typesafe :()
    \ No newline at end of file +
    DISCORD_TOKEN=<your token>
    1
    process.env.DISCORD_TOKEN; // string | undefined (not typesafe :()
    \ No newline at end of file diff --git a/es/v3/cli/clear/index.html b/es/v3/cli/clear/index.html index 9924febba..2c461a3b0 100644 --- a/es/v3/cli/clear/index.html +++ b/es/v3/cli/clear/index.html @@ -55,4 +55,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem; \ No newline at end of file + \ No newline at end of file diff --git a/es/v3/cli/extra/index.html b/es/v3/cli/extra/index.html index 1f5e28ef8..840ba3d85 100644 --- a/es/v3/cli/extra/index.html +++ b/es/v3/cli/extra/index.html @@ -48,4 +48,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    This command is pretty straightfoward. Install utilities into your application, assuming you have a sern.config.json.

    You can use this command to install things such as a Dockerfile

    Usage

    -
    Terminal window
    sern extra
    # Choose which extra feature from the prompt, such as this:
    What extra feature do you want to add? Dockerfile (TypeScript)
    \ No newline at end of file +
    Terminal window
    sern extra
    # Choose which extra feature from the prompt, such as this:
    What extra feature do you want to add? Dockerfile (TypeScript)
    \ No newline at end of file diff --git a/es/v3/cli/publish/index.html b/es/v3/cli/publish/index.html index 54166c113..7b44da3e1 100644 --- a/es/v3/cli/publish/index.html +++ b/es/v3/cli/publish/index.html @@ -88,4 +88,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
    src/commands/ping.ts
    1
    import { commandModule, Service, CommandType } from '@sern/handler'
    2
    3
    const client = Service('@sern/client');
    4
    5
    export const config = {
    6
    guildIds: ["889026545715400705"]
    7
    }
    8
    -
    9
    export default commandModule( {
    10
    type: CommandType.Slash
    11
    description: `${client.user.username}'s ping`,
    12
    execute: (ctx) => {
    13
    ctx.reply('pong')
    14
    }
    15
    })
    \ No newline at end of file +
    9
    export default commandModule( {
    10
    type: CommandType.Slash
    11
    description: `${client.user.username}'s ping`,
    12
    execute: (ctx) => {
    13
    ctx.reply('pong')
    14
    }
    15
    })
    \ No newline at end of file diff --git a/es/v3/guide/getting-started/choose-ide/index.html b/es/v3/guide/getting-started/choose-ide/index.html index 10bab4f58..7a65ebefe 100644 --- a/es/v3/guide/getting-started/choose-ide/index.html +++ b/es/v3/guide/getting-started/choose-ide/index.html @@ -51,4 +51,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
  • Sublime Text
  • NotePad++
  • nvim (chad)
  • - \ No newline at end of file + \ No newline at end of file diff --git a/es/v3/guide/getting-started/preparing/index.html b/es/v3/guide/getting-started/preparing/index.html index 3fab1dc55..d48200428 100644 --- a/es/v3/guide/getting-started/preparing/index.html +++ b/es/v3/guide/getting-started/preparing/index.html @@ -44,4 +44,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Preparing to Code

    Esta página aún no está disponible en tu idioma.

    After installing an IDE, you need to install node. Node is necessary to use sern, as it’s based on Discord.js.

    You can download Node from the official website here.

    After you’ve downloaded Node you will need a Discord token

    -

    CONTINUE 🤓

    \ No newline at end of file +

    CONTINUE 🤓

    \ No newline at end of file diff --git a/es/v3/guide/walkthrough/autocomplete/index.html b/es/v3/guide/walkthrough/autocomplete/index.html index 48374dced..9ac63f5b7 100644 --- a/es/v3/guide/walkthrough/autocomplete/index.html +++ b/es/v3/guide/walkthrough/autocomplete/index.html @@ -51,4 +51,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    We can filter the cheeses based on the focus object, and return only the cheeses that start with the focus object.

    You can do a lot more with the focus object, such as performing API calls, or implementing a fuzzy search.

    src/commands/cheese.ts
    1
    export default commandModule({
    2
    type: CommandType.Slash,
    3
    description: "show me cheese",
    4
    options: [
    5
    {
    6
    name: "list",
    7
    type: ApplicationCommandOptionType.String,
    8
    description: "pick a cheese to show",
    9
    required: true,
    10
    autocomplete: true,
    11
    command: {
    12
    onEvent: [],
    13
    execute: (ctx) => {
    14
    const focus = ctx.options.getFocused();
    15
    ctx.respond(
    16
    ["gouda", "parmesan", "harvarti"]
    17
    .filter((cheese) => cheese.startsWith(focus))
    18
    .map((cheese) => ({
    19
    name: cheese,
    20
    value: cheese,
    21
    })),
    22
    );
    23
    },
    24
    },
    25
    },
    26
    ],
    27
    execute: (ctx, [, args]) => {
    28
    const cheese = args.getString("list", true);
    29
    ctx.reply("selected cheese");
    30
    },
    31
    });
    - \ No newline at end of file + \ No newline at end of file diff --git a/es/v3/guide/walkthrough/cli/index.html b/es/v3/guide/walkthrough/cli/index.html index 4e12e28a4..d39d10eed 100644 --- a/es/v3/guide/walkthrough/cli/index.html +++ b/es/v3/guide/walkthrough/cli/index.html @@ -56,4 +56,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Extra Utilities

    To install extra utilities into your project, run:

    Terminal window
    sern extra
    -

    We have a more in depth guide on the CLI if you’re interested in learning more.

    \ No newline at end of file +

    We have a more in depth guide on the CLI if you’re interested in learning more.

    \ No newline at end of file diff --git a/es/v3/guide/walkthrough/conclusion/index.html b/es/v3/guide/walkthrough/conclusion/index.html index 28c6b70af..592d18b80 100644 --- a/es/v3/guide/walkthrough/conclusion/index.html +++ b/es/v3/guide/walkthrough/conclusion/index.html @@ -44,4 +44,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Conclusion

    Esta página aún no está disponible en tu idioma.

    If you reached this far, thank you for reading!

    We hope you have learned the necessities you need to create a bot with the sern framework.

    If you have any other questions, bugs, feature requests, concerns, please join our community server, and we’ll be glad to answer your questions!

    -

    paper logo

    \ No newline at end of file +

    paper logo

    \ No newline at end of file diff --git a/es/v3/guide/walkthrough/dependency-injection/index.html b/es/v3/guide/walkthrough/dependency-injection/index.html index b1bc5b35e..2e3abbb27 100644 --- a/es/v3/guide/walkthrough/dependency-injection/index.html +++ b/es/v3/guide/walkthrough/dependency-injection/index.html @@ -87,4 +87,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
  • Now, when your bot starts, the init method will be called. 🎉

  • - \ No newline at end of file + \ No newline at end of file diff --git a/es/v3/guide/walkthrough/first-command/index.html b/es/v3/guide/walkthrough/first-command/index.html index 5113db1e5..9d58aab6e 100644 --- a/es/v3/guide/walkthrough/first-command/index.html +++ b/es/v3/guide/walkthrough/first-command/index.html @@ -71,4 +71,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
  • CommandType.Slash
  • CommandType.Text
  • -

    This data structure helps interop between legacy commands and slash commands with ease.

    \ No newline at end of file +

    This data structure helps interop between legacy commands and slash commands with ease.

    \ No newline at end of file diff --git a/es/v3/guide/walkthrough/first-event/index.html b/es/v3/guide/walkthrough/first-event/index.html index 9ba56e5bf..8587d5ecf 100644 --- a/es/v3/guide/walkthrough/first-event/index.html +++ b/es/v3/guide/walkthrough/first-event/index.html @@ -53,4 +53,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
    src/index.ts
    1
    await makeDependencies({
    2
    build: root => root.add({
    3
    eventlistener: single(() => new EventEmitter())
    4
    })
    5
    })

    In your event module, you can now listen to events from eventlistener, which will be emitted from the EventEmitter.

    src/events/myevent.ts
    1
    export default eventModule({
    2
    type: EventType.External,
    3
    emitter: 'eventlistener',
    4
    execute: (args) => {
    5
    console.log('Got event from eventlistener: ', args);
    6
    }
    7
    })
    - \ No newline at end of file + \ No newline at end of file diff --git a/es/v3/guide/walkthrough/goal/index.html b/es/v3/guide/walkthrough/goal/index.html index 30435186f..1c4569e77 100644 --- a/es/v3/guide/walkthrough/goal/index.html +++ b/es/v3/guide/walkthrough/goal/index.html @@ -54,4 +54,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
    4
    export class PingCommand extends Command {
    5
    public constructor(context: Command.Context) {
    6
    super(context, {
    7
    description: "Pong!",
    8
    chatInputCommand: {
    9
    register: true,
    10
    },
    11
    });
    12
    }
    13
    public async chatInputRun(interaction: CommandInteraction) {
    14
    await interaction.reply("Pong!");
    15
    }
    16
    }

    Keep in mind the sern example acts as both a slash command AND a text command. The Sapphire example is only a slash command, and it’s more code than sern.

    -

    Be smart. Choose sern.

    \ No newline at end of file +

    Be smart. Choose sern.

    \ No newline at end of file diff --git a/es/v3/guide/walkthrough/good-to-know/index.html b/es/v3/guide/walkthrough/good-to-know/index.html index 3f10c5b96..6e1baf126 100644 --- a/es/v3/guide/walkthrough/good-to-know/index.html +++ b/es/v3/guide/walkthrough/good-to-know/index.html @@ -46,4 +46,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    For example, when installing TypeScript plugins, the language property is necessary to install from our open source repository.

    Using the CLI and running sern init --sync on pre-existing projects should install this file in the your project.

    Or, if this is a brand-new project, sern init automatically installs it.

    -
    sern.config.json
    1
    {
    2
    "language": "typescript",
    3
    "paths": {
    4
    "base": "src",
    5
    "commands": "commands"
    6
    }
    7
    }
    \ No newline at end of file +
    sern.config.json
    1
    {
    2
    "language": "typescript",
    3
    "paths": {
    4
    "base": "src",
    5
    "commands": "commands"
    6
    }
    7
    }
    \ No newline at end of file diff --git a/es/v3/guide/walkthrough/new-project/index.html b/es/v3/guide/walkthrough/new-project/index.html index fd64fc9b5..a66ecfccf 100644 --- a/es/v3/guide/walkthrough/new-project/index.html +++ b/es/v3/guide/walkthrough/new-project/index.html @@ -43,4 +43,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem; StarlightThemeProvider.updatePickers();

    New Project

    Esta página aún no está disponible en tu idioma.

    Terminal window
    npm create @sern/bot

    Once you’ve used this command, follow the interactive prompts to create your new project.

    -

    If you need help, feel free to ask on our Discord.

    \ No newline at end of file +

    If you need help, feel free to ask on our Discord.

    \ No newline at end of file diff --git a/es/v3/guide/walkthrough/plugins/index.html b/es/v3/guide/walkthrough/plugins/index.html index 869a6894f..aa0d8e9b8 100644 --- a/es/v3/guide/walkthrough/plugins/index.html +++ b/es/v3/guide/walkthrough/plugins/index.html @@ -81,4 +81,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
  • Before an event occurs, this command module will check if the user has the id 182326315813306368.
  • If all plugins return controller.next(), this command replies Pong 🏓
  • - \ No newline at end of file + \ No newline at end of file diff --git a/es/v3/guide/walkthrough/sern-emitter/index.html b/es/v3/guide/walkthrough/sern-emitter/index.html index d30961db8..7f54367d2 100644 --- a/es/v3/guide/walkthrough/sern-emitter/index.html +++ b/es/v3/guide/walkthrough/sern-emitter/index.html @@ -51,4 +51,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
  • warn events, where it is possible to throw errors
  • You can put these and other event listeners into event modules!

    -

    You can view all events in the SernEventsMapping interface.

    \ No newline at end of file +

    You can view all events in the SernEventsMapping interface.

    \ No newline at end of file diff --git a/es/v3/guide/walkthrough/services/index.html b/es/v3/guide/walkthrough/services/index.html index ed8cde431..1a5e06633 100644 --- a/es/v3/guide/walkthrough/services/index.html +++ b/es/v3/guide/walkthrough/services/index.html @@ -83,4 +83,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem; \ No newline at end of file + \ No newline at end of file diff --git a/es/v3/guide/walkthrough/transition/index.html b/es/v3/guide/walkthrough/transition/index.html index 13d954bf9..d44893f2d 100644 --- a/es/v3/guide/walkthrough/transition/index.html +++ b/es/v3/guide/walkthrough/transition/index.html @@ -47,4 +47,4 @@ include a dependencies.d.ts file into compilation. (Chec

    A standard project file tree:

    \ No newline at end of file +
  • .env
  • .gitignore
  • bun.lockb
  • package.json
  • README.md
  • sern.config.json
  • tsconfig.json
  • \ No newline at end of file diff --git a/es/v4/api/classes/context/index.html b/es/v4/api/classes/context/index.html index 151b5556b..c1fa1335a 100644 --- a/es/v4/api/classes/context/index.html +++ b/es/v4/api/classes/context/index.html @@ -222,4 +222,4 @@ else, interaction.user

    Returns

    Context

    Source

    -

    src/core/structures/context.ts:124

    \ No newline at end of file +

    src/core/structures/context.ts:124

    \ No newline at end of file diff --git a/es/v4/api/enumerations/commandtype/index.html b/es/v4/api/enumerations/commandtype/index.html index 32432aef8..bf8c9ab06 100644 --- a/es/v4/api/enumerations/commandtype/index.html +++ b/es/v4/api/enumerations/commandtype/index.html @@ -129,4 +129,4 @@ A bitfield that discriminates command modules

    UserSelect: 128

    Source

    -

    src/core/structures/enums.ts:26

    \ No newline at end of file +

    src/core/structures/enums.ts:26

    \ No newline at end of file diff --git a/es/v4/api/enumerations/eventtype/index.html b/es/v4/api/enumerations/eventtype/index.html index b51dbbd4a..d45bee112 100644 --- a/es/v4/api/enumerations/eventtype/index.html +++ b/es/v4/api/enumerations/eventtype/index.html @@ -68,4 +68,4 @@ Could be for example, process events, database events

    The EventType for handling sern events

    Source

    -

    src/core/structures/enums.ts:55

    \ No newline at end of file +

    src/core/structures/enums.ts:55

    \ No newline at end of file diff --git a/es/v4/api/enumerations/payloadtype/index.html b/es/v4/api/enumerations/payloadtype/index.html index 8a9e47dbd..f0ed463ad 100644 --- a/es/v4/api/enumerations/payloadtype/index.html +++ b/es/v4/api/enumerations/payloadtype/index.html @@ -64,4 +64,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Warning: "warning"

    Source

    -

    src/core/structures/enums.ts:94

    \ No newline at end of file +

    src/core/structures/enums.ts:94

    \ No newline at end of file diff --git a/es/v4/api/enumerations/plugintype/index.html b/es/v4/api/enumerations/plugintype/index.html index 38e4f571d..db65332ad 100644 --- a/es/v4/api/enumerations/plugintype/index.html +++ b/es/v4/api/enumerations/plugintype/index.html @@ -59,4 +59,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    The PluginType for InitPlugins

    Source

    -

    src/core/structures/enums.ts:81

    \ No newline at end of file +

    src/core/structures/enums.ts:81

    \ No newline at end of file diff --git a/es/v4/api/functions/commandcontrolplugin/index.html b/es/v4/api/functions/commandcontrolplugin/index.html index 0f5722dd3..90bc0801e 100644 --- a/es/v4/api/functions/commandcontrolplugin/index.html +++ b/es/v4/api/functions/commandcontrolplugin/index.html @@ -74,4 +74,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
  • Useful for implementing preconditions, filters, and command preprocessing
  • Source

    -

    src/core/plugin.ts:120

    \ No newline at end of file +

    src/core/plugin.ts:120

    \ No newline at end of file diff --git a/es/v4/api/functions/commandinitplugin/index.html b/es/v4/api/functions/commandinitplugin/index.html index ca8360bf1..f0225b63a 100644 --- a/es/v4/api/functions/commandinitplugin/index.html +++ b/es/v4/api/functions/commandinitplugin/index.html @@ -69,4 +69,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
  • Use controller.stop(reason) to halt plugin execution
  • Source

    -

    src/core/plugin.ts:62

    \ No newline at end of file +

    src/core/plugin.ts:62

    \ No newline at end of file diff --git a/es/v4/api/functions/commandmodule/index.html b/es/v4/api/functions/commandmodule/index.html index aa12fd614..20230d515 100644 --- a/es/v4/api/functions/commandmodule/index.html +++ b/es/v4/api/functions/commandmodule/index.html @@ -58,4 +58,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Example

    1
    // Command with component interaction
    2
    export default commandModule({
    3
    type: CommandType.Slash,
    4
    description: "Interactive command",
    5
    execute: async (ctx) => {
    6
    const button = new ButtonBuilder({
    7
    customId: "btn/someData",
    8
    label: "Click me",
    9
    style: ButtonStyle.Primary
    10
    });
    11
    await ctx.reply({
    12
    content: "Interactive message",
    13
    components: [new ActionRowBuilder().addComponents(button)]
    14
    });
    15
    }
    16
    });

    Source

    -

    src/core/modules.ts:47

    \ No newline at end of file +

    src/core/modules.ts:47

    \ No newline at end of file diff --git a/es/v4/api/functions/discordevent/index.html b/es/v4/api/functions/discordevent/index.html index f4bb02ddc..7c162ae8b 100644 --- a/es/v4/api/functions/discordevent/index.html +++ b/es/v4/api/functions/discordevent/index.html @@ -58,4 +58,4 @@ where typings were bad.

    Returns

    Module

    Source

    -

    src/core/modules.ts:97

    \ No newline at end of file +

    src/core/modules.ts:97

    \ No newline at end of file diff --git a/es/v4/api/functions/eventinitplugin/index.html b/es/v4/api/functions/eventinitplugin/index.html index 657f0e17c..590ee5b78 100644 --- a/es/v4/api/functions/eventinitplugin/index.html +++ b/es/v4/api/functions/eventinitplugin/index.html @@ -51,4 +51,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Since

    2.5.0

    Source

    -

    src/core/plugin.ts:15

    \ No newline at end of file +

    src/core/plugin.ts:15

    \ No newline at end of file diff --git a/es/v4/api/functions/eventmodule/index.html b/es/v4/api/functions/eventmodule/index.html index 9255efd92..4993e0faa 100644 --- a/es/v4/api/functions/eventmodule/index.html +++ b/es/v4/api/functions/eventmodule/index.html @@ -63,4 +63,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Example

    1
    // Custom sern event
    2
    export default eventModule({
    3
    type: EventType.Sern,
    4
    execute: async (eventData) => {
    5
    // Handle sern-specific event
    6
    }
    7
    });

    Source

    -

    src/core/modules.ts:83

    \ No newline at end of file +

    src/core/modules.ts:83

    \ No newline at end of file diff --git a/es/v4/api/functions/makedependencies/index.html b/es/v4/api/functions/makedependencies/index.html index acebcfa06..0679c5db1 100644 --- a/es/v4/api/functions/makedependencies/index.html +++ b/es/v4/api/functions/makedependencies/index.html @@ -53,4 +53,4 @@ This is required to start the handler, and is to be called before Sern.init.

    Example

    1
    await makeDependencies(({ add }) => {
    2
    add('@sern/client', new Client({ intents, partials })
    3
    })

    Source

    -

    src/core/ioc.ts:63

    \ No newline at end of file +

    src/core/ioc.ts:63

    \ No newline at end of file diff --git a/es/v4/api/functions/makeplugin/index.html b/es/v4/api/functions/makeplugin/index.html index 3e8ab8c56..a1ec632e3 100644 --- a/es/v4/api/functions/makeplugin/index.html +++ b/es/v4/api/functions/makeplugin/index.html @@ -52,4 +52,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    Plugin<V>

    Source

    -

    src/core/plugin.ts:6

    \ No newline at end of file +

    src/core/plugin.ts:6

    \ No newline at end of file diff --git a/es/v4/api/functions/service/index.html b/es/v4/api/functions/service/index.html index 33558f4f6..38ae9196f 100644 --- a/es/v4/api/functions/service/index.html +++ b/es/v4/api/functions/service/index.html @@ -62,4 +62,4 @@ Note: this method only works AFTER your container has been initiated

    Throws

    if container is absent or not present

    Source

    -

    src/core/ioc.ts:93

    \ No newline at end of file +

    src/core/ioc.ts:93

    \ No newline at end of file diff --git a/es/v4/api/functions/services/index.html b/es/v4/api/functions/services/index.html index 825424691..cfacc9245 100644 --- a/es/v4/api/functions/services/index.html +++ b/es/v4/api/functions/services/index.html @@ -57,4 +57,4 @@ The plural version of Servi

    Throws

    if container is absent or not present

    Source

    -

    src/core/ioc.ts:103

    \ No newline at end of file +

    src/core/ioc.ts:103

    \ No newline at end of file diff --git a/es/v4/api/functions/single/index.html b/es/v4/api/functions/single/index.html index a1e284f79..e86459d76 100644 --- a/es/v4/api/functions/single/index.html +++ b/es/v4/api/functions/single/index.html @@ -52,4 +52,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    T

    Source

    -

    src/core/ioc.ts:112

    \ No newline at end of file +

    src/core/ioc.ts:112

    \ No newline at end of file diff --git a/es/v4/api/functions/transient/index.html b/es/v4/api/functions/transient/index.html index 6cbfb39bf..a0542fa91 100644 --- a/es/v4/api/functions/transient/index.html +++ b/es/v4/api/functions/transient/index.html @@ -55,4 +55,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    2.0.0 Creates a transient object

    Source

    -

    src/core/ioc.ts:123

    \ No newline at end of file +

    src/core/ioc.ts:123

    \ No newline at end of file diff --git a/es/v4/api/interfaces/bothcommand/index.html b/es/v4/api/interfaces/bothcommand/index.html index 1ddaf6686..ba493d086 100644 --- a/es/v4/api/interfaces/bothcommand/index.html +++ b/es/v4/api/interfaces/bothcommand/index.html @@ -174,4 +174,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:283

    \ No newline at end of file +

    src/types/core-modules.ts:283

    \ No newline at end of file diff --git a/es/v4/api/interfaces/buttoncommand/index.html b/es/v4/api/interfaces/buttoncommand/index.html index 89eabc501..2c1f9aa26 100644 --- a/es/v4/api/interfaces/buttoncommand/index.html +++ b/es/v4/api/interfaces/buttoncommand/index.html @@ -167,4 +167,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:225

    \ No newline at end of file +

    src/types/core-modules.ts:225

    \ No newline at end of file diff --git a/es/v4/api/interfaces/channelselectcommand/index.html b/es/v4/api/interfaces/channelselectcommand/index.html index a27a1e65d..3bdf1fcfd 100644 --- a/es/v4/api/interfaces/channelselectcommand/index.html +++ b/es/v4/api/interfaces/channelselectcommand/index.html @@ -167,4 +167,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:235

    \ No newline at end of file +

    src/types/core-modules.ts:235

    \ No newline at end of file diff --git a/es/v4/api/interfaces/commandmoduledefs/index.html b/es/v4/api/interfaces/commandmoduledefs/index.html index f4fc89bdc..f577bf7f5 100644 --- a/es/v4/api/interfaces/commandmoduledefs/index.html +++ b/es/v4/api/interfaces/commandmoduledefs/index.html @@ -124,4 +124,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    8: ContextMenuMsg

    Source

    -

    src/types/core-modules.ts:310

    \ No newline at end of file +

    src/types/core-modules.ts:310

    \ No newline at end of file diff --git a/es/v4/api/interfaces/contextmenumsg/index.html b/es/v4/api/interfaces/contextmenumsg/index.html index 28b567c94..863f6d95f 100644 --- a/es/v4/api/interfaces/contextmenumsg/index.html +++ b/es/v4/api/interfaces/contextmenumsg/index.html @@ -167,4 +167,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:220

    \ No newline at end of file +

    src/types/core-modules.ts:220

    \ No newline at end of file diff --git a/es/v4/api/interfaces/contextmenuuser/index.html b/es/v4/api/interfaces/contextmenuuser/index.html index 6a7c8c070..411ac65d1 100644 --- a/es/v4/api/interfaces/contextmenuuser/index.html +++ b/es/v4/api/interfaces/contextmenuuser/index.html @@ -167,4 +167,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:215

    \ No newline at end of file +

    src/types/core-modules.ts:215

    \ No newline at end of file diff --git a/es/v4/api/interfaces/controlplugin/index.html b/es/v4/api/interfaces/controlplugin/index.html index f67d9c008..2dadb7ef8 100644 --- a/es/v4/api/interfaces/controlplugin/index.html +++ b/es/v4/api/interfaces/controlplugin/index.html @@ -68,4 +68,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Plugin.type

    Source

    -

    src/types/core-plugin.ts:52

    \ No newline at end of file +

    src/types/core-plugin.ts:52

    \ No newline at end of file diff --git a/es/v4/api/interfaces/coredependencies/index.html b/es/v4/api/interfaces/coredependencies/index.html index 8b489d110..9bcd02264 100644 --- a/es/v4/api/interfaces/coredependencies/index.html +++ b/es/v4/api/interfaces/coredependencies/index.html @@ -90,4 +90,4 @@ by module.meta.id -> Module

    @sern/scheduler: TaskScheduler

    Source

    -

    src/core/ioc.ts:161

    \ No newline at end of file +

    src/core/ioc.ts:161

    \ No newline at end of file diff --git a/es/v4/api/interfaces/discordeventcommand/index.html b/es/v4/api/interfaces/discordeventcommand/index.html index 5cf6bb56d..e084158dc 100644 --- a/es/v4/api/interfaces/discordeventcommand/index.html +++ b/es/v4/api/interfaces/discordeventcommand/index.html @@ -168,4 +168,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:268

    \ No newline at end of file +

    src/types/core-modules.ts:268

    \ No newline at end of file diff --git a/es/v4/api/interfaces/disposable/index.html b/es/v4/api/interfaces/disposable/index.html index 7d57e4437..f45249049 100644 --- a/es/v4/api/interfaces/disposable/index.html +++ b/es/v4/api/interfaces/disposable/index.html @@ -51,4 +51,4 @@ Let dependencies implement this to dispose and cleanup.

    Returns

    unknown

    Source

    -

    src/core/interfaces.ts:17

    \ No newline at end of file +

    src/core/interfaces.ts:17

    \ No newline at end of file diff --git a/es/v4/api/interfaces/emitter/index.html b/es/v4/api/interfaces/emitter/index.html index 443731c08..03a095290 100644 --- a/es/v4/api/interfaces/emitter/index.html +++ b/es/v4/api/interfaces/emitter/index.html @@ -76,4 +76,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    this

    Source

    -

    src/core/interfaces.ts:23

    \ No newline at end of file +

    src/core/interfaces.ts:23

    \ No newline at end of file diff --git a/es/v4/api/interfaces/errorhandling/index.html b/es/v4/api/interfaces/errorhandling/index.html index 44d126414..f02c65e89 100644 --- a/es/v4/api/interfaces/errorhandling/index.html +++ b/es/v4/api/interfaces/errorhandling/index.html @@ -66,4 +66,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    void

    Source

    -

    src/core/interfaces.ts:41

    \ No newline at end of file +

    src/core/interfaces.ts:41

    \ No newline at end of file diff --git a/es/v4/api/interfaces/eventmoduledefs/index.html b/es/v4/api/interfaces/eventmoduledefs/index.html index d65d1902c..b24f9e7d0 100644 --- a/es/v4/api/interfaces/eventmoduledefs/index.html +++ b/es/v4/api/interfaces/eventmoduledefs/index.html @@ -63,4 +63,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    2: ExternalEventCommand

    Source

    -

    src/types/core-modules.ts:324

    \ No newline at end of file +

    src/types/core-modules.ts:324

    \ No newline at end of file diff --git a/es/v4/api/interfaces/externaleventcommand/index.html b/es/v4/api/interfaces/externaleventcommand/index.html index 7486060ec..8ba1af530 100644 --- a/es/v4/api/interfaces/externaleventcommand/index.html +++ b/es/v4/api/interfaces/externaleventcommand/index.html @@ -173,4 +173,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:210

    \ No newline at end of file +

    src/types/core-modules.ts:210

    \ No newline at end of file diff --git a/es/v4/api/interfaces/init/index.html b/es/v4/api/interfaces/init/index.html index d0a9b0e6a..3f99e834b 100644 --- a/es/v4/api/interfaces/init/index.html +++ b/es/v4/api/interfaces/init/index.html @@ -51,4 +51,4 @@ Let dependencies implement this to initiate some logic.

    Returns

    unknown

    Source

    -

    src/core/interfaces.ts:9

    \ No newline at end of file +

    src/core/interfaces.ts:9

    \ No newline at end of file diff --git a/es/v4/api/interfaces/initplugin/index.html b/es/v4/api/interfaces/initplugin/index.html index 52d0fc303..669afd6bd 100644 --- a/es/v4/api/interfaces/initplugin/index.html +++ b/es/v4/api/interfaces/initplugin/index.html @@ -68,4 +68,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Plugin.type

    Source

    -

    src/types/core-plugin.ts:48

    \ No newline at end of file +

    src/types/core-plugin.ts:48

    \ No newline at end of file diff --git a/es/v4/api/interfaces/logging/index.html b/es/v4/api/interfaces/logging/index.html index 35c7dcc64..9fbac4c4d 100644 --- a/es/v4/api/interfaces/logging/index.html +++ b/es/v4/api/interfaces/logging/index.html @@ -88,4 +88,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    void

    Source

    -

    src/core/interfaces.ts:50

    \ No newline at end of file +

    src/core/interfaces.ts:50

    \ No newline at end of file diff --git a/es/v4/api/interfaces/mentionableselectcommand/index.html b/es/v4/api/interfaces/mentionableselectcommand/index.html index 11759bd44..8282448da 100644 --- a/es/v4/api/interfaces/mentionableselectcommand/index.html +++ b/es/v4/api/interfaces/mentionableselectcommand/index.html @@ -167,4 +167,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:245

    \ No newline at end of file +

    src/types/core-modules.ts:245

    \ No newline at end of file diff --git a/es/v4/api/interfaces/modalsubmitcommand/index.html b/es/v4/api/interfaces/modalsubmitcommand/index.html index 0c503e064..d0579ea08 100644 --- a/es/v4/api/interfaces/modalsubmitcommand/index.html +++ b/es/v4/api/interfaces/modalsubmitcommand/index.html @@ -167,4 +167,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:255

    \ No newline at end of file +

    src/types/core-modules.ts:255

    \ No newline at end of file diff --git a/es/v4/api/interfaces/module/index.html b/es/v4/api/interfaces/module/index.html index 2b7023fc1..d5072bf3b 100644 --- a/es/v4/api/interfaces/module/index.html +++ b/es/v4/api/interfaces/module/index.html @@ -164,4 +164,4 @@ to attach metadata or configuration to modules.

    Returns

    any

    Source

    -

    src/types/core-modules.ts:196

    \ No newline at end of file +

    src/types/core-modules.ts:196

    \ No newline at end of file diff --git a/es/v4/api/interfaces/plugin/index.html b/es/v4/api/interfaces/plugin/index.html index 9d091bae6..ef59b14df 100644 --- a/es/v4/api/interfaces/plugin/index.html +++ b/es/v4/api/interfaces/plugin/index.html @@ -65,4 +65,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    type: PluginType

    Source

    -

    src/types/core-plugin.ts:43

    \ No newline at end of file +

    src/types/core-plugin.ts:43

    \ No newline at end of file diff --git a/es/v4/api/interfaces/roleselectcommand/index.html b/es/v4/api/interfaces/roleselectcommand/index.html index a20f2eaef..c224f160a 100644 --- a/es/v4/api/interfaces/roleselectcommand/index.html +++ b/es/v4/api/interfaces/roleselectcommand/index.html @@ -167,4 +167,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:240

    \ No newline at end of file +

    src/types/core-modules.ts:240

    \ No newline at end of file diff --git a/es/v4/api/interfaces/sernautocompletedata/index.html b/es/v4/api/interfaces/sernautocompletedata/index.html index bbc903385..b2a8f5f92 100644 --- a/es/v4/api/interfaces/sernautocompletedata/index.html +++ b/es/v4/api/interfaces/sernautocompletedata/index.html @@ -110,4 +110,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    type: String | Integer | Number

    Source

    -

    src/types/core-modules.ts:330

    \ No newline at end of file +

    src/types/core-modules.ts:330

    \ No newline at end of file diff --git a/es/v4/api/interfaces/serneventcommand/index.html b/es/v4/api/interfaces/serneventcommand/index.html index 3851abc70..8a3cdbbf4 100644 --- a/es/v4/api/interfaces/serneventcommand/index.html +++ b/es/v4/api/interfaces/serneventcommand/index.html @@ -168,4 +168,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:203

    \ No newline at end of file +

    src/types/core-modules.ts:203

    \ No newline at end of file diff --git a/es/v4/api/interfaces/serneventsmapping/index.html b/es/v4/api/interfaces/serneventsmapping/index.html index 5cd368c8e..f026f1f1d 100644 --- a/es/v4/api/interfaces/serneventsmapping/index.html +++ b/es/v4/api/interfaces/serneventsmapping/index.html @@ -75,4 +75,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    warning: [Payload]

    Source

    -

    src/types/utility.ts:13

    \ No newline at end of file +

    src/types/utility.ts:13

    \ No newline at end of file diff --git a/es/v4/api/interfaces/sernsubcommanddata/index.html b/es/v4/api/interfaces/sernsubcommanddata/index.html index 1fe0202ff..4c8b6bdfc 100644 --- a/es/v4/api/interfaces/sernsubcommanddata/index.html +++ b/es/v4/api/interfaces/sernsubcommanddata/index.html @@ -105,4 +105,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    APIApplicationCommandOptionBase.type

    Source

    -

    src/types/core-modules.ts:368

    \ No newline at end of file +

    src/types/core-modules.ts:368

    \ No newline at end of file diff --git a/es/v4/api/interfaces/sernsubcommandgroupdata/index.html b/es/v4/api/interfaces/sernsubcommandgroupdata/index.html index 9f17ca354..629f1c87e 100644 --- a/es/v4/api/interfaces/sernsubcommandgroupdata/index.html +++ b/es/v4/api/interfaces/sernsubcommandgroupdata/index.html @@ -112,4 +112,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    type: SubcommandGroup

    Source

    -

    src/types/core-modules.ts:373

    \ No newline at end of file +

    src/types/core-modules.ts:373

    \ No newline at end of file diff --git a/es/v4/api/interfaces/slashcommand/index.html b/es/v4/api/interfaces/slashcommand/index.html index c3a8ae296..9a4773fd4 100644 --- a/es/v4/api/interfaces/slashcommand/index.html +++ b/es/v4/api/interfaces/slashcommand/index.html @@ -174,4 +174,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:276

    \ No newline at end of file +

    src/types/core-modules.ts:276

    \ No newline at end of file diff --git a/es/v4/api/interfaces/stringselectcommand/index.html b/es/v4/api/interfaces/stringselectcommand/index.html index c2fc5811f..f91f81b38 100644 --- a/es/v4/api/interfaces/stringselectcommand/index.html +++ b/es/v4/api/interfaces/stringselectcommand/index.html @@ -167,4 +167,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:230

    \ No newline at end of file +

    src/types/core-modules.ts:230

    \ No newline at end of file diff --git a/es/v4/api/interfaces/textcommand/index.html b/es/v4/api/interfaces/textcommand/index.html index 260f0c9ae..cd1aaac20 100644 --- a/es/v4/api/interfaces/textcommand/index.html +++ b/es/v4/api/interfaces/textcommand/index.html @@ -167,4 +167,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:271

    \ No newline at end of file +

    src/types/core-modules.ts:271

    \ No newline at end of file diff --git a/es/v4/api/interfaces/userselectcommand/index.html b/es/v4/api/interfaces/userselectcommand/index.html index e76d96400..99016e282 100644 --- a/es/v4/api/interfaces/userselectcommand/index.html +++ b/es/v4/api/interfaces/userselectcommand/index.html @@ -167,4 +167,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:250

    \ No newline at end of file +

    src/types/core-modules.ts:250

    \ No newline at end of file diff --git a/es/v4/api/namespaces/sern/functions/init/index.html b/es/v4/api/namespaces/sern/functions/init/index.html index 7e460af89..9bfce5fe8 100644 --- a/es/v4/api/namespaces/sern/functions/init/index.html +++ b/es/v4/api/namespaces/sern/functions/init/index.html @@ -55,4 +55,4 @@ Function to start the handler up

    Example

    src/index.ts
    1
    Sern.init({
    2
    commands: 'dist/commands',
    3
    events: 'dist/events',
    4
    })

    Source

    -

    src/sern.ts:32

    \ No newline at end of file +

    src/sern.ts:32

    \ No newline at end of file diff --git a/es/v4/api/readme/index.html b/es/v4/api/readme/index.html index 0f3ba1b7c..5770ba592 100644 --- a/es/v4/api/readme/index.html +++ b/es/v4/api/readme/index.html @@ -125,4 +125,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
  • scheduledTask
  • single
  • transient
  • - \ No newline at end of file + \ No newline at end of file diff --git a/es/v4/api/type-aliases/anyplugin/index.html b/es/v4/api/type-aliases/anyplugin/index.html index 9001657cd..8ca7ce6ee 100644 --- a/es/v4/api/type-aliases/anyplugin/index.html +++ b/es/v4/api/type-aliases/anyplugin/index.html @@ -45,4 +45,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    AnyPlugin: ControlPlugin | InitPlugin<[InitArgs<Processed<Module>>]>

    Source

    -

    src/types/core-plugin.ts:55

    \ No newline at end of file +

    src/types/core-plugin.ts:55

    \ No newline at end of file diff --git a/es/v4/api/type-aliases/commandmodule/index.html b/es/v4/api/type-aliases/commandmodule/index.html index 4e7aae310..8b772fdc3 100644 --- a/es/v4/api/type-aliases/commandmodule/index.html +++ b/es/v4/api/type-aliases/commandmodule/index.html @@ -45,4 +45,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    CommandModule: TextCommand | SlashCommand | BothCommand | ContextMenuUser | ContextMenuMsg | ButtonCommand | StringSelectCommand | MentionableSelectCommand | UserSelectCommand | ChannelSelectCommand | RoleSelectCommand | ModalSubmitCommand

    Source

    -

    src/types/core-modules.ts:290

    \ No newline at end of file +

    src/types/core-modules.ts:290

    \ No newline at end of file diff --git a/es/v4/api/type-aliases/controller/index.html b/es/v4/api/type-aliases/controller/index.html index 53501e99a..c392e1fe1 100644 --- a/es/v4/api/type-aliases/controller/index.html +++ b/es/v4/api/type-aliases/controller/index.html @@ -45,4 +45,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Controller: typeof controller

    Source

    -

    src/core/plugin.ts:137

    \ No newline at end of file +

    src/core/plugin.ts:137

    \ No newline at end of file diff --git a/es/v4/api/type-aliases/eventmodule/index.html b/es/v4/api/type-aliases/eventmodule/index.html index ecc03a8d9..7f4e2c47a 100644 --- a/es/v4/api/type-aliases/eventmodule/index.html +++ b/es/v4/api/type-aliases/eventmodule/index.html @@ -45,4 +45,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    EventModule: DiscordEventCommand | SernEventCommand | ExternalEventCommand

    Source

    -

    src/types/core-modules.ts:289

    \ No newline at end of file +

    src/types/core-modules.ts:289

    \ No newline at end of file diff --git a/es/v4/api/type-aliases/logpayload/index.html b/es/v4/api/type-aliases/logpayload/index.html index 48533ec93..fe0cfa6d3 100644 --- a/es/v4/api/type-aliases/logpayload/index.html +++ b/es/v4/api/type-aliases/logpayload/index.html @@ -52,4 +52,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    message: T

    Source

    -

    src/core/interfaces.ts:55

    \ No newline at end of file +

    src/core/interfaces.ts:55

    \ No newline at end of file diff --git a/es/v4/api/type-aliases/payload/index.html b/es/v4/api/type-aliases/payload/index.html index c1810df92..f7ecf3129 100644 --- a/es/v4/api/type-aliases/payload/index.html +++ b/es/v4/api/type-aliases/payload/index.html @@ -45,4 +45,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Payload: object | object | object

    Source

    -

    src/types/utility.ts:17

    \ No newline at end of file +

    src/types/utility.ts:17

    \ No newline at end of file diff --git a/es/v4/api/type-aliases/pluginresult/index.html b/es/v4/api/type-aliases/pluginresult/index.html index 74b028893..1a9c9033c 100644 --- a/es/v4/api/type-aliases/pluginresult/index.html +++ b/es/v4/api/type-aliases/pluginresult/index.html @@ -45,4 +45,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    PluginResult: Awaitable<Result<Record<string, unknown> | undefined, string | undefined>>

    Source

    -

    src/types/core-plugin.ts:36

    \ No newline at end of file +

    src/types/core-plugin.ts:36

    \ No newline at end of file diff --git a/es/v4/api/type-aliases/sernoptionsdata/index.html b/es/v4/api/type-aliases/sernoptionsdata/index.html index 616ce0881..cdaeb66d5 100644 --- a/es/v4/api/type-aliases/sernoptionsdata/index.html +++ b/es/v4/api/type-aliases/sernoptionsdata/index.html @@ -46,4 +46,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Type that replaces autocomplete with SernAutocompleteData

    Source

    -

    src/types/core-modules.ts:360

    \ No newline at end of file +

    src/types/core-modules.ts:360

    \ No newline at end of file diff --git a/es/v4/api/variables/controller/index.html b/es/v4/api/variables/controller/index.html index d76326a0b..a9b544c20 100644 --- a/es/v4/api/variables/controller/index.html +++ b/es/v4/api/variables/controller/index.html @@ -81,4 +81,4 @@ The object passed into every plugin to control a command’s behavior

    readonly ok: false = false

    Source

    -

    src/core/plugin.ts:131

    \ No newline at end of file +

    src/core/plugin.ts:131

    \ No newline at end of file diff --git a/es/v4/api/variables/presence/index.html b/es/v4/api/variables/presence/index.html index b9950e823..154707d58 100644 --- a/es/v4/api/variables/presence/index.html +++ b/es/v4/api/variables/presence/index.html @@ -115,4 +115,4 @@ adjacent to the file where Sern.init is CALLED.

    optional status: Status

    Source

    -

    src/core/presences.ts:9

    \ No newline at end of file +

    src/core/presences.ts:9

    \ No newline at end of file diff --git a/es/v4/cli/about/index.html b/es/v4/cli/about/index.html index 132d4cbd1..1db32946d 100644 --- a/es/v4/cli/about/index.html +++ b/es/v4/cli/about/index.html @@ -50,4 +50,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
    If you're new to sern, run npm create @sern/bot for an interactive setup to your new bot project!
    If you have any ideas, suggestions, bug reports, kindly join our support server: https://sern.dev/discord
    Options:
    -v, --version output the version number
    -h, --help display help for command
    -
    Commands:
    init [options] Quickest way to scaffold a new project [DEPRECATED]
    plugins [options] Install plugins from https://github.com/sern-handler/awesome-plugins
    extra Easy way to add extra things in your sern project
    commands Defacto way to manage your slash commands
    help [command] display help for command
    \ No newline at end of file +
    Commands:
    init [options] Quickest way to scaffold a new project [DEPRECATED]
    plugins [options] Install plugins from https://github.com/sern-handler/awesome-plugins
    extra Easy way to add extra things in your sern project
    commands Defacto way to manage your slash commands
    help [command] display help for command
    \ No newline at end of file diff --git a/es/v4/cli/build/index.html b/es/v4/cli/build/index.html index d8241aca3..1c1f13cf3 100644 --- a/es/v4/cli/build/index.html +++ b/es/v4/cli/build/index.html @@ -113,4 +113,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Full esbuild documentation here. Add more to the define field in build options (only availible with a sern.build file at the moment)

    process.env

    We generate your process.env with dotenv and generate typings for process.env. Less hassle!

    -
    DISCORD_TOKEN=<your token>
    1
    process.env.DISCORD_TOKEN; // string | undefined (not typesafe :()
    \ No newline at end of file +
    DISCORD_TOKEN=<your token>
    1
    process.env.DISCORD_TOKEN; // string | undefined (not typesafe :()
    \ No newline at end of file diff --git a/es/v4/cli/clear/index.html b/es/v4/cli/clear/index.html index 0e3c3d2eb..946f3cbb4 100644 --- a/es/v4/cli/clear/index.html +++ b/es/v4/cli/clear/index.html @@ -55,4 +55,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem; \ No newline at end of file + \ No newline at end of file diff --git a/es/v4/cli/extra/index.html b/es/v4/cli/extra/index.html index c3677ba07..f256ebae5 100644 --- a/es/v4/cli/extra/index.html +++ b/es/v4/cli/extra/index.html @@ -48,4 +48,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    This command is pretty straightfoward. Install utilities into your application, assuming you have a sern.config.json.

    You can use this command to install things such as a Dockerfile

    Usage

    -
    Terminal window
    sern extra
    # Choose which extra feature from the prompt, such as this:
    What extra feature do you want to add? Dockerfile (TypeScript)
    \ No newline at end of file +
    Terminal window
    sern extra
    # Choose which extra feature from the prompt, such as this:
    What extra feature do you want to add? Dockerfile (TypeScript)
    \ No newline at end of file diff --git a/es/v4/cli/publish/index.html b/es/v4/cli/publish/index.html index 617f179ca..dd7507035 100644 --- a/es/v4/cli/publish/index.html +++ b/es/v4/cli/publish/index.html @@ -91,4 +91,4 @@ use the new service Publisher, officially maintained.

    src/commands/ping.ts
    1
    import { commandModule, Service, CommandType } from '@sern/handler'
    2
    3
    const client = Service('@sern/client');
    4
    5
    export const config = {
    6
    guildIds: ["889026545715400705"]
    7
    }
    8
    -
    9
    export default commandModule( {
    10
    type: CommandType.Slash
    11
    description: `${client.user.username}'s ping`,
    12
    execute: (ctx) => {
    13
    ctx.reply('pong')
    14
    }
    15
    })
    \ No newline at end of file +
    9
    export default commandModule( {
    10
    type: CommandType.Slash
    11
    description: `${client.user.username}'s ping`,
    12
    execute: (ctx) => {
    13
    ctx.reply('pong')
    14
    }
    15
    })
    \ No newline at end of file diff --git a/es/v4/reference/autocomplete/index.html b/es/v4/reference/autocomplete/index.html index 3e63a544f..0aff0c514 100644 --- a/es/v4/reference/autocomplete/index.html +++ b/es/v4/reference/autocomplete/index.html @@ -51,4 +51,4 @@ We’ve implemented this functionality using a simple tree search algorithm with We can filter cheeses based on the focus object, and return only the cheeses that start with the focus object. You can do a lot more with the focus object, such as performing API calls, or implementing a fuzzy search.

    src/commands/cheese.ts
    1
    export default commandModule({
    2
    type: CommandType.Slash,
    3
    description: "show me cheese",
    4
    options: [
    5
    {
    6
    name: "list",
    7
    type: ApplicationCommandOptionType.String,
    8
    description: "pick a cheese to show",
    9
    required: true,
    10
    autocomplete: true,
    11
    command: {
    12
    onEvent: [],
    13
    execute: (ctx) => {
    14
    const focus = ctx.options.getFocused();
    15
    ctx.respond ["gouda", "parmesan", "harvarti"]
    16
    .filter((cheese) => cheese.startsWith(focus))
    17
    .map((cheese) => ({ name: cheese, value: cheese })));
    18
    },
    19
    },
    20
    },
    21
    ],
    22
    execute: (ctx) => {
    23
    const cheese = ctx.options.getString("list", true);
    24
    ctx.reply("selected cheese");
    25
    },
    26
    });
    - \ No newline at end of file + \ No newline at end of file diff --git a/es/v4/reference/conclusion/index.html b/es/v4/reference/conclusion/index.html index 22a5593b3..0fd989865 100644 --- a/es/v4/reference/conclusion/index.html +++ b/es/v4/reference/conclusion/index.html @@ -44,4 +44,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Conclusion

    Esta página aún no está disponible en tu idioma.

    If you reached this far, thank you for reading!

    We hope you have learned the necessities you need to create a bot with the sern framework.

    If you have any other questions, bugs, feature requests, concerns, please join our community server, and we’ll be glad to answer your questions!

    -

    paper logo

    \ No newline at end of file +

    paper logo

    \ No newline at end of file diff --git a/es/v4/reference/config/index.html b/es/v4/reference/config/index.html index 8dc0202d9..c92d1b7bc 100644 --- a/es/v4/reference/config/index.html +++ b/es/v4/reference/config/index.html @@ -65,4 +65,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    user defined

    Feel free to supply any other constants / variables you may need.

    1
    export const OWNERS = ['182326315813306368']
    - \ No newline at end of file + \ No newline at end of file diff --git a/es/v4/reference/dependencies/index.html b/es/v4/reference/dependencies/index.html index b37c8b18f..bf26b1626 100644 --- a/es/v4/reference/dependencies/index.html +++ b/es/v4/reference/dependencies/index.html @@ -115,4 +115,4 @@ A common occurence in sern projects is to swap out the Logger for a custom one. As a result, the codebase is more modular and easier to test and refactor

    \ No newline at end of file +For example, you may prefer importing the logger service vs. injecting the Logger class as a dependency.

    \ No newline at end of file diff --git a/es/v4/reference/error-handling/index.html b/es/v4/reference/error-handling/index.html index a3ceb0a1e..17385f094 100644 --- a/es/v4/reference/error-handling/index.html +++ b/es/v4/reference/error-handling/index.html @@ -53,5 +53,6 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
    3
    export default eventModule({
    4
    type: EventType.Sern,
    5
    name: 'error',
    6
    execute: (err) => {
    7
    console.log('caught', err)
    8
    }
    9
    })

    If the error handler is not set, sern’s behavior is to crash the application. This respects node.js’s default behavior

    + \ No newline at end of file +If this happens, a memory leaks occurs and your bot will crash.

    \ No newline at end of file diff --git a/es/v4/reference/getting-started/index.html b/es/v4/reference/getting-started/index.html index 8649287d3..ee12c1808 100644 --- a/es/v4/reference/getting-started/index.html +++ b/es/v4/reference/getting-started/index.html @@ -44,4 +44,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Getting Started

    Esta página aún no está disponible en tu idioma.

    Terminal window
    npm create @sern/bot

    Once you’ve used this command, follow the interactive prompts to create your new project.

    If you need help, feel free to ask on our Discord.

    -
    \ No newline at end of file + \ No newline at end of file diff --git a/es/v4/reference/modules/index.html b/es/v4/reference/modules/index.html index d3bce157a..6524d5752 100644 --- a/es/v4/reference/modules/index.html +++ b/es/v4/reference/modules/index.html @@ -84,4 +84,4 @@ You may not see your command instantly in Discord, if so, try refreshing.

    Listening to Discord Events
    src/events/messageCreate.js
    1
    import { eventModule, EventType } from "@sern/handler";
    2
    3
    export default eventModule({
    4
    type: EventType.Discord,
    5
    execute: async (message) => {
    6
    console.log(`${message.user} said`, message.content)
    7
    },
    8
    });
    - \ No newline at end of file + \ No newline at end of file diff --git a/es/v4/reference/plugins/index.html b/es/v4/reference/plugins/index.html index 20d53d288..5d2dc62e5 100644 --- a/es/v4/reference/plugins/index.html +++ b/es/v4/reference/plugins/index.html @@ -109,4 +109,4 @@ plugin chain.

    Plugins also carry an instance of all of your dependencies. Use them and use them as you please! For example, creating a plugin which logs which user uses your command

    -
    1
    import { commandModule, CommandControlPlugin, CommandType } from '@sern/handler'
    2
    export const log = CommandControlPlugin((ctx, sdt) => {
    3
    sdt
    4
    .deps['@sern/logger']
    5
    .info({ message: `${ctx.user.id} used this command from ${ctx.guild.id}` });
    6
    })
    \ No newline at end of file +
    1
    import { commandModule, CommandControlPlugin, CommandType } from '@sern/handler'
    2
    export const log = CommandControlPlugin((ctx, sdt) => {
    3
    sdt
    4
    .deps['@sern/logger']
    5
    .info({ message: `${ctx.user.id} used this command from ${ctx.guild.id}` });
    6
    })
    \ No newline at end of file diff --git a/es/v4/reference/presence/index.html b/es/v4/reference/presence/index.html index 5052f095e..4dc3dca34 100644 --- a/es/v4/reference/presence/index.html +++ b/es/v4/reference/presence/index.html @@ -57,4 +57,4 @@ An example of this is shuffling presences on intervals.

    23
    export default Presence.module({
    24
    execute: () => {
    25
    const [type, name, status] = statuses.at(0)!;
    26
    return Presence
    27
    //start your presence with this.
    28
    .of({ activities: [ { type, name } ], status })
    29
    .repeated(() => {
    30
    const [type, name, status] = [...shuffleArray(statuses)].shift()!;
    31
    return {
    32
    status,
    33
    activities: [{ type, name }]
    34
    };
    35
    }, 60_000); //repeat and setPresence with returned result every minute
    36
    }
    37
    })

    Inject dependencies

    ./src/presence.js
    1
    import { Presence } from '@sern/handler'
    2
    import { ActivityType } from 'discord.js';
    3
    -
    4
    const activity = { type: ActivityType.Listening, name: "what's bofa" };
    5
    export default Presence.module({
    6
    inject: ['@sern/logger'],
    7
    execute: (logger) => {
    8
    logger?.info({ message: "Presence changed" });
    9
    return Presence
    10
    .of({ activities: [activity], status: "idle" })
    11
    .once();
    12
    }
    13
    })
    \ No newline at end of file +
    4
    const activity = { type: ActivityType.Listening, name: "what's bofa" };
    5
    export default Presence.module({
    6
    inject: ['@sern/logger'],
    7
    execute: (logger) => {
    8
    logger?.info({ message: "Presence changed" });
    9
    return Presence
    10
    .of({ activities: [activity], status: "idle" })
    11
    .once();
    12
    }
    13
    })
    \ No newline at end of file diff --git a/es/v4/reference/project-layout/index.html b/es/v4/reference/project-layout/index.html index 90c6f402a..94705ad60 100644 --- a/es/v4/reference/project-layout/index.html +++ b/es/v4/reference/project-layout/index.html @@ -44,4 +44,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Project Layout

    Esta página aún no está disponible en tu idioma.

    A project should look like this:

    • Directorysrc -
      • Directorycommands/
      • Directoryevents/
      • Directoryplugins/ # created automatically if running sern plugins
      • index.js
      • config.js # configuration for your entire application
    • .env
    • .gitignore
    • bun.lockb
    • package.json
    • README.md
    • sern.config.json
    • jsconfig.json # tsconfig.json if you are using typescript
    \ No newline at end of file +
  • .env
  • .gitignore
  • bun.lockb
  • package.json
  • README.md
  • sern.config.json
  • jsconfig.json # tsconfig.json if you are using typescript
  • \ No newline at end of file diff --git a/es/v4/reference/tasks/index.html b/es/v4/reference/tasks/index.html index ea3f5a724..bf8133664 100644 --- a/es/v4/reference/tasks/index.html +++ b/es/v4/reference/tasks/index.html @@ -49,4 +49,4 @@ If you haven’t already, add the tasks directory to you
    3
    export default scheduledTask({
    4
    trigger: "* * * * *",
    5
    execute: (context) => {
    6
    console.log("cron cron")
    7
    }
    8
    })

    The trigger is a cron tab pattern, you can edit and test one here.

    \ No newline at end of file +deps['@sern/scheduler'].kill(uuid) will kill the task.

    \ No newline at end of file diff --git a/es/v4/snippets/command/index.html b/es/v4/snippets/command/index.html index ee1225dde..f7e359ab7 100644 --- a/es/v4/snippets/command/index.html +++ b/es/v4/snippets/command/index.html @@ -42,4 +42,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Command

    Esta página aún no está disponible en tu idioma.

    src/commands/ping.js
    1
    import { commandModule, CommandType } from "@sern/handler";
    2
    -
    3
    export default commandModule({
    4
    type: CommandType.Both,
    5
    plugins: [],
    6
    description: "A ping command",
    7
    execute: async (ctx, sdt) => {
    8
    await ctx.reply("Pong 🏓");
    9
    },
    10
    });
    \ No newline at end of file +
    3
    export default commandModule({
    4
    type: CommandType.Both,
    5
    plugins: [],
    6
    description: "A ping command",
    7
    execute: async (ctx, sdt) => {
    8
    await ctx.reply("Pong 🏓");
    9
    },
    10
    });
    \ No newline at end of file diff --git a/es/v4/snippets/event/index.html b/es/v4/snippets/event/index.html index 2f6bc4620..0de1058ba 100644 --- a/es/v4/snippets/event/index.html +++ b/es/v4/snippets/event/index.html @@ -43,4 +43,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem; StarlightThemeProvider.updatePickers();

    Event

    Esta página aún no está disponible en tu idioma.

    src/events/ping.js
    1
    import { eventModule, EventType } from "@sern/handler";
    2
    import type { GuildMember } from "discord.js";
    3
    4
    export default eventModule({
    5
    type: EventType.Discord,
    6
    name: "guildMemberAdd",
    7
    async execute(member) {
    8
    },
    9
    });
    \ No newline at end of file +
    4
    export default eventModule({
    5
    type: EventType.Discord,
    6
    name: "guildMemberAdd",
    7
    async execute(member: GuildMember) {
    8
    // TODO: This should be inferred
    9
    if (member.pending) return;
    10
    },
    11
    });
    \ No newline at end of file diff --git a/es/v4/snippets/plugin/index.html b/es/v4/snippets/plugin/index.html index 9d1e58a07..4001f5447 100644 --- a/es/v4/snippets/plugin/index.html +++ b/es/v4/snippets/plugin/index.html @@ -42,4 +42,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Plugins

    Esta página aún no está disponible en tu idioma.

    1
    // This plugin only allows users with '182326315813306368' as their id to use this command.
    2
    import { CommandControlPlugin, CommandType, controller } from "@sern/handler";
    3
    import type { ModalSubmitInteraction } from "discord.js";
    4
    -
    5
    const OWNER = '182326315813306368';
    6
    export function ownerOnly() {
    7
    return CommandControlPlugin<CommandType.Slash>((ctx, sdt)=> {
    8
    if(ctx.user === OWNER)
    9
    return controller.next()
    10
    return controller.stop()
    11
    })
    12
    }
    \ No newline at end of file +
    5
    const OWNER = '182326315813306368';
    6
    export function ownerOnly() {
    7
    return CommandControlPlugin<CommandType.Slash>((ctx, sdt)=> {
    8
    if(ctx.user === OWNER)
    9
    return controller.next()
    10
    return controller.stop()
    11
    })
    12
    }
    \ No newline at end of file diff --git a/es/v4/snippets/presence/index.html b/es/v4/snippets/presence/index.html index 15e63fc2e..11c1a5d20 100644 --- a/es/v4/snippets/presence/index.html +++ b/es/v4/snippets/presence/index.html @@ -43,4 +43,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem; StarlightThemeProvider.updatePickers();

    Presence

    Esta página aún no está disponible en tu idioma.

    1
    import { Presence } from '@sern/handler'
    2
    import { ActivityType } from 'discord.js';
    3
    4
    const activity = { type: ActivityType.Listening, name: "what's bofa" };
    5
    -
    6
    export default Presence.module({
    7
    execute: () => {
    8
    return Presence
    9
    .of({ activities: [activity], status: "idle" })
    10
    .once();
    11
    }
    12
    })
    \ No newline at end of file +
    6
    export default Presence.module({
    7
    execute: () => {
    8
    return Presence
    9
    .of({ activities: [activity], status: "idle" })
    10
    .once();
    11
    }
    12
    })
    \ No newline at end of file diff --git a/es/v4/tools/localizer/index.html b/es/v4/tools/localizer/index.html index 364bd71a2..829e259ea 100644 --- a/es/v4/tools/localizer/index.html +++ b/es/v4/tools/localizer/index.html @@ -58,4 +58,4 @@ Create the directory assets/locals. Each json file in he
    1
    execute : (ctx, { deps }) => {
    2
    //the localizer object from makeDependencies
    3
    deps.localizer
    4
    // Returns the Spanish translation for 'salute.hello'
    5
    deps.localizer.translate("salute.hello", "es-ES");
    6
    }
    1
    import { local } from '@sern/localizer';
    2
    -
    3
    // Returns the Spanish translation for 'salute.hello'
    4
    const greeting = local('salute.hello', 'es-ES');
    \ No newline at end of file +
    3
    // Returns the Spanish translation for 'salute.hello'
    4
    const greeting = local('salute.hello', 'es-ES');
    \ No newline at end of file diff --git a/es/v4/tools/publisher/index.html b/es/v4/tools/publisher/index.html index e2141b477..9eec3da58 100644 --- a/es/v4/tools/publisher/index.html +++ b/es/v4/tools/publisher/index.html @@ -112,4 +112,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
  • Also able to use IntegrationContextType enum from @sern/publisher if you don’t want to use numbers.
  • - \ No newline at end of file + \ No newline at end of file diff --git a/es/v4/transition/from-v3/index.html b/es/v4/transition/from-v3/index.html index e895e6a6b..ed578f61b 100644 --- a/es/v4/transition/from-v3/index.html +++ b/es/v4/transition/from-v3/index.html @@ -71,4 +71,4 @@ publishing as a service

    Things marked internal are now removed from public api.

    -
    1
    import type { SernEmitter, CoreDependencies, Singleton } from "@sern/handler";
    2
    import type { SernEmitter, CoreDependencies } from "@sern/handler";
    3
    import type { SernLogger } from "./utils/Logger";
    4
    import type { Octokit } from "@octokit/rest";
    5
    declare global {
    6
    interface Dependencies extends CoreDependencies {
    7
    "@sern/logger": SernLogger;
    8
    "@sern/logger": Singleton<SernLogger>;
    9
    octokit: Octokit;
    10
    octokit: Singleton<Octokit>;
    11
    }
    12
    }
    13
    export {};
    \ No newline at end of file +
    1
    import type { SernEmitter, CoreDependencies, Singleton } from "@sern/handler";
    2
    import type { SernEmitter, CoreDependencies } from "@sern/handler";
    3
    import type { SernLogger } from "./utils/Logger";
    4
    import type { Octokit } from "@octokit/rest";
    5
    declare global {
    6
    interface Dependencies extends CoreDependencies {
    7
    "@sern/logger": SernLogger;
    8
    "@sern/logger": Singleton<SernLogger>;
    9
    octokit: Octokit;
    10
    octokit: Singleton<Octokit>;
    11
    }
    12
    }
    13
    export {};
    \ No newline at end of file diff --git a/index.html b/index.html index 37dd15226..561d64e5d 100644 --- a/index.html +++ b/index.html @@ -38,6 +38,6 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem; Skip to content
    sern

    Create your dream Discord bot.

    sern is a framework for building Discord bots; Better DX and an ecosystem of packages & plugins.

    Showcase

    -
    Bask

    Bask

    A discord music bot

    sern Community

    sern Community

    The bot used to manage sern Community

    man-nomic

    man-nomic

    Displays LLM model information

    SmokinWeed 💨

    SmokinWeed 💨

    Small moderation bot

    ezbd

    ezbd

    A simple birthday reminder bot

    Discoin

    Discoin

    Fuel your server's engagement with a fun, easy to use, and simple economy bot!

    Albion Guide

    Albion Guide

    Gets info about The First Descendant Game.

    Vinci

    Vinci

    The discord bot for Mara Turing

    +
    SmokinWeed 💨

    SmokinWeed 💨

    Small moderation bot

    sern Community

    sern Community

    The bot used to manage sern Community

    ezbd

    ezbd

    A simple birthday reminder bot

    Bask

    Bask

    A discord music bot

    man-nomic

    man-nomic

    Displays LLM model information

    Discoin

    Discoin

    Fuel your server's engagement with a fun, easy to use, and simple economy bot!

    Albion Guide

    Albion Guide

    Gets info about The First Descendant Game.

    Vinci

    Vinci

    The discord bot for Mara Turing

    Features

    -

    Modular

    Take apart, build, or customize code with ease to create robust bots.

    Concise

    Commands are significantly smaller than other competitors. Write impactful, concise code.

    Familiar

    Code like a traditional command framework. The API is simple and resembles classic v12 command handlers.

    \ No newline at end of file +

    Modular

    Take apart, build, or customize code with ease to create robust bots.

    Concise

    Commands are significantly smaller than other competitors. Write impactful, concise code.

    Familiar

    Code like a traditional command framework. The API is simple and resembles classic v12 command handlers.

    \ No newline at end of file diff --git a/pagefind/fragment/en_17c7fa7.pf_fragment b/pagefind/fragment/en_17c7fa7.pf_fragment deleted file mode 100644 index 5a7b2460c..000000000 Binary files a/pagefind/fragment/en_17c7fa7.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_2a1e6e2.pf_fragment b/pagefind/fragment/en_2a1e6e2.pf_fragment deleted file mode 100644 index 7fc636c54..000000000 Binary files a/pagefind/fragment/en_2a1e6e2.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_2a999fc.pf_fragment b/pagefind/fragment/en_2a999fc.pf_fragment new file mode 100644 index 000000000..9f9f523a0 Binary files /dev/null and b/pagefind/fragment/en_2a999fc.pf_fragment differ diff --git a/pagefind/fragment/en_3d91efb.pf_fragment b/pagefind/fragment/en_3d91efb.pf_fragment deleted file mode 100644 index 28384f9bc..000000000 Binary files a/pagefind/fragment/en_3d91efb.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_3dc7228.pf_fragment b/pagefind/fragment/en_3dc7228.pf_fragment deleted file mode 100644 index af3e9998f..000000000 Binary files a/pagefind/fragment/en_3dc7228.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_3f1fbc3.pf_fragment b/pagefind/fragment/en_3f1fbc3.pf_fragment new file mode 100644 index 000000000..3fd42516f Binary files /dev/null and b/pagefind/fragment/en_3f1fbc3.pf_fragment differ diff --git a/pagefind/fragment/en_4e4652b.pf_fragment b/pagefind/fragment/en_4e4652b.pf_fragment new file mode 100644 index 000000000..8b984b57d Binary files /dev/null and b/pagefind/fragment/en_4e4652b.pf_fragment differ diff --git a/pagefind/fragment/en_54b285f.pf_fragment b/pagefind/fragment/en_54b285f.pf_fragment new file mode 100644 index 000000000..06493eece Binary files /dev/null and b/pagefind/fragment/en_54b285f.pf_fragment differ diff --git a/pagefind/fragment/en_678738f.pf_fragment b/pagefind/fragment/en_678738f.pf_fragment new file mode 100644 index 000000000..8c74d022f Binary files /dev/null and b/pagefind/fragment/en_678738f.pf_fragment differ diff --git a/pagefind/fragment/en_71edb1e.pf_fragment b/pagefind/fragment/en_71edb1e.pf_fragment new file mode 100644 index 000000000..db9cff7ea Binary files /dev/null and b/pagefind/fragment/en_71edb1e.pf_fragment differ diff --git a/pagefind/fragment/en_4b36714.pf_fragment b/pagefind/fragment/en_7497d19.pf_fragment similarity index 89% rename from pagefind/fragment/en_4b36714.pf_fragment rename to pagefind/fragment/en_7497d19.pf_fragment index 699752ab5..87cbcad01 100644 Binary files a/pagefind/fragment/en_4b36714.pf_fragment and b/pagefind/fragment/en_7497d19.pf_fragment differ diff --git a/pagefind/fragment/en_779b80b.pf_fragment b/pagefind/fragment/en_779b80b.pf_fragment new file mode 100644 index 000000000..09c06541c Binary files /dev/null and b/pagefind/fragment/en_779b80b.pf_fragment differ diff --git a/pagefind/fragment/en_79e29cc.pf_fragment b/pagefind/fragment/en_79e29cc.pf_fragment deleted file mode 100644 index 59e66870d..000000000 Binary files a/pagefind/fragment/en_79e29cc.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_7d1d9ec.pf_fragment b/pagefind/fragment/en_7d1d9ec.pf_fragment new file mode 100644 index 000000000..342bc2372 Binary files /dev/null and b/pagefind/fragment/en_7d1d9ec.pf_fragment differ diff --git a/pagefind/fragment/en_99f1ed9.pf_fragment b/pagefind/fragment/en_99f1ed9.pf_fragment deleted file mode 100644 index 359ec507f..000000000 Binary files a/pagefind/fragment/en_99f1ed9.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_9cc82db.pf_fragment b/pagefind/fragment/en_9cc82db.pf_fragment deleted file mode 100644 index 540a2a25c..000000000 Binary files a/pagefind/fragment/en_9cc82db.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_9e771b3.pf_fragment b/pagefind/fragment/en_9e771b3.pf_fragment new file mode 100644 index 000000000..2a03191ae Binary files /dev/null and b/pagefind/fragment/en_9e771b3.pf_fragment differ diff --git a/pagefind/fragment/en_a39b6b2.pf_fragment b/pagefind/fragment/en_a39b6b2.pf_fragment deleted file mode 100644 index e2387f6b0..000000000 Binary files a/pagefind/fragment/en_a39b6b2.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_b6594ee.pf_fragment b/pagefind/fragment/en_b6594ee.pf_fragment deleted file mode 100644 index ca72dee03..000000000 Binary files a/pagefind/fragment/en_b6594ee.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_bb3e167.pf_fragment b/pagefind/fragment/en_bb3e167.pf_fragment deleted file mode 100644 index ced4e2b98..000000000 Binary files a/pagefind/fragment/en_bb3e167.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_cd3d8b3.pf_fragment b/pagefind/fragment/en_cd3d8b3.pf_fragment deleted file mode 100644 index 4f43f6a35..000000000 Binary files a/pagefind/fragment/en_cd3d8b3.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_d218992.pf_fragment b/pagefind/fragment/en_d218992.pf_fragment new file mode 100644 index 000000000..2d94ee0ac Binary files /dev/null and b/pagefind/fragment/en_d218992.pf_fragment differ diff --git a/pagefind/fragment/en_d244732.pf_fragment b/pagefind/fragment/en_d244732.pf_fragment new file mode 100644 index 000000000..3fc9e1c2d Binary files /dev/null and b/pagefind/fragment/en_d244732.pf_fragment differ diff --git a/pagefind/fragment/en_d44cae4.pf_fragment b/pagefind/fragment/en_d44cae4.pf_fragment new file mode 100644 index 000000000..a4f350015 Binary files /dev/null and b/pagefind/fragment/en_d44cae4.pf_fragment differ diff --git a/pagefind/fragment/en_d520c26.pf_fragment b/pagefind/fragment/en_d520c26.pf_fragment deleted file mode 100644 index e935750fc..000000000 Binary files a/pagefind/fragment/en_d520c26.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_593253f.pf_fragment b/pagefind/fragment/en_d9b54ec.pf_fragment similarity index 87% rename from pagefind/fragment/en_593253f.pf_fragment rename to pagefind/fragment/en_d9b54ec.pf_fragment index 58baf33a8..811c82f2b 100644 Binary files a/pagefind/fragment/en_593253f.pf_fragment and b/pagefind/fragment/en_d9b54ec.pf_fragment differ diff --git a/pagefind/fragment/en_e37180d.pf_fragment b/pagefind/fragment/en_e37180d.pf_fragment new file mode 100644 index 000000000..2f325b8bf Binary files /dev/null and b/pagefind/fragment/en_e37180d.pf_fragment differ diff --git a/pagefind/fragment/en_ed88e2a.pf_fragment b/pagefind/fragment/en_ed88e2a.pf_fragment new file mode 100644 index 000000000..e7c4be8e8 Binary files /dev/null and b/pagefind/fragment/en_ed88e2a.pf_fragment differ diff --git a/pagefind/fragment/en_f547fa6.pf_fragment b/pagefind/fragment/en_f547fa6.pf_fragment deleted file mode 100644 index b6e30816d..000000000 Binary files a/pagefind/fragment/en_f547fa6.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_fc3d743.pf_fragment b/pagefind/fragment/en_fc3d743.pf_fragment deleted file mode 100644 index 4de53415a..000000000 Binary files a/pagefind/fragment/en_fc3d743.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/es_fb951d4.pf_fragment b/pagefind/fragment/es_2e18a7c.pf_fragment similarity index 87% rename from pagefind/fragment/es_fb951d4.pf_fragment rename to pagefind/fragment/es_2e18a7c.pf_fragment index c2294e668..6b7227cb3 100644 Binary files a/pagefind/fragment/es_fb951d4.pf_fragment and b/pagefind/fragment/es_2e18a7c.pf_fragment differ diff --git a/pagefind/fragment/es_305d975.pf_fragment b/pagefind/fragment/es_305d975.pf_fragment deleted file mode 100644 index 5ef2f0f97..000000000 Binary files a/pagefind/fragment/es_305d975.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/es_339a20a.pf_fragment b/pagefind/fragment/es_339a20a.pf_fragment deleted file mode 100644 index 6958aedbb..000000000 Binary files a/pagefind/fragment/es_339a20a.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/es_aa86791.pf_fragment b/pagefind/fragment/es_5ec0be8.pf_fragment similarity index 89% rename from pagefind/fragment/es_aa86791.pf_fragment rename to pagefind/fragment/es_5ec0be8.pf_fragment index 13b0e0e06..b8b70b8a0 100644 Binary files a/pagefind/fragment/es_aa86791.pf_fragment and b/pagefind/fragment/es_5ec0be8.pf_fragment differ diff --git a/pagefind/fragment/es_443f6d1.pf_fragment b/pagefind/fragment/es_605c80d.pf_fragment similarity index 88% rename from pagefind/fragment/es_443f6d1.pf_fragment rename to pagefind/fragment/es_605c80d.pf_fragment index 59960a0b3..9bcabd96b 100644 Binary files a/pagefind/fragment/es_443f6d1.pf_fragment and b/pagefind/fragment/es_605c80d.pf_fragment differ diff --git a/pagefind/fragment/es_699eed8.pf_fragment b/pagefind/fragment/es_699eed8.pf_fragment deleted file mode 100644 index 3e6c21134..000000000 Binary files a/pagefind/fragment/es_699eed8.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/es_7ea7f6c.pf_fragment b/pagefind/fragment/es_7ea7f6c.pf_fragment new file mode 100644 index 000000000..6d41b9137 Binary files /dev/null and b/pagefind/fragment/es_7ea7f6c.pf_fragment differ diff --git a/pagefind/fragment/es_446e6fc.pf_fragment b/pagefind/fragment/es_8158a21.pf_fragment similarity index 88% rename from pagefind/fragment/es_446e6fc.pf_fragment rename to pagefind/fragment/es_8158a21.pf_fragment index 09d7858f6..455196947 100644 Binary files a/pagefind/fragment/es_446e6fc.pf_fragment and b/pagefind/fragment/es_8158a21.pf_fragment differ diff --git a/pagefind/fragment/es_aea647e.pf_fragment b/pagefind/fragment/es_aea647e.pf_fragment new file mode 100644 index 000000000..2e9509dae Binary files /dev/null and b/pagefind/fragment/es_aea647e.pf_fragment differ diff --git a/pagefind/fragment/es_b6cda01.pf_fragment b/pagefind/fragment/es_b6cda01.pf_fragment new file mode 100644 index 000000000..07ac47155 Binary files /dev/null and b/pagefind/fragment/es_b6cda01.pf_fragment differ diff --git a/pagefind/fragment/es_b92cfa9.pf_fragment b/pagefind/fragment/es_b92cfa9.pf_fragment deleted file mode 100644 index 0749e396d..000000000 Binary files a/pagefind/fragment/es_b92cfa9.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/es_c2e1958.pf_fragment b/pagefind/fragment/es_c2e1958.pf_fragment new file mode 100644 index 000000000..2d816eb13 Binary files /dev/null and b/pagefind/fragment/es_c2e1958.pf_fragment differ diff --git a/pagefind/fragment/es_cfdbb33.pf_fragment b/pagefind/fragment/es_cfdbb33.pf_fragment deleted file mode 100644 index 3977270f4..000000000 Binary files a/pagefind/fragment/es_cfdbb33.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/es_d25eee8.pf_fragment b/pagefind/fragment/es_d25eee8.pf_fragment deleted file mode 100644 index 7e2cd66d3..000000000 Binary files a/pagefind/fragment/es_d25eee8.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/es_d969152.pf_fragment b/pagefind/fragment/es_d969152.pf_fragment new file mode 100644 index 000000000..8c5920fef Binary files /dev/null and b/pagefind/fragment/es_d969152.pf_fragment differ diff --git a/pagefind/fragment/es_f632ab2.pf_fragment b/pagefind/fragment/es_f632ab2.pf_fragment new file mode 100644 index 000000000..2b696807f Binary files /dev/null and b/pagefind/fragment/es_f632ab2.pf_fragment differ diff --git a/pagefind/fragment/tr_17b9348.pf_fragment b/pagefind/fragment/tr_17b9348.pf_fragment new file mode 100644 index 000000000..fd503eab9 Binary files /dev/null and b/pagefind/fragment/tr_17b9348.pf_fragment differ diff --git a/pagefind/fragment/tr_1ca55dd.pf_fragment b/pagefind/fragment/tr_1ca55dd.pf_fragment deleted file mode 100644 index ca478d1af..000000000 Binary files a/pagefind/fragment/tr_1ca55dd.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/tr_1e92986.pf_fragment b/pagefind/fragment/tr_1e92986.pf_fragment new file mode 100644 index 000000000..91ec0a6ea Binary files /dev/null and b/pagefind/fragment/tr_1e92986.pf_fragment differ diff --git a/pagefind/fragment/tr_23f3f03.pf_fragment b/pagefind/fragment/tr_23f3f03.pf_fragment deleted file mode 100644 index 560023442..000000000 Binary files a/pagefind/fragment/tr_23f3f03.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/tr_26bfdc0.pf_fragment b/pagefind/fragment/tr_26bfdc0.pf_fragment new file mode 100644 index 000000000..bb99aa3a8 Binary files /dev/null and b/pagefind/fragment/tr_26bfdc0.pf_fragment differ diff --git a/pagefind/fragment/tr_328933f.pf_fragment b/pagefind/fragment/tr_328933f.pf_fragment new file mode 100644 index 000000000..80f3c98b5 Binary files /dev/null and b/pagefind/fragment/tr_328933f.pf_fragment differ diff --git a/pagefind/fragment/tr_fadaa32.pf_fragment b/pagefind/fragment/tr_3d96946.pf_fragment similarity index 86% rename from pagefind/fragment/tr_fadaa32.pf_fragment rename to pagefind/fragment/tr_3d96946.pf_fragment index 4ac2ff611..056c3bb4f 100644 Binary files a/pagefind/fragment/tr_fadaa32.pf_fragment and b/pagefind/fragment/tr_3d96946.pf_fragment differ diff --git a/pagefind/fragment/tr_40b1c7b.pf_fragment b/pagefind/fragment/tr_40b1c7b.pf_fragment new file mode 100644 index 000000000..b024ecc2c Binary files /dev/null and b/pagefind/fragment/tr_40b1c7b.pf_fragment differ diff --git a/pagefind/fragment/tr_6ed1aa6.pf_fragment b/pagefind/fragment/tr_54ee77f.pf_fragment similarity index 86% rename from pagefind/fragment/tr_6ed1aa6.pf_fragment rename to pagefind/fragment/tr_54ee77f.pf_fragment index 22296a83f..5b0ee082c 100644 Binary files a/pagefind/fragment/tr_6ed1aa6.pf_fragment and b/pagefind/fragment/tr_54ee77f.pf_fragment differ diff --git a/pagefind/fragment/tr_6a47f13.pf_fragment b/pagefind/fragment/tr_6a47f13.pf_fragment deleted file mode 100644 index 8d6781298..000000000 Binary files a/pagefind/fragment/tr_6a47f13.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/tr_704ea4a.pf_fragment b/pagefind/fragment/tr_704ea4a.pf_fragment deleted file mode 100644 index 9bf7d0d2c..000000000 Binary files a/pagefind/fragment/tr_704ea4a.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/tr_954643b.pf_fragment b/pagefind/fragment/tr_954643b.pf_fragment new file mode 100644 index 000000000..7555941e1 Binary files /dev/null and b/pagefind/fragment/tr_954643b.pf_fragment differ diff --git a/pagefind/fragment/tr_b168e93.pf_fragment b/pagefind/fragment/tr_b168e93.pf_fragment deleted file mode 100644 index 914bcab25..000000000 Binary files a/pagefind/fragment/tr_b168e93.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/tr_c8efa2a.pf_fragment b/pagefind/fragment/tr_c8efa2a.pf_fragment deleted file mode 100644 index bba67646e..000000000 Binary files a/pagefind/fragment/tr_c8efa2a.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/tr_02656f1.pf_fragment b/pagefind/fragment/tr_ea04a8d.pf_fragment similarity index 89% rename from pagefind/fragment/tr_02656f1.pf_fragment rename to pagefind/fragment/tr_ea04a8d.pf_fragment index 14f53fd9c..849ab4f52 100644 Binary files a/pagefind/fragment/tr_02656f1.pf_fragment and b/pagefind/fragment/tr_ea04a8d.pf_fragment differ diff --git a/pagefind/fragment/tr_f718c46.pf_fragment b/pagefind/fragment/tr_f718c46.pf_fragment deleted file mode 100644 index 4d96e7bec..000000000 Binary files a/pagefind/fragment/tr_f718c46.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/tr_fc1c3bf.pf_fragment b/pagefind/fragment/tr_fc1c3bf.pf_fragment new file mode 100644 index 000000000..5bce30bcb Binary files /dev/null and b/pagefind/fragment/tr_fc1c3bf.pf_fragment differ diff --git a/pagefind/index/en_2efeef1.pf_index b/pagefind/index/en_2efeef1.pf_index new file mode 100644 index 000000000..835ca3e8d Binary files /dev/null and b/pagefind/index/en_2efeef1.pf_index differ diff --git a/pagefind/index/en_4167d98.pf_index b/pagefind/index/en_4167d98.pf_index deleted file mode 100644 index c6db79ef1..000000000 Binary files a/pagefind/index/en_4167d98.pf_index and /dev/null differ diff --git a/pagefind/index/en_64c96a7.pf_index b/pagefind/index/en_64c96a7.pf_index deleted file mode 100644 index aac41511c..000000000 Binary files a/pagefind/index/en_64c96a7.pf_index and /dev/null differ diff --git a/pagefind/index/en_948d50f.pf_index b/pagefind/index/en_948d50f.pf_index deleted file mode 100644 index 34a5f3067..000000000 Binary files a/pagefind/index/en_948d50f.pf_index and /dev/null differ diff --git a/pagefind/index/en_9beb1e5.pf_index b/pagefind/index/en_9beb1e5.pf_index new file mode 100644 index 000000000..efce72da6 Binary files /dev/null and b/pagefind/index/en_9beb1e5.pf_index differ diff --git a/pagefind/index/en_e8172a8.pf_index b/pagefind/index/en_e8172a8.pf_index new file mode 100644 index 000000000..42c051c86 Binary files /dev/null and b/pagefind/index/en_e8172a8.pf_index differ diff --git a/pagefind/index/en_f3b7f2d.pf_index b/pagefind/index/en_f3b7f2d.pf_index new file mode 100644 index 000000000..a0d6190ca Binary files /dev/null and b/pagefind/index/en_f3b7f2d.pf_index differ diff --git a/pagefind/index/en_f6dead7.pf_index b/pagefind/index/en_f6dead7.pf_index deleted file mode 100644 index ef67619ca..000000000 Binary files a/pagefind/index/en_f6dead7.pf_index and /dev/null differ diff --git a/pagefind/index/es_1d4fdb1.pf_index b/pagefind/index/es_1d4fdb1.pf_index deleted file mode 100644 index 91cd590f7..000000000 Binary files a/pagefind/index/es_1d4fdb1.pf_index and /dev/null differ diff --git a/pagefind/index/es_227ef08.pf_index b/pagefind/index/es_227ef08.pf_index deleted file mode 100644 index d04872d3b..000000000 Binary files a/pagefind/index/es_227ef08.pf_index and /dev/null differ diff --git a/pagefind/index/es_22aa46a.pf_index b/pagefind/index/es_22aa46a.pf_index deleted file mode 100644 index 120489709..000000000 Binary files a/pagefind/index/es_22aa46a.pf_index and /dev/null differ diff --git a/pagefind/index/es_577ca1e.pf_index b/pagefind/index/es_577ca1e.pf_index deleted file mode 100644 index dd6b17b22..000000000 Binary files a/pagefind/index/es_577ca1e.pf_index and /dev/null differ diff --git a/pagefind/index/es_a09677d.pf_index b/pagefind/index/es_a09677d.pf_index new file mode 100644 index 000000000..5a861e4de Binary files /dev/null and b/pagefind/index/es_a09677d.pf_index differ diff --git a/pagefind/index/es_acea13f.pf_index b/pagefind/index/es_acea13f.pf_index new file mode 100644 index 000000000..27787532e Binary files /dev/null and b/pagefind/index/es_acea13f.pf_index differ diff --git a/pagefind/index/es_ea67693.pf_index b/pagefind/index/es_ea67693.pf_index new file mode 100644 index 000000000..ca84a422c Binary files /dev/null and b/pagefind/index/es_ea67693.pf_index differ diff --git a/pagefind/index/es_f25c311.pf_index b/pagefind/index/es_f25c311.pf_index new file mode 100644 index 000000000..bcae275a1 Binary files /dev/null and b/pagefind/index/es_f25c311.pf_index differ diff --git a/pagefind/index/tr_16b170f.pf_index b/pagefind/index/tr_16b170f.pf_index deleted file mode 100644 index 65deb8bf6..000000000 Binary files a/pagefind/index/tr_16b170f.pf_index and /dev/null differ diff --git a/pagefind/index/tr_1962581.pf_index b/pagefind/index/tr_1962581.pf_index new file mode 100644 index 000000000..d1df3eea6 Binary files /dev/null and b/pagefind/index/tr_1962581.pf_index differ diff --git a/pagefind/index/tr_2d6b257.pf_index b/pagefind/index/tr_2d6b257.pf_index new file mode 100644 index 000000000..9a2e918c4 Binary files /dev/null and b/pagefind/index/tr_2d6b257.pf_index differ diff --git a/pagefind/index/tr_41dd3d4.pf_index b/pagefind/index/tr_41dd3d4.pf_index new file mode 100644 index 000000000..1a92c2f78 Binary files /dev/null and b/pagefind/index/tr_41dd3d4.pf_index differ diff --git a/pagefind/index/tr_6a13156.pf_index b/pagefind/index/tr_6a13156.pf_index deleted file mode 100644 index 819e69113..000000000 Binary files a/pagefind/index/tr_6a13156.pf_index and /dev/null differ diff --git a/pagefind/index/tr_78db498.pf_index b/pagefind/index/tr_78db498.pf_index new file mode 100644 index 000000000..227723e34 Binary files /dev/null and b/pagefind/index/tr_78db498.pf_index differ diff --git a/pagefind/index/tr_af43794.pf_index b/pagefind/index/tr_af43794.pf_index deleted file mode 100644 index b0dec80c9..000000000 Binary files a/pagefind/index/tr_af43794.pf_index and /dev/null differ diff --git a/pagefind/index/tr_b16097e.pf_index b/pagefind/index/tr_b16097e.pf_index deleted file mode 100644 index 93a1ba27f..000000000 Binary files a/pagefind/index/tr_b16097e.pf_index and /dev/null differ diff --git a/pagefind/pagefind-entry.json b/pagefind/pagefind-entry.json index e170f596e..86cea4137 100644 --- a/pagefind/pagefind-entry.json +++ b/pagefind/pagefind-entry.json @@ -1 +1 @@ -{"version":"1.1.0","languages":{"tr":{"hash":"tr_8decf6b565","wasm":"tr","page_count":189},"en":{"hash":"en_168b558aa9","wasm":"en","page_count":191},"es":{"hash":"es_34b262e960","wasm":"es","page_count":189}}} \ No newline at end of file +{"version":"1.1.0","languages":{"es":{"hash":"es_daa29c39f5","wasm":"es","page_count":189},"tr":{"hash":"tr_ac44eb4b4b","wasm":"tr","page_count":189},"en":{"hash":"en_362a995dfa","wasm":"en","page_count":191}}} \ No newline at end of file diff --git a/pagefind/pagefind.en_168b558aa9.pf_meta b/pagefind/pagefind.en_168b558aa9.pf_meta deleted file mode 100644 index 6146f51af..000000000 Binary files a/pagefind/pagefind.en_168b558aa9.pf_meta and /dev/null differ diff --git a/pagefind/pagefind.en_362a995dfa.pf_meta b/pagefind/pagefind.en_362a995dfa.pf_meta new file mode 100644 index 000000000..89525d0c8 Binary files /dev/null and b/pagefind/pagefind.en_362a995dfa.pf_meta differ diff --git a/pagefind/pagefind.es_34b262e960.pf_meta b/pagefind/pagefind.es_34b262e960.pf_meta deleted file mode 100644 index 1c842d35c..000000000 Binary files a/pagefind/pagefind.es_34b262e960.pf_meta and /dev/null differ diff --git a/pagefind/pagefind.es_daa29c39f5.pf_meta b/pagefind/pagefind.es_daa29c39f5.pf_meta new file mode 100644 index 000000000..e1ed5946f Binary files /dev/null and b/pagefind/pagefind.es_daa29c39f5.pf_meta differ diff --git a/pagefind/pagefind.tr_8decf6b565.pf_meta b/pagefind/pagefind.tr_8decf6b565.pf_meta deleted file mode 100644 index f11a7cde4..000000000 Binary files a/pagefind/pagefind.tr_8decf6b565.pf_meta and /dev/null differ diff --git a/pagefind/pagefind.tr_ac44eb4b4b.pf_meta b/pagefind/pagefind.tr_ac44eb4b4b.pf_meta new file mode 100644 index 000000000..5aa7407c2 Binary files /dev/null and b/pagefind/pagefind.tr_ac44eb4b4b.pf_meta differ diff --git a/plugins/index.html b/plugins/index.html index 8a59ba615..a1b841e88 100644 --- a/plugins/index.html +++ b/plugins/index.html @@ -38,23 +38,23 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem; Skip to content
    sern

    Plugins

    -First time here? View plugins

    confirmation

    Asks the user for a confirmation msg before executing the command

    fromCallback

    fromCallback turns a callback into a plugin result. +First time here? View plugins

    confirmation

    Asks the user for a confirmation msg before executing the command

    fromCallback

    fromCallback turns a callback into a plugin result. if the callback returns truthy value, plugin continues. This control plugin works for every command type. The arguments of the callback -mirror…

    \ No newline at end of file diff --git a/tr/blog/1.2.0/index.html b/tr/blog/1.2.0/index.html index 085c39fbe..dc39dd376 100644 --- a/tr/blog/1.2.0/index.html +++ b/tr/blog/1.2.0/index.html @@ -83,4 +83,4 @@ Feel free to use TypeScript experimental decorators to augment and customize you \ No newline at end of file + \ No newline at end of file diff --git a/tr/blog/2.0.0/index.html b/tr/blog/2.0.0/index.html index d96acacf3..a5ae883c0 100644 --- a/tr/blog/2.0.0/index.html +++ b/tr/blog/2.0.0/index.html @@ -104,4 +104,4 @@ All deprecation warnings from previous versions have taken effect, and are remov

    Including the previous section, some names to symbols and data structures were altered to be better represented. view changelog

    Context refactoring

    -

    The context data structure has been internally altered to represent its dynamics better.

    \ No newline at end of file +

    The context data structure has been internally altered to represent its dynamics better.

    \ No newline at end of file diff --git a/tr/blog/2.5.0/index.html b/tr/blog/2.5.0/index.html index a2955e29a..57fd3089d 100644 --- a/tr/blog/2.5.0/index.html +++ b/tr/blog/2.5.0/index.html @@ -76,4 +76,4 @@ What does this mean? -

    This will probably be the last breaking change in a while. Thanks for using sern!

    \ No newline at end of file +

    This will probably be the last breaking change in a while. Thanks for using sern!

    \ No newline at end of file diff --git a/tr/blog/3.0.0/index.html b/tr/blog/3.0.0/index.html index 5e25a1b79..6eda6fa87 100644 --- a/tr/blog/3.0.0/index.html +++ b/tr/blog/3.0.0/index.html @@ -162,4 +162,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
  • Removed all previous marked deprecations in v3
  • ModuleStore will be removed as a dependency in v4. The only way to access modules should be through ModuleManager
  • Default Dependencies will be made internal in the v4. Users should only have access to its interface / contract
  • - \ No newline at end of file + \ No newline at end of file diff --git a/tr/blog/new-logo/index.html b/tr/blog/new-logo/index.html index 13590c05e..c4e4f8eba 100644 --- a/tr/blog/new-logo/index.html +++ b/tr/blog/new-logo/index.html @@ -58,4 +58,4 @@ And here we are!

    sern logo

    Pretty nice!

    By the way, we have animations and variations on the way, so make sure to stay updated in the discord server!

    -

    Finally, from the entire sern team, thank you for sticking around ❤️

    \ No newline at end of file +

    Finally, from the entire sern team, thank you for sticking around ❤️

    \ No newline at end of file diff --git a/tr/blog/railway-deploy/index.html b/tr/blog/railway-deploy/index.html index 377d38f95..aefcb3855 100644 --- a/tr/blog/railway-deploy/index.html +++ b/tr/blog/railway-deploy/index.html @@ -53,4 +53,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Deploy

    Once you’ve added your environment variables, click the “Deploy” button, and Railway will start deploying your bot. Once the deployment is complete, you’ll be able to see your bot’s URL and logs.

    -

    That’s it! Your bot is now deployed and running on Railway. If you have any issues or questions, feel free to ask in the sern Discord server.

    \ No newline at end of file +

    That’s it! Your bot is now deployed and running on Railway. If you have any issues or questions, feel free to ask in the sern Discord server.

    \ No newline at end of file diff --git a/tr/index.html b/tr/index.html index f0b1f5237..2ee5926ec 100644 --- a/tr/index.html +++ b/tr/index.html @@ -38,6 +38,6 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem; İçeriğe geç
    sern

    Create your dream Discord bot.

    sern is a framework for building Discord bots; Better DX and an ecosystem of packages & plugins.

    Showcase

    -
    Albion Guide

    Albion Guide

    Gets info about The First Descendant Game.

    Vinci

    Vinci

    The discord bot for Mara Turing

    ezbd

    ezbd

    A simple birthday reminder bot

    SmokinWeed 💨

    SmokinWeed 💨

    Small moderation bot

    Discoin

    Discoin

    Fuel your server's engagement with a fun, easy to use, and simple economy bot!

    man-nomic

    man-nomic

    Displays LLM model information

    sern Community

    sern Community

    The bot used to manage sern Community

    Bask

    Bask

    A discord music bot

    +
    ezbd

    ezbd

    A simple birthday reminder bot

    man-nomic

    man-nomic

    Displays LLM model information

    Vinci

    Vinci

    The discord bot for Mara Turing

    sern Community

    sern Community

    The bot used to manage sern Community

    SmokinWeed 💨

    SmokinWeed 💨

    Small moderation bot

    Bask

    Bask

    A discord music bot

    Discoin

    Discoin

    Fuel your server's engagement with a fun, easy to use, and simple economy bot!

    Albion Guide

    Albion Guide

    Gets info about The First Descendant Game.

    Features

    -

    Modular

    Take apart, build, or customize code with ease to create robust bots.

    Concise

    Commands are significantly smaller than other competitors. Write impactful, concise code.

    Familiar

    Code like a traditional command framework. The API is simple and resembles classic v12 command handlers.

    \ No newline at end of file +

    Modular

    Take apart, build, or customize code with ease to create robust bots.

    Concise

    Commands are significantly smaller than other competitors. Write impactful, concise code.

    Familiar

    Code like a traditional command framework. The API is simple and resembles classic v12 command handlers.

    \ No newline at end of file diff --git a/tr/v3/api/classes/context/index.html b/tr/v3/api/classes/context/index.html index d484907e5..d89f93899 100644 --- a/tr/v3/api/classes/context/index.html +++ b/tr/v3/api/classes/context/index.html @@ -222,4 +222,4 @@ else, interaction.user

    Overrides

    CoreContext.wrap

    Source

    -

    src/core/structures/context.ts:113

    \ No newline at end of file +

    src/core/structures/context.ts:113

    \ No newline at end of file diff --git a/tr/v3/api/classes/modulestore/index.html b/tr/v3/api/classes/modulestore/index.html index ec957995c..dd06dac5b 100644 --- a/tr/v3/api/classes/modulestore/index.html +++ b/tr/v3/api/classes/modulestore/index.html @@ -61,4 +61,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    metadata: WeakMap<Module, CommandMeta>

    Source

    -

    src/core/structures/module-store.ts:9

    \ No newline at end of file +

    src/core/structures/module-store.ts:9

    \ No newline at end of file diff --git a/tr/v3/api/enumerations/commandtype/index.html b/tr/v3/api/enumerations/commandtype/index.html index 30220cf3a..10f2446d6 100644 --- a/tr/v3/api/enumerations/commandtype/index.html +++ b/tr/v3/api/enumerations/commandtype/index.html @@ -129,4 +129,4 @@ A bitfield that discriminates command modules

    UserSelect: 128

    Source

    -

    src/core/structures/enums.ts:26

    \ No newline at end of file +

    src/core/structures/enums.ts:26

    \ No newline at end of file diff --git a/tr/v3/api/enumerations/eventtype/index.html b/tr/v3/api/enumerations/eventtype/index.html index eafc7e17b..70be2a3da 100644 --- a/tr/v3/api/enumerations/eventtype/index.html +++ b/tr/v3/api/enumerations/eventtype/index.html @@ -68,4 +68,4 @@ Could be for example, process events, database events

    The EventType for handling sern events

    Source

    -

    src/core/structures/enums.ts:55

    \ No newline at end of file +

    src/core/structures/enums.ts:55

    \ No newline at end of file diff --git a/tr/v3/api/enumerations/payloadtype/index.html b/tr/v3/api/enumerations/payloadtype/index.html index 655f844f5..8f25f44ae 100644 --- a/tr/v3/api/enumerations/payloadtype/index.html +++ b/tr/v3/api/enumerations/payloadtype/index.html @@ -64,4 +64,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    The PayloadType for a SernEmitter warning event

    Source

    -

    src/core/structures/enums.ts:102

    \ No newline at end of file +

    src/core/structures/enums.ts:102

    \ No newline at end of file diff --git a/tr/v3/api/enumerations/plugintype/index.html b/tr/v3/api/enumerations/plugintype/index.html index d4792cd56..906a7d5cb 100644 --- a/tr/v3/api/enumerations/plugintype/index.html +++ b/tr/v3/api/enumerations/plugintype/index.html @@ -59,4 +59,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    The PluginType for InitPlugins

    Source

    -

    src/core/structures/enums.ts:81

    \ No newline at end of file +

    src/core/structures/enums.ts:81

    \ No newline at end of file diff --git a/tr/v3/api/functions/commandcontrolplugin/index.html b/tr/v3/api/functions/commandcontrolplugin/index.html index 537c10e86..51943a6e1 100644 --- a/tr/v3/api/functions/commandcontrolplugin/index.html +++ b/tr/v3/api/functions/commandcontrolplugin/index.html @@ -54,4 +54,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    2.5.0 @PURE

    Source

    -

    src/core/create-plugins.ts:37

    \ No newline at end of file +

    src/core/create-plugins.ts:37

    \ No newline at end of file diff --git a/tr/v3/api/functions/commandinitplugin/index.html b/tr/v3/api/functions/commandinitplugin/index.html index 0a0048a76..e072e33bd 100644 --- a/tr/v3/api/functions/commandinitplugin/index.html +++ b/tr/v3/api/functions/commandinitplugin/index.html @@ -54,4 +54,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    2.5.0 @PURE

    Source

    -

    src/core/create-plugins.ts:28

    \ No newline at end of file +

    src/core/create-plugins.ts:28

    \ No newline at end of file diff --git a/tr/v3/api/functions/commandmodule/index.html b/tr/v3/api/functions/commandmodule/index.html index 68631c1a5..d7714e4d0 100644 --- a/tr/v3/api/functions/commandmodule/index.html +++ b/tr/v3/api/functions/commandmodule/index.html @@ -51,4 +51,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Since

    1.0.0 The wrapper function to define command modules for sern

    Source

    -

    src/core/modules.ts:19

    \ No newline at end of file +

    src/core/modules.ts:19

    \ No newline at end of file diff --git a/tr/v3/api/functions/discordevent/index.html b/tr/v3/api/functions/discordevent/index.html index 92344a6ad..e1c4bf646 100644 --- a/tr/v3/api/functions/discordevent/index.html +++ b/tr/v3/api/functions/discordevent/index.html @@ -58,4 +58,4 @@ where typings can be very bad.

    EventModule

    Experimental

    Source

    -

    src/core/modules.ts:47

    \ No newline at end of file +

    src/core/modules.ts:47

    \ No newline at end of file diff --git a/tr/v3/api/functions/discordeventcontrolplugin/index.html b/tr/v3/api/functions/discordeventcontrolplugin/index.html index 881c36e31..5b4a4677a 100644 --- a/tr/v3/api/functions/discordeventcontrolplugin/index.html +++ b/tr/v3/api/functions/discordeventcontrolplugin/index.html @@ -57,4 +57,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    A specialized function for creating control plugins with discord.js ClientEvents. Will probably be moved one day!

    Source

    -

    src/core/create-plugins.ts:58

    \ No newline at end of file +

    src/core/create-plugins.ts:58

    \ No newline at end of file diff --git a/tr/v3/api/functions/eventcontrolplugin/index.html b/tr/v3/api/functions/eventcontrolplugin/index.html index 230967c8b..2284d0bb9 100644 --- a/tr/v3/api/functions/eventcontrolplugin/index.html +++ b/tr/v3/api/functions/eventcontrolplugin/index.html @@ -54,4 +54,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    2.5.0 @PURE

    Source

    -

    src/core/create-plugins.ts:46

    \ No newline at end of file +

    src/core/create-plugins.ts:46

    \ No newline at end of file diff --git a/tr/v3/api/functions/eventinitplugin/index.html b/tr/v3/api/functions/eventinitplugin/index.html index 14b7d3777..f3230b42d 100644 --- a/tr/v3/api/functions/eventinitplugin/index.html +++ b/tr/v3/api/functions/eventinitplugin/index.html @@ -54,4 +54,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    2.5.0 @PURE

    Source

    -

    src/core/create-plugins.ts:19

    \ No newline at end of file +

    src/core/create-plugins.ts:19

    \ No newline at end of file diff --git a/tr/v3/api/functions/eventmodule/index.html b/tr/v3/api/functions/eventmodule/index.html index 29556bd01..d051321f2 100644 --- a/tr/v3/api/functions/eventmodule/index.html +++ b/tr/v3/api/functions/eventmodule/index.html @@ -52,4 +52,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    1.0.0 The wrapper function to define event modules for sern

    Source

    -

    src/core/modules.ts:32

    \ No newline at end of file +

    src/core/modules.ts:32

    \ No newline at end of file diff --git a/tr/v3/api/functions/makedependencies/index.html b/tr/v3/api/functions/makedependencies/index.html index ea6a7f52b..dbc1469e1 100644 --- a/tr/v3/api/functions/makedependencies/index.html +++ b/tr/v3/api/functions/makedependencies/index.html @@ -51,4 +51,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    Promise<<V>(…keys) => IntoDependencies<V>>

    Source

    -

    src/core/ioc/base.ts:144

    \ No newline at end of file +

    src/core/ioc/base.ts:144

    \ No newline at end of file diff --git a/tr/v3/api/functions/makeplugin/index.html b/tr/v3/api/functions/makeplugin/index.html index 5ef99556b..7fe991002 100644 --- a/tr/v3/api/functions/makeplugin/index.html +++ b/tr/v3/api/functions/makeplugin/index.html @@ -52,4 +52,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    Plugin<V>

    Source

    -

    src/core/create-plugins.ts:6

    \ No newline at end of file +

    src/core/create-plugins.ts:6

    \ No newline at end of file diff --git a/tr/v3/api/functions/service/index.html b/tr/v3/api/functions/service/index.html index e184fac1c..41ac99bcd 100644 --- a/tr/v3/api/functions/service/index.html +++ b/tr/v3/api/functions/service/index.html @@ -60,4 +60,4 @@ Note: this method only works AFTER your container has been initiated

    Example

    1
    const client = Service('@sern/client');

    Source

    -

    src/core/ioc/dependency-injection.ts:37

    \ No newline at end of file +

    src/core/ioc/dependency-injection.ts:37

    \ No newline at end of file diff --git a/tr/v3/api/functions/services/index.html b/tr/v3/api/functions/services/index.html index 1f458d7a6..5b530607c 100644 --- a/tr/v3/api/functions/services/index.html +++ b/tr/v3/api/functions/services/index.html @@ -55,4 +55,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    3.0.0 The plural version of Service

    Source

    -

    src/core/ioc/dependency-injection.ts:47

    \ No newline at end of file +

    src/core/ioc/dependency-injection.ts:47

    \ No newline at end of file diff --git a/tr/v3/api/functions/single/index.html b/tr/v3/api/functions/single/index.html index 33c159490..e03d54932 100644 --- a/tr/v3/api/functions/single/index.html +++ b/tr/v3/api/functions/single/index.html @@ -57,4 +57,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    2.0.0. Creates a singleton object.

    Source

    -

    src/core/ioc/dependency-injection.ts:11

    \ No newline at end of file +

    src/core/ioc/dependency-injection.ts:11

    \ No newline at end of file diff --git a/tr/v3/api/functions/transient/index.html b/tr/v3/api/functions/transient/index.html index e55c89abd..b5d2d18b9 100644 --- a/tr/v3/api/functions/transient/index.html +++ b/tr/v3/api/functions/transient/index.html @@ -59,4 +59,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    2.0.0 Creates a transient object

    Source

    -

    src/core/ioc/dependency-injection.ts:21

    \ No newline at end of file +

    src/core/ioc/dependency-injection.ts:21

    \ No newline at end of file diff --git a/tr/v3/api/interfaces/bothcommand/index.html b/tr/v3/api/interfaces/bothcommand/index.html index fc528720a..15111b35f 100644 --- a/tr/v3/api/interfaces/bothcommand/index.html +++ b/tr/v3/api/interfaces/bothcommand/index.html @@ -117,4 +117,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:124

    \ No newline at end of file +

    src/types/core-modules.ts:124

    \ No newline at end of file diff --git a/tr/v3/api/interfaces/buttoncommand/index.html b/tr/v3/api/interfaces/buttoncommand/index.html index 48727fb80..041cdc5f5 100644 --- a/tr/v3/api/interfaces/buttoncommand/index.html +++ b/tr/v3/api/interfaces/buttoncommand/index.html @@ -102,4 +102,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:64

    \ No newline at end of file +

    src/types/core-modules.ts:64

    \ No newline at end of file diff --git a/tr/v3/api/interfaces/channelselectcommand/index.html b/tr/v3/api/interfaces/channelselectcommand/index.html index 0a5e3828d..86ed969c0 100644 --- a/tr/v3/api/interfaces/channelselectcommand/index.html +++ b/tr/v3/api/interfaces/channelselectcommand/index.html @@ -102,4 +102,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:74

    \ No newline at end of file +

    src/types/core-modules.ts:74

    \ No newline at end of file diff --git a/tr/v3/api/interfaces/commandmoduledefs/index.html b/tr/v3/api/interfaces/commandmoduledefs/index.html index e5d2993d2..7f97475ee 100644 --- a/tr/v3/api/interfaces/commandmoduledefs/index.html +++ b/tr/v3/api/interfaces/commandmoduledefs/index.html @@ -124,4 +124,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    8: ContextMenuMsg

    Source

    -

    src/types/core-modules.ts:153

    \ No newline at end of file +

    src/types/core-modules.ts:153

    \ No newline at end of file diff --git a/tr/v3/api/interfaces/contextmenumsg/index.html b/tr/v3/api/interfaces/contextmenumsg/index.html index 417996667..4f55280bd 100644 --- a/tr/v3/api/interfaces/contextmenumsg/index.html +++ b/tr/v3/api/interfaces/contextmenumsg/index.html @@ -102,4 +102,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:59

    \ No newline at end of file +

    src/types/core-modules.ts:59

    \ No newline at end of file diff --git a/tr/v3/api/interfaces/contextmenuuser/index.html b/tr/v3/api/interfaces/contextmenuuser/index.html index 5994357e0..5f3795e65 100644 --- a/tr/v3/api/interfaces/contextmenuuser/index.html +++ b/tr/v3/api/interfaces/contextmenuuser/index.html @@ -102,4 +102,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:54

    \ No newline at end of file +

    src/types/core-modules.ts:54

    \ No newline at end of file diff --git a/tr/v3/api/interfaces/controller/index.html b/tr/v3/api/interfaces/controller/index.html index ed5886559..24c9d35f4 100644 --- a/tr/v3/api/interfaces/controller/index.html +++ b/tr/v3/api/interfaces/controller/index.html @@ -58,4 +58,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    Err<void>

    Source

    -

    src/types/core-plugin.ts:60

    \ No newline at end of file +

    src/types/core-plugin.ts:60

    \ No newline at end of file diff --git a/tr/v3/api/interfaces/controlplugin/index.html b/tr/v3/api/interfaces/controlplugin/index.html index d30c950e1..9765e2008 100644 --- a/tr/v3/api/interfaces/controlplugin/index.html +++ b/tr/v3/api/interfaces/controlplugin/index.html @@ -60,4 +60,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    type: Control

    Source

    -

    src/types/core-plugin.ts:72

    \ No newline at end of file +

    src/types/core-plugin.ts:72

    \ No newline at end of file diff --git a/tr/v3/api/interfaces/coredependencies/index.html b/tr/v3/api/interfaces/coredependencies/index.html index ec4300dd6..6e973fbc6 100644 --- a/tr/v3/api/interfaces/coredependencies/index.html +++ b/tr/v3/api/interfaces/coredependencies/index.html @@ -95,4 +95,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    CoreModuleStore

    Source

    -

    src/types/ioc.ts:34

    \ No newline at end of file +

    src/types/ioc.ts:34

    \ No newline at end of file diff --git a/tr/v3/api/interfaces/coremodulestore/index.html b/tr/v3/api/interfaces/coremodulestore/index.html index b5f7a7241..2a09ef3a1 100644 --- a/tr/v3/api/interfaces/coremodulestore/index.html +++ b/tr/v3/api/interfaces/coremodulestore/index.html @@ -55,4 +55,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    metadata: WeakMap<Module, CommandMeta>

    Source

    -

    src/core/contracts/module-store.ts:8

    \ No newline at end of file +

    src/core/contracts/module-store.ts:8

    \ No newline at end of file diff --git a/tr/v3/api/interfaces/discordeventcommand/index.html b/tr/v3/api/interfaces/discordeventcommand/index.html index 9ac205e6a..b20242608 100644 --- a/tr/v3/api/interfaces/discordeventcommand/index.html +++ b/tr/v3/api/interfaces/discordeventcommand/index.html @@ -104,4 +104,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:108

    \ No newline at end of file +

    src/types/core-modules.ts:108

    \ No newline at end of file diff --git a/tr/v3/api/interfaces/disposable/index.html b/tr/v3/api/interfaces/disposable/index.html index 0e2b2a75a..7f11b0380 100644 --- a/tr/v3/api/interfaces/disposable/index.html +++ b/tr/v3/api/interfaces/disposable/index.html @@ -51,4 +51,4 @@ Let dependencies implement this to dispose and cleanup.

    Returns

    unknown

    Source

    -

    src/core/contracts/hooks.ts:15

    \ No newline at end of file +

    src/core/contracts/hooks.ts:15

    \ No newline at end of file diff --git a/tr/v3/api/interfaces/emitter/index.html b/tr/v3/api/interfaces/emitter/index.html index 7dc21e2c5..858677c8f 100644 --- a/tr/v3/api/interfaces/emitter/index.html +++ b/tr/v3/api/interfaces/emitter/index.html @@ -76,4 +76,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    this

    Source

    -

    src/core/contracts/emitter.ts:7

    \ No newline at end of file +

    src/core/contracts/emitter.ts:7

    \ No newline at end of file diff --git a/tr/v3/api/interfaces/errorhandling/index.html b/tr/v3/api/interfaces/errorhandling/index.html index a3b893822..dcf3aeedf 100644 --- a/tr/v3/api/interfaces/errorhandling/index.html +++ b/tr/v3/api/interfaces/errorhandling/index.html @@ -66,4 +66,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    void

    Source

    -

    src/core/contracts/error-handling.ts:14

    \ No newline at end of file +

    src/core/contracts/error-handling.ts:14

    \ No newline at end of file diff --git a/tr/v3/api/interfaces/eventmoduledefs/index.html b/tr/v3/api/interfaces/eventmoduledefs/index.html index b1957f1c5..c8bcb77c5 100644 --- a/tr/v3/api/interfaces/eventmoduledefs/index.html +++ b/tr/v3/api/interfaces/eventmoduledefs/index.html @@ -61,4 +61,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    3: ExternalEventCommand

    Source

    -

    src/types/core-modules.ts:167

    \ No newline at end of file +

    src/types/core-modules.ts:167

    \ No newline at end of file diff --git a/tr/v3/api/interfaces/externaleventcommand/index.html b/tr/v3/api/interfaces/externaleventcommand/index.html index 8265b73d3..abbc87559 100644 --- a/tr/v3/api/interfaces/externaleventcommand/index.html +++ b/tr/v3/api/interfaces/externaleventcommand/index.html @@ -109,4 +109,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:50

    \ No newline at end of file +

    src/types/core-modules.ts:50

    \ No newline at end of file diff --git a/tr/v3/api/interfaces/init/index.html b/tr/v3/api/interfaces/init/index.html index 3a36d0546..33395ffe6 100644 --- a/tr/v3/api/interfaces/init/index.html +++ b/tr/v3/api/interfaces/init/index.html @@ -51,4 +51,4 @@ Let dependencies implement this to initiate some logic.

    Returns

    unknown

    Source

    -

    src/core/contracts/hooks.ts:7

    \ No newline at end of file +

    src/core/contracts/hooks.ts:7

    \ No newline at end of file diff --git a/tr/v3/api/interfaces/initplugin/index.html b/tr/v3/api/interfaces/initplugin/index.html index cbeb2ac4a..576cbecc7 100644 --- a/tr/v3/api/interfaces/initplugin/index.html +++ b/tr/v3/api/interfaces/initplugin/index.html @@ -60,4 +60,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    type: Init

    Source

    -

    src/types/core-plugin.ts:68

    \ No newline at end of file +

    src/types/core-plugin.ts:68

    \ No newline at end of file diff --git a/tr/v3/api/interfaces/logging/index.html b/tr/v3/api/interfaces/logging/index.html index f50bf580e..2150617b7 100644 --- a/tr/v3/api/interfaces/logging/index.html +++ b/tr/v3/api/interfaces/logging/index.html @@ -88,4 +88,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    void

    Source

    -

    src/core/contracts/logging.ts:6

    \ No newline at end of file +

    src/core/contracts/logging.ts:6

    \ No newline at end of file diff --git a/tr/v3/api/interfaces/mentionableselectcommand/index.html b/tr/v3/api/interfaces/mentionableselectcommand/index.html index 6df60d578..d20dc43c9 100644 --- a/tr/v3/api/interfaces/mentionableselectcommand/index.html +++ b/tr/v3/api/interfaces/mentionableselectcommand/index.html @@ -102,4 +102,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:84

    \ No newline at end of file +

    src/types/core-modules.ts:84

    \ No newline at end of file diff --git a/tr/v3/api/interfaces/modalsubmitcommand/index.html b/tr/v3/api/interfaces/modalsubmitcommand/index.html index cb7386b1a..0f806a2e5 100644 --- a/tr/v3/api/interfaces/modalsubmitcommand/index.html +++ b/tr/v3/api/interfaces/modalsubmitcommand/index.html @@ -102,4 +102,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:94

    \ No newline at end of file +

    src/types/core-modules.ts:94

    \ No newline at end of file diff --git a/tr/v3/api/interfaces/plugin/index.html b/tr/v3/api/interfaces/plugin/index.html index 8e7ed4896..f7ec454cc 100644 --- a/tr/v3/api/interfaces/plugin/index.html +++ b/tr/v3/api/interfaces/plugin/index.html @@ -60,4 +60,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    type: PluginType

    Source

    -

    src/types/core-plugin.ts:63

    \ No newline at end of file +

    src/types/core-plugin.ts:63

    \ No newline at end of file diff --git a/tr/v3/api/interfaces/roleselectcommand/index.html b/tr/v3/api/interfaces/roleselectcommand/index.html index f9a7f89cc..a9a83af27 100644 --- a/tr/v3/api/interfaces/roleselectcommand/index.html +++ b/tr/v3/api/interfaces/roleselectcommand/index.html @@ -102,4 +102,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:79

    \ No newline at end of file +

    src/types/core-modules.ts:79

    \ No newline at end of file diff --git a/tr/v3/api/interfaces/sernautocompletedata/index.html b/tr/v3/api/interfaces/sernautocompletedata/index.html index b43bfa71e..826e92e8a 100644 --- a/tr/v3/api/interfaces/sernautocompletedata/index.html +++ b/tr/v3/api/interfaces/sernautocompletedata/index.html @@ -110,4 +110,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    type: String | Integer | Number

    Source

    -

    src/types/core-modules.ts:173

    \ No newline at end of file +

    src/types/core-modules.ts:173

    \ No newline at end of file diff --git a/tr/v3/api/interfaces/serneventcommand/index.html b/tr/v3/api/interfaces/serneventcommand/index.html index 97cd36279..b723b15c7 100644 --- a/tr/v3/api/interfaces/serneventcommand/index.html +++ b/tr/v3/api/interfaces/serneventcommand/index.html @@ -104,4 +104,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:44

    \ No newline at end of file +

    src/types/core-modules.ts:44

    \ No newline at end of file diff --git a/tr/v3/api/interfaces/serneventsmapping/index.html b/tr/v3/api/interfaces/serneventsmapping/index.html index e2736335d..4009e9bc4 100644 --- a/tr/v3/api/interfaces/serneventsmapping/index.html +++ b/tr/v3/api/interfaces/serneventsmapping/index.html @@ -75,4 +75,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    warning: [Payload]

    Source

    -

    src/types/utility.ts:22

    \ No newline at end of file +

    src/types/utility.ts:22

    \ No newline at end of file diff --git a/tr/v3/api/interfaces/sernsubcommanddata/index.html b/tr/v3/api/interfaces/sernsubcommanddata/index.html index c62c167c3..efe693da7 100644 --- a/tr/v3/api/interfaces/sernsubcommanddata/index.html +++ b/tr/v3/api/interfaces/sernsubcommanddata/index.html @@ -105,4 +105,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    APIApplicationCommandOptionBase.type

    Source

    -

    src/types/core-modules.ts:208

    \ No newline at end of file +

    src/types/core-modules.ts:208

    \ No newline at end of file diff --git a/tr/v3/api/interfaces/sernsubcommandgroupdata/index.html b/tr/v3/api/interfaces/sernsubcommandgroupdata/index.html index 053e0942a..dfc932ac3 100644 --- a/tr/v3/api/interfaces/sernsubcommandgroupdata/index.html +++ b/tr/v3/api/interfaces/sernsubcommandgroupdata/index.html @@ -112,4 +112,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    type: SubcommandGroup

    Source

    -

    src/types/core-modules.ts:213

    \ No newline at end of file +

    src/types/core-modules.ts:213

    \ No newline at end of file diff --git a/tr/v3/api/interfaces/slashcommand/index.html b/tr/v3/api/interfaces/slashcommand/index.html index f2d9b8253..968084b3b 100644 --- a/tr/v3/api/interfaces/slashcommand/index.html +++ b/tr/v3/api/interfaces/slashcommand/index.html @@ -110,4 +110,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:117

    \ No newline at end of file +

    src/types/core-modules.ts:117

    \ No newline at end of file diff --git a/tr/v3/api/interfaces/stringselectcommand/index.html b/tr/v3/api/interfaces/stringselectcommand/index.html index eb696d845..fc3d1e4de 100644 --- a/tr/v3/api/interfaces/stringselectcommand/index.html +++ b/tr/v3/api/interfaces/stringselectcommand/index.html @@ -102,4 +102,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:69

    \ No newline at end of file +

    src/types/core-modules.ts:69

    \ No newline at end of file diff --git a/tr/v3/api/interfaces/textcommand/index.html b/tr/v3/api/interfaces/textcommand/index.html index d1f12ff22..d8bf07460 100644 --- a/tr/v3/api/interfaces/textcommand/index.html +++ b/tr/v3/api/interfaces/textcommand/index.html @@ -110,4 +110,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:111

    \ No newline at end of file +

    src/types/core-modules.ts:111

    \ No newline at end of file diff --git a/tr/v3/api/interfaces/userselectcommand/index.html b/tr/v3/api/interfaces/userselectcommand/index.html index f2bd25c38..e260e088d 100644 --- a/tr/v3/api/interfaces/userselectcommand/index.html +++ b/tr/v3/api/interfaces/userselectcommand/index.html @@ -102,4 +102,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:89

    \ No newline at end of file +

    src/types/core-modules.ts:89

    \ No newline at end of file diff --git a/tr/v3/api/interfaces/wrapper/index.html b/tr/v3/api/interfaces/wrapper/index.html index 285de8f30..73fef8d65 100644 --- a/tr/v3/api/interfaces/wrapper/index.html +++ b/tr/v3/api/interfaces/wrapper/index.html @@ -87,4 +87,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
  • https://github.com/sern-handler/handler/pull/325
  • Source

    -

    src/types/core.ts:16

    \ No newline at end of file +

    src/types/core.ts:16

    \ No newline at end of file diff --git a/tr/v3/api/namespaces/presence/functions/module/index.html b/tr/v3/api/namespaces/presence/functions/module/index.html index 1b438a64e..e61ee1143 100644 --- a/tr/v3/api/namespaces/presence/functions/module/index.html +++ b/tr/v3/api/namespaces/presence/functions/module/index.html @@ -54,4 +54,4 @@ adjacent to the file where Sern.init is CALLED.

    Returns

    Config<T>

    Source

    -

    src/core/presences.ts:28

    \ No newline at end of file +

    src/core/presences.ts:28

    \ No newline at end of file diff --git a/tr/v3/api/namespaces/presence/functions/of/index.html b/tr/v3/api/namespaces/presence/functions/of/index.html index 73dedfa90..8a73e8510 100644 --- a/tr/v3/api/namespaces/presence/functions/of/index.html +++ b/tr/v3/api/namespaces/presence/functions/of/index.html @@ -97,4 +97,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    optional status: Status

    Source

    -

    src/core/presences.ts:37

    \ No newline at end of file +

    src/core/presences.ts:37

    \ No newline at end of file diff --git a/tr/v3/api/namespaces/presence/interfaces/result/index.html b/tr/v3/api/namespaces/presence/interfaces/result/index.html index ae85feddf..10bc3869e 100644 --- a/tr/v3/api/namespaces/presence/interfaces/result/index.html +++ b/tr/v3/api/namespaces/presence/interfaces/result/index.html @@ -86,4 +86,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    optional status: Status

    Source

    -

    src/core/presences.ts:9

    \ No newline at end of file +

    src/core/presences.ts:9

    \ No newline at end of file diff --git a/tr/v3/api/namespaces/presence/type-aliases/config/index.html b/tr/v3/api/namespaces/presence/type-aliases/config/index.html index 3c2da02fa..56ec05b1d 100644 --- a/tr/v3/api/namespaces/presence/type-aliases/config/index.html +++ b/tr/v3/api/namespaces/presence/type-aliases/config/index.html @@ -60,4 +60,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    optional inject: [...T]

    Source

    -

    src/core/presences.ts:17

    \ No newline at end of file +

    src/core/presences.ts:17

    \ No newline at end of file diff --git a/tr/v3/api/namespaces/sern/functions/init/index.html b/tr/v3/api/namespaces/sern/functions/init/index.html index 844b0e274..382333b42 100644 --- a/tr/v3/api/namespaces/sern/functions/init/index.html +++ b/tr/v3/api/namespaces/sern/functions/init/index.html @@ -53,4 +53,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Example

    src/index.ts
    1
    Sern.init({
    2
    commands: 'dist/commands',
    3
    events: 'dist/events',
    4
    })

    Source

    -

    src/sern.ts:26

    \ No newline at end of file +

    src/sern.ts:26

    \ No newline at end of file diff --git a/tr/v3/api/readme/index.html b/tr/v3/api/readme/index.html index 69c36de94..5160bb3d7 100644 --- a/tr/v3/api/readme/index.html +++ b/tr/v3/api/readme/index.html @@ -130,4 +130,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
  • makePlugin
  • single
  • transient
  • - \ No newline at end of file + \ No newline at end of file diff --git a/tr/v3/api/type-aliases/anycommandplugin/index.html b/tr/v3/api/type-aliases/anycommandplugin/index.html index fa890d95c..af587bb81 100644 --- a/tr/v3/api/type-aliases/anycommandplugin/index.html +++ b/tr/v3/api/type-aliases/anycommandplugin/index.html @@ -45,4 +45,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    AnyCommandPlugin: ControlPlugin | InitPlugin<[InitArgs<Processed<CommandModule>>]>

    Source

    -

    src/types/core-plugin.ts:76

    \ No newline at end of file +

    src/types/core-plugin.ts:76

    \ No newline at end of file diff --git a/tr/v3/api/type-aliases/anyeventplugin/index.html b/tr/v3/api/type-aliases/anyeventplugin/index.html index fda0041b2..5c0631b67 100644 --- a/tr/v3/api/type-aliases/anyeventplugin/index.html +++ b/tr/v3/api/type-aliases/anyeventplugin/index.html @@ -45,4 +45,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    AnyEventPlugin: ControlPlugin | InitPlugin<[InitArgs<Processed<EventModule>>]>

    Source

    -

    src/types/core-plugin.ts:77

    \ No newline at end of file +

    src/types/core-plugin.ts:77

    \ No newline at end of file diff --git a/tr/v3/api/type-aliases/args/index.html b/tr/v3/api/type-aliases/args/index.html index 369242530..b1a1223f9 100644 --- a/tr/v3/api/type-aliases/args/index.html +++ b/tr/v3/api/type-aliases/args/index.html @@ -54,4 +54,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    text: string[]

    Source

    -

    src/types/utility.ts:16

    \ No newline at end of file +

    src/types/utility.ts:16

    \ No newline at end of file diff --git a/tr/v3/api/type-aliases/commandmodule/index.html b/tr/v3/api/type-aliases/commandmodule/index.html index 791a07fb1..f9dcb23b7 100644 --- a/tr/v3/api/type-aliases/commandmodule/index.html +++ b/tr/v3/api/type-aliases/commandmodule/index.html @@ -45,4 +45,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    CommandModule: TextCommand | SlashCommand | BothCommand | ContextMenuUser | ContextMenuMsg | ButtonCommand | StringSelectCommand | MentionableSelectCommand | UserSelectCommand | ChannelSelectCommand | RoleSelectCommand | ModalSubmitCommand

    Source

    -

    src/types/core-modules.ts:132

    \ No newline at end of file +

    src/types/core-modules.ts:132

    \ No newline at end of file diff --git a/tr/v3/api/type-aliases/eventmodule/index.html b/tr/v3/api/type-aliases/eventmodule/index.html index a2f9b6e98..d4864ea51 100644 --- a/tr/v3/api/type-aliases/eventmodule/index.html +++ b/tr/v3/api/type-aliases/eventmodule/index.html @@ -45,4 +45,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    EventModule: DiscordEventCommand | SernEventCommand | ExternalEventCommand

    Source

    -

    src/types/core-modules.ts:131

    \ No newline at end of file +

    src/types/core-modules.ts:131

    \ No newline at end of file diff --git a/tr/v3/api/type-aliases/initializable/index.html b/tr/v3/api/type-aliases/initializable/index.html index 737c7cd94..21fbdc61e 100644 --- a/tr/v3/api/type-aliases/initializable/index.html +++ b/tr/v3/api/type-aliases/initializable/index.html @@ -49,4 +49,4 @@ If T has an init method, this will be called.

    Type parameters

    T extends Init

    Source

    -

    src/types/ioc.ts:17

    \ No newline at end of file +

    src/types/ioc.ts:17

    \ No newline at end of file diff --git a/tr/v3/api/type-aliases/logpayload/index.html b/tr/v3/api/type-aliases/logpayload/index.html index a035c809f..5adca00f5 100644 --- a/tr/v3/api/type-aliases/logpayload/index.html +++ b/tr/v3/api/type-aliases/logpayload/index.html @@ -52,4 +52,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    message: T

    Source

    -

    src/core/contracts/logging.ts:11

    \ No newline at end of file +

    src/core/contracts/logging.ts:11

    \ No newline at end of file diff --git a/tr/v3/api/type-aliases/payload/index.html b/tr/v3/api/type-aliases/payload/index.html index 9301b066d..dd23ff08b 100644 --- a/tr/v3/api/type-aliases/payload/index.html +++ b/tr/v3/api/type-aliases/payload/index.html @@ -45,4 +45,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Payload: object | object | object

    Source

    -

    src/types/utility.ts:26

    \ No newline at end of file +

    src/types/utility.ts:26

    \ No newline at end of file diff --git a/tr/v3/api/type-aliases/pluginresult/index.html b/tr/v3/api/type-aliases/pluginresult/index.html index fbde44bf1..82cbdef0f 100644 --- a/tr/v3/api/type-aliases/pluginresult/index.html +++ b/tr/v3/api/type-aliases/pluginresult/index.html @@ -45,4 +45,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    PluginResult: Awaitable<VoidResult>

    Source

    -

    src/types/core-plugin.ts:51

    \ No newline at end of file +

    src/types/core-plugin.ts:51

    \ No newline at end of file diff --git a/tr/v3/api/type-aliases/sernoptionsdata/index.html b/tr/v3/api/type-aliases/sernoptionsdata/index.html index d934dbcc5..1a1402748 100644 --- a/tr/v3/api/type-aliases/sernoptionsdata/index.html +++ b/tr/v3/api/type-aliases/sernoptionsdata/index.html @@ -46,4 +46,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Type that replaces autocomplete with SernAutocompleteData

    Source

    -

    src/types/core-modules.ts:200

    \ No newline at end of file +

    src/types/core-modules.ts:200

    \ No newline at end of file diff --git a/tr/v3/api/type-aliases/singleton/index.html b/tr/v3/api/type-aliases/singleton/index.html index 164779e2b..b8c67152f 100644 --- a/tr/v3/api/type-aliases/singleton/index.html +++ b/tr/v3/api/type-aliases/singleton/index.html @@ -51,4 +51,4 @@ T is created once and lazily.

    Returns

    T

    Source

    -

    src/types/ioc.ts:7

    \ No newline at end of file +

    src/types/ioc.ts:7

    \ No newline at end of file diff --git a/tr/v3/api/type-aliases/slashoptions/index.html b/tr/v3/api/type-aliases/slashoptions/index.html index c26610e93..58b87535f 100644 --- a/tr/v3/api/type-aliases/slashoptions/index.html +++ b/tr/v3/api/type-aliases/slashoptions/index.html @@ -45,4 +45,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    SlashOptions: Omit<CommandInteractionOptionResolver, "getMessage" | "getFocused">

    Source

    -

    src/types/utility.ts:14

    \ No newline at end of file +

    src/types/utility.ts:14

    \ No newline at end of file diff --git a/tr/v3/api/type-aliases/transient/index.html b/tr/v3/api/type-aliases/transient/index.html index 35bda1ac1..ad2a16e90 100644 --- a/tr/v3/api/type-aliases/transient/index.html +++ b/tr/v3/api/type-aliases/transient/index.html @@ -53,4 +53,4 @@ Every time this is called, a new object is created

    Returns

    T

    Source

    -

    src/types/ioc.ts:12

    \ No newline at end of file +

    src/types/ioc.ts:12

    \ No newline at end of file diff --git a/tr/v3/api/variables/controller/index.html b/tr/v3/api/variables/controller/index.html index 4a9c9addd..9ff097b22 100644 --- a/tr/v3/api/variables/controller/index.html +++ b/tr/v3/api/variables/controller/index.html @@ -61,4 +61,4 @@ The object passed into every plugin to control a command’s behavior

    Returns

    ErrImpl<void>

    Source

    -

    src/core/create-plugins.ts:69

    \ No newline at end of file +

    src/core/create-plugins.ts:69

    \ No newline at end of file diff --git a/tr/v3/cli/about/index.html b/tr/v3/cli/about/index.html index ab8b788cc..c47893ff4 100644 --- a/tr/v3/cli/about/index.html +++ b/tr/v3/cli/about/index.html @@ -50,4 +50,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
    If you're new to sern, run npm create @sern/bot for an interactive setup to your new bot project!
    If you have any ideas, suggestions, bug reports, kindly join our support server: https://sern.dev/discord
    Options:
    -v, --version output the version number
    -h, --help display help for command
    -
    Commands:
    init [options] Quickest way to scaffold a new project [DEPRECATED]
    plugins [options] Install plugins from https://github.com/sern-handler/awesome-plugins
    extra Easy way to add extra things in your sern project
    commands Defacto way to manage your slash commands
    help [command] display help for command
    \ No newline at end of file +
    Commands:
    init [options] Quickest way to scaffold a new project [DEPRECATED]
    plugins [options] Install plugins from https://github.com/sern-handler/awesome-plugins
    extra Easy way to add extra things in your sern project
    commands Defacto way to manage your slash commands
    help [command] display help for command
    \ No newline at end of file diff --git a/tr/v3/cli/build/index.html b/tr/v3/cli/build/index.html index 8ece216b7..60f53a883 100644 --- a/tr/v3/cli/build/index.html +++ b/tr/v3/cli/build/index.html @@ -113,4 +113,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Full esbuild documentation here. Add more to the define field in build options (only availible with a sern.build file at the moment)

    process.env

    We generate your process.env with dotenv and generate typings for process.env. Less hassle!

    -
    DISCORD_TOKEN=<your token>
    1
    process.env.DISCORD_TOKEN; // string | undefined (not typesafe :()
    \ No newline at end of file +
    DISCORD_TOKEN=<your token>
    1
    process.env.DISCORD_TOKEN; // string | undefined (not typesafe :()
    \ No newline at end of file diff --git a/tr/v3/cli/clear/index.html b/tr/v3/cli/clear/index.html index 2a74e8faf..be7352b91 100644 --- a/tr/v3/cli/clear/index.html +++ b/tr/v3/cli/clear/index.html @@ -55,4 +55,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem; \ No newline at end of file + \ No newline at end of file diff --git a/tr/v3/cli/extra/index.html b/tr/v3/cli/extra/index.html index 832149b7c..58ceec209 100644 --- a/tr/v3/cli/extra/index.html +++ b/tr/v3/cli/extra/index.html @@ -48,4 +48,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    This command is pretty straightfoward. Install utilities into your application, assuming you have a sern.config.json.

    You can use this command to install things such as a Dockerfile

    Usage

    -
    Terminal window
    sern extra
    # Choose which extra feature from the prompt, such as this:
    What extra feature do you want to add? Dockerfile (TypeScript)
    \ No newline at end of file +
    Terminal window
    sern extra
    # Choose which extra feature from the prompt, such as this:
    What extra feature do you want to add? Dockerfile (TypeScript)
    \ No newline at end of file diff --git a/tr/v3/cli/publish/index.html b/tr/v3/cli/publish/index.html index 1a3ebba00..400412dfb 100644 --- a/tr/v3/cli/publish/index.html +++ b/tr/v3/cli/publish/index.html @@ -88,4 +88,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
    src/commands/ping.ts
    1
    import { commandModule, Service, CommandType } from '@sern/handler'
    2
    3
    const client = Service('@sern/client');
    4
    5
    export const config = {
    6
    guildIds: ["889026545715400705"]
    7
    }
    8
    -
    9
    export default commandModule( {
    10
    type: CommandType.Slash
    11
    description: `${client.user.username}'s ping`,
    12
    execute: (ctx) => {
    13
    ctx.reply('pong')
    14
    }
    15
    })
    \ No newline at end of file +
    9
    export default commandModule( {
    10
    type: CommandType.Slash
    11
    description: `${client.user.username}'s ping`,
    12
    execute: (ctx) => {
    13
    ctx.reply('pong')
    14
    }
    15
    })
    \ No newline at end of file diff --git a/tr/v3/guide/getting-started/choose-ide/index.html b/tr/v3/guide/getting-started/choose-ide/index.html index 4cf3e23cc..b13b67b95 100644 --- a/tr/v3/guide/getting-started/choose-ide/index.html +++ b/tr/v3/guide/getting-started/choose-ide/index.html @@ -51,4 +51,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
  • Sublime Text
  • NotePad++
  • nvim (chad)
  • - \ No newline at end of file + \ No newline at end of file diff --git a/tr/v3/guide/getting-started/preparing/index.html b/tr/v3/guide/getting-started/preparing/index.html index 915a1c0a0..b16156607 100644 --- a/tr/v3/guide/getting-started/preparing/index.html +++ b/tr/v3/guide/getting-started/preparing/index.html @@ -44,4 +44,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Preparing to Code

    Bu içerik henüz dilinizde mevcut değil.

    After installing an IDE, you need to install node. Node is necessary to use sern, as it’s based on Discord.js.

    You can download Node from the official website here.

    After you’ve downloaded Node you will need a Discord token

    -

    CONTINUE 🤓

    \ No newline at end of file +

    CONTINUE 🤓

    \ No newline at end of file diff --git a/tr/v3/guide/walkthrough/autocomplete/index.html b/tr/v3/guide/walkthrough/autocomplete/index.html index 6cfbe6063..3b3b64f89 100644 --- a/tr/v3/guide/walkthrough/autocomplete/index.html +++ b/tr/v3/guide/walkthrough/autocomplete/index.html @@ -51,4 +51,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    We can filter the cheeses based on the focus object, and return only the cheeses that start with the focus object.

    You can do a lot more with the focus object, such as performing API calls, or implementing a fuzzy search.

    src/commands/cheese.ts
    1
    export default commandModule({
    2
    type: CommandType.Slash,
    3
    description: "show me cheese",
    4
    options: [
    5
    {
    6
    name: "list",
    7
    type: ApplicationCommandOptionType.String,
    8
    description: "pick a cheese to show",
    9
    required: true,
    10
    autocomplete: true,
    11
    command: {
    12
    onEvent: [],
    13
    execute: (ctx) => {
    14
    const focus = ctx.options.getFocused();
    15
    ctx.respond(
    16
    ["gouda", "parmesan", "harvarti"]
    17
    .filter((cheese) => cheese.startsWith(focus))
    18
    .map((cheese) => ({
    19
    name: cheese,
    20
    value: cheese,
    21
    })),
    22
    );
    23
    },
    24
    },
    25
    },
    26
    ],
    27
    execute: (ctx, [, args]) => {
    28
    const cheese = args.getString("list", true);
    29
    ctx.reply("selected cheese");
    30
    },
    31
    });
    - \ No newline at end of file + \ No newline at end of file diff --git a/tr/v3/guide/walkthrough/cli/index.html b/tr/v3/guide/walkthrough/cli/index.html index 40065f8b4..b491c3bdc 100644 --- a/tr/v3/guide/walkthrough/cli/index.html +++ b/tr/v3/guide/walkthrough/cli/index.html @@ -56,4 +56,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Extra Utilities

    To install extra utilities into your project, run:

    Terminal window
    sern extra
    -

    We have a more in depth guide on the CLI if you’re interested in learning more.

    \ No newline at end of file +

    We have a more in depth guide on the CLI if you’re interested in learning more.

    \ No newline at end of file diff --git a/tr/v3/guide/walkthrough/conclusion/index.html b/tr/v3/guide/walkthrough/conclusion/index.html index e9a43faaf..c1c5ac8f2 100644 --- a/tr/v3/guide/walkthrough/conclusion/index.html +++ b/tr/v3/guide/walkthrough/conclusion/index.html @@ -44,4 +44,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Conclusion

    Bu içerik henüz dilinizde mevcut değil.

    If you reached this far, thank you for reading!

    We hope you have learned the necessities you need to create a bot with the sern framework.

    If you have any other questions, bugs, feature requests, concerns, please join our community server, and we’ll be glad to answer your questions!

    -

    paper logo

    \ No newline at end of file +

    paper logo

    \ No newline at end of file diff --git a/tr/v3/guide/walkthrough/dependency-injection/index.html b/tr/v3/guide/walkthrough/dependency-injection/index.html index f04dd7c69..eabd8e71d 100644 --- a/tr/v3/guide/walkthrough/dependency-injection/index.html +++ b/tr/v3/guide/walkthrough/dependency-injection/index.html @@ -87,4 +87,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
  • Now, when your bot starts, the init method will be called. 🎉

  • - \ No newline at end of file + \ No newline at end of file diff --git a/tr/v3/guide/walkthrough/first-command/index.html b/tr/v3/guide/walkthrough/first-command/index.html index 76c20ec9b..3bc741c90 100644 --- a/tr/v3/guide/walkthrough/first-command/index.html +++ b/tr/v3/guide/walkthrough/first-command/index.html @@ -71,4 +71,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
  • CommandType.Slash
  • CommandType.Text
  • -

    This data structure helps interop between legacy commands and slash commands with ease.

    \ No newline at end of file +

    This data structure helps interop between legacy commands and slash commands with ease.

    \ No newline at end of file diff --git a/tr/v3/guide/walkthrough/first-event/index.html b/tr/v3/guide/walkthrough/first-event/index.html index ce76c5f59..36d029077 100644 --- a/tr/v3/guide/walkthrough/first-event/index.html +++ b/tr/v3/guide/walkthrough/first-event/index.html @@ -53,4 +53,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
    src/index.ts
    1
    await makeDependencies({
    2
    build: root => root.add({
    3
    eventlistener: single(() => new EventEmitter())
    4
    })
    5
    })

    In your event module, you can now listen to events from eventlistener, which will be emitted from the EventEmitter.

    src/events/myevent.ts
    1
    export default eventModule({
    2
    type: EventType.External,
    3
    emitter: 'eventlistener',
    4
    execute: (args) => {
    5
    console.log('Got event from eventlistener: ', args);
    6
    }
    7
    })
    - \ No newline at end of file + \ No newline at end of file diff --git a/tr/v3/guide/walkthrough/goal/index.html b/tr/v3/guide/walkthrough/goal/index.html index 37ac3ff31..2dac941ee 100644 --- a/tr/v3/guide/walkthrough/goal/index.html +++ b/tr/v3/guide/walkthrough/goal/index.html @@ -54,4 +54,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
    4
    export class PingCommand extends Command {
    5
    public constructor(context: Command.Context) {
    6
    super(context, {
    7
    description: "Pong!",
    8
    chatInputCommand: {
    9
    register: true,
    10
    },
    11
    });
    12
    }
    13
    public async chatInputRun(interaction: CommandInteraction) {
    14
    await interaction.reply("Pong!");
    15
    }
    16
    }

    Keep in mind the sern example acts as both a slash command AND a text command. The Sapphire example is only a slash command, and it’s more code than sern.

    -

    Be smart. Choose sern.

    \ No newline at end of file +

    Be smart. Choose sern.

    \ No newline at end of file diff --git a/tr/v3/guide/walkthrough/good-to-know/index.html b/tr/v3/guide/walkthrough/good-to-know/index.html index c1b1bb1ae..5cf5ddfb3 100644 --- a/tr/v3/guide/walkthrough/good-to-know/index.html +++ b/tr/v3/guide/walkthrough/good-to-know/index.html @@ -46,4 +46,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    For example, when installing TypeScript plugins, the language property is necessary to install from our open source repository.

    Using the CLI and running sern init --sync on pre-existing projects should install this file in the your project.

    Or, if this is a brand-new project, sern init automatically installs it.

    -
    sern.config.json
    1
    {
    2
    "language": "typescript",
    3
    "paths": {
    4
    "base": "src",
    5
    "commands": "commands"
    6
    }
    7
    }
    \ No newline at end of file +
    sern.config.json
    1
    {
    2
    "language": "typescript",
    3
    "paths": {
    4
    "base": "src",
    5
    "commands": "commands"
    6
    }
    7
    }
    \ No newline at end of file diff --git a/tr/v3/guide/walkthrough/new-project/index.html b/tr/v3/guide/walkthrough/new-project/index.html index c171b7397..2728299b7 100644 --- a/tr/v3/guide/walkthrough/new-project/index.html +++ b/tr/v3/guide/walkthrough/new-project/index.html @@ -43,4 +43,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem; StarlightThemeProvider.updatePickers();

    New Project

    Bu içerik henüz dilinizde mevcut değil.

    Terminal window
    npm create @sern/bot

    Once you’ve used this command, follow the interactive prompts to create your new project.

    -

    If you need help, feel free to ask on our Discord.

    \ No newline at end of file +

    If you need help, feel free to ask on our Discord.

    \ No newline at end of file diff --git a/tr/v3/guide/walkthrough/plugins/index.html b/tr/v3/guide/walkthrough/plugins/index.html index 0e33a9572..9271b26b6 100644 --- a/tr/v3/guide/walkthrough/plugins/index.html +++ b/tr/v3/guide/walkthrough/plugins/index.html @@ -81,4 +81,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
  • Before an event occurs, this command module will check if the user has the id 182326315813306368.
  • If all plugins return controller.next(), this command replies Pong 🏓
  • - \ No newline at end of file + \ No newline at end of file diff --git a/tr/v3/guide/walkthrough/sern-emitter/index.html b/tr/v3/guide/walkthrough/sern-emitter/index.html index 03120777b..466958131 100644 --- a/tr/v3/guide/walkthrough/sern-emitter/index.html +++ b/tr/v3/guide/walkthrough/sern-emitter/index.html @@ -51,4 +51,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
  • warn events, where it is possible to throw errors
  • You can put these and other event listeners into event modules!

    -

    You can view all events in the SernEventsMapping interface.

    \ No newline at end of file +

    You can view all events in the SernEventsMapping interface.

    \ No newline at end of file diff --git a/tr/v3/guide/walkthrough/services/index.html b/tr/v3/guide/walkthrough/services/index.html index fc9964e41..b779a2a1c 100644 --- a/tr/v3/guide/walkthrough/services/index.html +++ b/tr/v3/guide/walkthrough/services/index.html @@ -83,4 +83,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem; \ No newline at end of file + \ No newline at end of file diff --git a/tr/v3/guide/walkthrough/transition/index.html b/tr/v3/guide/walkthrough/transition/index.html index 802c04ef6..7f1fb8326 100644 --- a/tr/v3/guide/walkthrough/transition/index.html +++ b/tr/v3/guide/walkthrough/transition/index.html @@ -47,4 +47,4 @@ include a dependencies.d.ts file into compilation. (Chec

    A standard project file tree:

    \ No newline at end of file +
  • .env
  • .gitignore
  • bun.lockb
  • package.json
  • README.md
  • sern.config.json
  • tsconfig.json
  • \ No newline at end of file diff --git a/tr/v4/api/classes/context/index.html b/tr/v4/api/classes/context/index.html index 80694914d..6a913a0c2 100644 --- a/tr/v4/api/classes/context/index.html +++ b/tr/v4/api/classes/context/index.html @@ -222,4 +222,4 @@ else, interaction.user

    Returns

    Context

    Source

    -

    src/core/structures/context.ts:124

    \ No newline at end of file +

    src/core/structures/context.ts:124

    \ No newline at end of file diff --git a/tr/v4/api/enumerations/commandtype/index.html b/tr/v4/api/enumerations/commandtype/index.html index 316590e1b..4e5d24147 100644 --- a/tr/v4/api/enumerations/commandtype/index.html +++ b/tr/v4/api/enumerations/commandtype/index.html @@ -129,4 +129,4 @@ A bitfield that discriminates command modules

    UserSelect: 128

    Source

    -

    src/core/structures/enums.ts:26

    \ No newline at end of file +

    src/core/structures/enums.ts:26

    \ No newline at end of file diff --git a/tr/v4/api/enumerations/eventtype/index.html b/tr/v4/api/enumerations/eventtype/index.html index cac19d15e..c588a1448 100644 --- a/tr/v4/api/enumerations/eventtype/index.html +++ b/tr/v4/api/enumerations/eventtype/index.html @@ -68,4 +68,4 @@ Could be for example, process events, database events

    The EventType for handling sern events

    Source

    -

    src/core/structures/enums.ts:55

    \ No newline at end of file +

    src/core/structures/enums.ts:55

    \ No newline at end of file diff --git a/tr/v4/api/enumerations/payloadtype/index.html b/tr/v4/api/enumerations/payloadtype/index.html index 4028c236b..286730103 100644 --- a/tr/v4/api/enumerations/payloadtype/index.html +++ b/tr/v4/api/enumerations/payloadtype/index.html @@ -64,4 +64,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Warning: "warning"

    Source

    -

    src/core/structures/enums.ts:94

    \ No newline at end of file +

    src/core/structures/enums.ts:94

    \ No newline at end of file diff --git a/tr/v4/api/enumerations/plugintype/index.html b/tr/v4/api/enumerations/plugintype/index.html index d8c8bc6fa..9f8091d03 100644 --- a/tr/v4/api/enumerations/plugintype/index.html +++ b/tr/v4/api/enumerations/plugintype/index.html @@ -59,4 +59,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    The PluginType for InitPlugins

    Source

    -

    src/core/structures/enums.ts:81

    \ No newline at end of file +

    src/core/structures/enums.ts:81

    \ No newline at end of file diff --git a/tr/v4/api/functions/commandcontrolplugin/index.html b/tr/v4/api/functions/commandcontrolplugin/index.html index 1ce2b9949..403917681 100644 --- a/tr/v4/api/functions/commandcontrolplugin/index.html +++ b/tr/v4/api/functions/commandcontrolplugin/index.html @@ -74,4 +74,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
  • Useful for implementing preconditions, filters, and command preprocessing
  • Source

    -

    src/core/plugin.ts:120

    \ No newline at end of file +

    src/core/plugin.ts:120

    \ No newline at end of file diff --git a/tr/v4/api/functions/commandinitplugin/index.html b/tr/v4/api/functions/commandinitplugin/index.html index 94f346c3a..d1a2d3453 100644 --- a/tr/v4/api/functions/commandinitplugin/index.html +++ b/tr/v4/api/functions/commandinitplugin/index.html @@ -69,4 +69,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
  • Use controller.stop(reason) to halt plugin execution
  • Source

    -

    src/core/plugin.ts:62

    \ No newline at end of file +

    src/core/plugin.ts:62

    \ No newline at end of file diff --git a/tr/v4/api/functions/commandmodule/index.html b/tr/v4/api/functions/commandmodule/index.html index 8ba1ae1da..e48a365d9 100644 --- a/tr/v4/api/functions/commandmodule/index.html +++ b/tr/v4/api/functions/commandmodule/index.html @@ -58,4 +58,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Example

    1
    // Command with component interaction
    2
    export default commandModule({
    3
    type: CommandType.Slash,
    4
    description: "Interactive command",
    5
    execute: async (ctx) => {
    6
    const button = new ButtonBuilder({
    7
    customId: "btn/someData",
    8
    label: "Click me",
    9
    style: ButtonStyle.Primary
    10
    });
    11
    await ctx.reply({
    12
    content: "Interactive message",
    13
    components: [new ActionRowBuilder().addComponents(button)]
    14
    });
    15
    }
    16
    });

    Source

    -

    src/core/modules.ts:47

    \ No newline at end of file +

    src/core/modules.ts:47

    \ No newline at end of file diff --git a/tr/v4/api/functions/discordevent/index.html b/tr/v4/api/functions/discordevent/index.html index f63726433..3dce3d71c 100644 --- a/tr/v4/api/functions/discordevent/index.html +++ b/tr/v4/api/functions/discordevent/index.html @@ -58,4 +58,4 @@ where typings were bad.

    Returns

    Module

    Source

    -

    src/core/modules.ts:97

    \ No newline at end of file +

    src/core/modules.ts:97

    \ No newline at end of file diff --git a/tr/v4/api/functions/eventinitplugin/index.html b/tr/v4/api/functions/eventinitplugin/index.html index 7260f1ff2..2ee966b80 100644 --- a/tr/v4/api/functions/eventinitplugin/index.html +++ b/tr/v4/api/functions/eventinitplugin/index.html @@ -51,4 +51,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Since

    2.5.0

    Source

    -

    src/core/plugin.ts:15

    \ No newline at end of file +

    src/core/plugin.ts:15

    \ No newline at end of file diff --git a/tr/v4/api/functions/eventmodule/index.html b/tr/v4/api/functions/eventmodule/index.html index 0419e2bdc..6321b9b03 100644 --- a/tr/v4/api/functions/eventmodule/index.html +++ b/tr/v4/api/functions/eventmodule/index.html @@ -63,4 +63,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Example

    1
    // Custom sern event
    2
    export default eventModule({
    3
    type: EventType.Sern,
    4
    execute: async (eventData) => {
    5
    // Handle sern-specific event
    6
    }
    7
    });

    Source

    -

    src/core/modules.ts:83

    \ No newline at end of file +

    src/core/modules.ts:83

    \ No newline at end of file diff --git a/tr/v4/api/functions/makedependencies/index.html b/tr/v4/api/functions/makedependencies/index.html index 43e8b5bd8..59b12194d 100644 --- a/tr/v4/api/functions/makedependencies/index.html +++ b/tr/v4/api/functions/makedependencies/index.html @@ -53,4 +53,4 @@ This is required to start the handler, and is to be called before Sern.init.

    Example

    1
    await makeDependencies(({ add }) => {
    2
    add('@sern/client', new Client({ intents, partials })
    3
    })

    Source

    -

    src/core/ioc.ts:63

    \ No newline at end of file +

    src/core/ioc.ts:63

    \ No newline at end of file diff --git a/tr/v4/api/functions/makeplugin/index.html b/tr/v4/api/functions/makeplugin/index.html index a931303b3..cc5290ee4 100644 --- a/tr/v4/api/functions/makeplugin/index.html +++ b/tr/v4/api/functions/makeplugin/index.html @@ -52,4 +52,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    Plugin<V>

    Source

    -

    src/core/plugin.ts:6

    \ No newline at end of file +

    src/core/plugin.ts:6

    \ No newline at end of file diff --git a/tr/v4/api/functions/service/index.html b/tr/v4/api/functions/service/index.html index 1cdc3f6fa..c27d9f985 100644 --- a/tr/v4/api/functions/service/index.html +++ b/tr/v4/api/functions/service/index.html @@ -62,4 +62,4 @@ Note: this method only works AFTER your container has been initiated

    Throws

    if container is absent or not present

    Source

    -

    src/core/ioc.ts:93

    \ No newline at end of file +

    src/core/ioc.ts:93

    \ No newline at end of file diff --git a/tr/v4/api/functions/services/index.html b/tr/v4/api/functions/services/index.html index 8f171d31b..998fa9ebd 100644 --- a/tr/v4/api/functions/services/index.html +++ b/tr/v4/api/functions/services/index.html @@ -57,4 +57,4 @@ The plural version of Servi

    Throws

    if container is absent or not present

    Source

    -

    src/core/ioc.ts:103

    \ No newline at end of file +

    src/core/ioc.ts:103

    \ No newline at end of file diff --git a/tr/v4/api/functions/single/index.html b/tr/v4/api/functions/single/index.html index b823e48b2..d7d956e79 100644 --- a/tr/v4/api/functions/single/index.html +++ b/tr/v4/api/functions/single/index.html @@ -52,4 +52,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    T

    Source

    -

    src/core/ioc.ts:112

    \ No newline at end of file +

    src/core/ioc.ts:112

    \ No newline at end of file diff --git a/tr/v4/api/functions/transient/index.html b/tr/v4/api/functions/transient/index.html index 8ca10396f..d2435c0e3 100644 --- a/tr/v4/api/functions/transient/index.html +++ b/tr/v4/api/functions/transient/index.html @@ -55,4 +55,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    2.0.0 Creates a transient object

    Source

    -

    src/core/ioc.ts:123

    \ No newline at end of file +

    src/core/ioc.ts:123

    \ No newline at end of file diff --git a/tr/v4/api/interfaces/bothcommand/index.html b/tr/v4/api/interfaces/bothcommand/index.html index 3fd32ff5d..2727de6d4 100644 --- a/tr/v4/api/interfaces/bothcommand/index.html +++ b/tr/v4/api/interfaces/bothcommand/index.html @@ -174,4 +174,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:283

    \ No newline at end of file +

    src/types/core-modules.ts:283

    \ No newline at end of file diff --git a/tr/v4/api/interfaces/buttoncommand/index.html b/tr/v4/api/interfaces/buttoncommand/index.html index f8d58ec1d..24f1ad352 100644 --- a/tr/v4/api/interfaces/buttoncommand/index.html +++ b/tr/v4/api/interfaces/buttoncommand/index.html @@ -167,4 +167,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:225

    \ No newline at end of file +

    src/types/core-modules.ts:225

    \ No newline at end of file diff --git a/tr/v4/api/interfaces/channelselectcommand/index.html b/tr/v4/api/interfaces/channelselectcommand/index.html index 928a686fb..61d8b03a7 100644 --- a/tr/v4/api/interfaces/channelselectcommand/index.html +++ b/tr/v4/api/interfaces/channelselectcommand/index.html @@ -167,4 +167,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:235

    \ No newline at end of file +

    src/types/core-modules.ts:235

    \ No newline at end of file diff --git a/tr/v4/api/interfaces/commandmoduledefs/index.html b/tr/v4/api/interfaces/commandmoduledefs/index.html index b074d8887..0fad0e75d 100644 --- a/tr/v4/api/interfaces/commandmoduledefs/index.html +++ b/tr/v4/api/interfaces/commandmoduledefs/index.html @@ -124,4 +124,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    8: ContextMenuMsg

    Source

    -

    src/types/core-modules.ts:310

    \ No newline at end of file +

    src/types/core-modules.ts:310

    \ No newline at end of file diff --git a/tr/v4/api/interfaces/contextmenumsg/index.html b/tr/v4/api/interfaces/contextmenumsg/index.html index 49ab1d226..9c07ddd4d 100644 --- a/tr/v4/api/interfaces/contextmenumsg/index.html +++ b/tr/v4/api/interfaces/contextmenumsg/index.html @@ -167,4 +167,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:220

    \ No newline at end of file +

    src/types/core-modules.ts:220

    \ No newline at end of file diff --git a/tr/v4/api/interfaces/contextmenuuser/index.html b/tr/v4/api/interfaces/contextmenuuser/index.html index 0f892fd39..de8279f0e 100644 --- a/tr/v4/api/interfaces/contextmenuuser/index.html +++ b/tr/v4/api/interfaces/contextmenuuser/index.html @@ -167,4 +167,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:215

    \ No newline at end of file +

    src/types/core-modules.ts:215

    \ No newline at end of file diff --git a/tr/v4/api/interfaces/controlplugin/index.html b/tr/v4/api/interfaces/controlplugin/index.html index f6799a3a5..5bf6f3813 100644 --- a/tr/v4/api/interfaces/controlplugin/index.html +++ b/tr/v4/api/interfaces/controlplugin/index.html @@ -68,4 +68,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Plugin.type

    Source

    -

    src/types/core-plugin.ts:52

    \ No newline at end of file +

    src/types/core-plugin.ts:52

    \ No newline at end of file diff --git a/tr/v4/api/interfaces/coredependencies/index.html b/tr/v4/api/interfaces/coredependencies/index.html index f853d89c6..0d5c9eb26 100644 --- a/tr/v4/api/interfaces/coredependencies/index.html +++ b/tr/v4/api/interfaces/coredependencies/index.html @@ -90,4 +90,4 @@ by module.meta.id -> Module

    @sern/scheduler: TaskScheduler

    Source

    -

    src/core/ioc.ts:161

    \ No newline at end of file +

    src/core/ioc.ts:161

    \ No newline at end of file diff --git a/tr/v4/api/interfaces/discordeventcommand/index.html b/tr/v4/api/interfaces/discordeventcommand/index.html index 621b15649..a15ae1b03 100644 --- a/tr/v4/api/interfaces/discordeventcommand/index.html +++ b/tr/v4/api/interfaces/discordeventcommand/index.html @@ -168,4 +168,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:268

    \ No newline at end of file +

    src/types/core-modules.ts:268

    \ No newline at end of file diff --git a/tr/v4/api/interfaces/disposable/index.html b/tr/v4/api/interfaces/disposable/index.html index b7be84ed4..382d6416b 100644 --- a/tr/v4/api/interfaces/disposable/index.html +++ b/tr/v4/api/interfaces/disposable/index.html @@ -51,4 +51,4 @@ Let dependencies implement this to dispose and cleanup.

    Returns

    unknown

    Source

    -

    src/core/interfaces.ts:17

    \ No newline at end of file +

    src/core/interfaces.ts:17

    \ No newline at end of file diff --git a/tr/v4/api/interfaces/emitter/index.html b/tr/v4/api/interfaces/emitter/index.html index bb8ddfc4a..e4d30f981 100644 --- a/tr/v4/api/interfaces/emitter/index.html +++ b/tr/v4/api/interfaces/emitter/index.html @@ -76,4 +76,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    this

    Source

    -

    src/core/interfaces.ts:23

    \ No newline at end of file +

    src/core/interfaces.ts:23

    \ No newline at end of file diff --git a/tr/v4/api/interfaces/errorhandling/index.html b/tr/v4/api/interfaces/errorhandling/index.html index e2e0fa83b..afdbe8162 100644 --- a/tr/v4/api/interfaces/errorhandling/index.html +++ b/tr/v4/api/interfaces/errorhandling/index.html @@ -66,4 +66,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    void

    Source

    -

    src/core/interfaces.ts:41

    \ No newline at end of file +

    src/core/interfaces.ts:41

    \ No newline at end of file diff --git a/tr/v4/api/interfaces/eventmoduledefs/index.html b/tr/v4/api/interfaces/eventmoduledefs/index.html index c1ec38b82..bc539ca00 100644 --- a/tr/v4/api/interfaces/eventmoduledefs/index.html +++ b/tr/v4/api/interfaces/eventmoduledefs/index.html @@ -63,4 +63,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    2: ExternalEventCommand

    Source

    -

    src/types/core-modules.ts:324

    \ No newline at end of file +

    src/types/core-modules.ts:324

    \ No newline at end of file diff --git a/tr/v4/api/interfaces/externaleventcommand/index.html b/tr/v4/api/interfaces/externaleventcommand/index.html index 9481c4edf..7b066946f 100644 --- a/tr/v4/api/interfaces/externaleventcommand/index.html +++ b/tr/v4/api/interfaces/externaleventcommand/index.html @@ -173,4 +173,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:210

    \ No newline at end of file +

    src/types/core-modules.ts:210

    \ No newline at end of file diff --git a/tr/v4/api/interfaces/init/index.html b/tr/v4/api/interfaces/init/index.html index bdf3c91e7..28e2b0e9f 100644 --- a/tr/v4/api/interfaces/init/index.html +++ b/tr/v4/api/interfaces/init/index.html @@ -51,4 +51,4 @@ Let dependencies implement this to initiate some logic.

    Returns

    unknown

    Source

    -

    src/core/interfaces.ts:9

    \ No newline at end of file +

    src/core/interfaces.ts:9

    \ No newline at end of file diff --git a/tr/v4/api/interfaces/initplugin/index.html b/tr/v4/api/interfaces/initplugin/index.html index 7fe63ba08..281847774 100644 --- a/tr/v4/api/interfaces/initplugin/index.html +++ b/tr/v4/api/interfaces/initplugin/index.html @@ -68,4 +68,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Plugin.type

    Source

    -

    src/types/core-plugin.ts:48

    \ No newline at end of file +

    src/types/core-plugin.ts:48

    \ No newline at end of file diff --git a/tr/v4/api/interfaces/logging/index.html b/tr/v4/api/interfaces/logging/index.html index 253a88720..a3d7fd42b 100644 --- a/tr/v4/api/interfaces/logging/index.html +++ b/tr/v4/api/interfaces/logging/index.html @@ -88,4 +88,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    void

    Source

    -

    src/core/interfaces.ts:50

    \ No newline at end of file +

    src/core/interfaces.ts:50

    \ No newline at end of file diff --git a/tr/v4/api/interfaces/mentionableselectcommand/index.html b/tr/v4/api/interfaces/mentionableselectcommand/index.html index 5421f8b0e..b76914ddd 100644 --- a/tr/v4/api/interfaces/mentionableselectcommand/index.html +++ b/tr/v4/api/interfaces/mentionableselectcommand/index.html @@ -167,4 +167,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:245

    \ No newline at end of file +

    src/types/core-modules.ts:245

    \ No newline at end of file diff --git a/tr/v4/api/interfaces/modalsubmitcommand/index.html b/tr/v4/api/interfaces/modalsubmitcommand/index.html index ab05ea42e..426dbe480 100644 --- a/tr/v4/api/interfaces/modalsubmitcommand/index.html +++ b/tr/v4/api/interfaces/modalsubmitcommand/index.html @@ -167,4 +167,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:255

    \ No newline at end of file +

    src/types/core-modules.ts:255

    \ No newline at end of file diff --git a/tr/v4/api/interfaces/module/index.html b/tr/v4/api/interfaces/module/index.html index 17fa3ae9a..d17248282 100644 --- a/tr/v4/api/interfaces/module/index.html +++ b/tr/v4/api/interfaces/module/index.html @@ -164,4 +164,4 @@ to attach metadata or configuration to modules.

    Returns

    any

    Source

    -

    src/types/core-modules.ts:196

    \ No newline at end of file +

    src/types/core-modules.ts:196

    \ No newline at end of file diff --git a/tr/v4/api/interfaces/plugin/index.html b/tr/v4/api/interfaces/plugin/index.html index aeba2fde0..77532d0cd 100644 --- a/tr/v4/api/interfaces/plugin/index.html +++ b/tr/v4/api/interfaces/plugin/index.html @@ -65,4 +65,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    type: PluginType

    Source

    -

    src/types/core-plugin.ts:43

    \ No newline at end of file +

    src/types/core-plugin.ts:43

    \ No newline at end of file diff --git a/tr/v4/api/interfaces/roleselectcommand/index.html b/tr/v4/api/interfaces/roleselectcommand/index.html index ab8b01136..e4a569424 100644 --- a/tr/v4/api/interfaces/roleselectcommand/index.html +++ b/tr/v4/api/interfaces/roleselectcommand/index.html @@ -167,4 +167,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:240

    \ No newline at end of file +

    src/types/core-modules.ts:240

    \ No newline at end of file diff --git a/tr/v4/api/interfaces/sernautocompletedata/index.html b/tr/v4/api/interfaces/sernautocompletedata/index.html index 6c719c443..745a51c66 100644 --- a/tr/v4/api/interfaces/sernautocompletedata/index.html +++ b/tr/v4/api/interfaces/sernautocompletedata/index.html @@ -110,4 +110,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    type: String | Integer | Number

    Source

    -

    src/types/core-modules.ts:330

    \ No newline at end of file +

    src/types/core-modules.ts:330

    \ No newline at end of file diff --git a/tr/v4/api/interfaces/serneventcommand/index.html b/tr/v4/api/interfaces/serneventcommand/index.html index e2bb26bb0..32f10722d 100644 --- a/tr/v4/api/interfaces/serneventcommand/index.html +++ b/tr/v4/api/interfaces/serneventcommand/index.html @@ -168,4 +168,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:203

    \ No newline at end of file +

    src/types/core-modules.ts:203

    \ No newline at end of file diff --git a/tr/v4/api/interfaces/serneventsmapping/index.html b/tr/v4/api/interfaces/serneventsmapping/index.html index 724ab8a8e..5bd9353fe 100644 --- a/tr/v4/api/interfaces/serneventsmapping/index.html +++ b/tr/v4/api/interfaces/serneventsmapping/index.html @@ -75,4 +75,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    warning: [Payload]

    Source

    -

    src/types/utility.ts:13

    \ No newline at end of file +

    src/types/utility.ts:13

    \ No newline at end of file diff --git a/tr/v4/api/interfaces/sernsubcommanddata/index.html b/tr/v4/api/interfaces/sernsubcommanddata/index.html index ef7ef2395..601b262eb 100644 --- a/tr/v4/api/interfaces/sernsubcommanddata/index.html +++ b/tr/v4/api/interfaces/sernsubcommanddata/index.html @@ -105,4 +105,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    APIApplicationCommandOptionBase.type

    Source

    -

    src/types/core-modules.ts:368

    \ No newline at end of file +

    src/types/core-modules.ts:368

    \ No newline at end of file diff --git a/tr/v4/api/interfaces/sernsubcommandgroupdata/index.html b/tr/v4/api/interfaces/sernsubcommandgroupdata/index.html index 335f69cc1..80d45c707 100644 --- a/tr/v4/api/interfaces/sernsubcommandgroupdata/index.html +++ b/tr/v4/api/interfaces/sernsubcommandgroupdata/index.html @@ -112,4 +112,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    type: SubcommandGroup

    Source

    -

    src/types/core-modules.ts:373

    \ No newline at end of file +

    src/types/core-modules.ts:373

    \ No newline at end of file diff --git a/tr/v4/api/interfaces/slashcommand/index.html b/tr/v4/api/interfaces/slashcommand/index.html index f62276836..d1f34174e 100644 --- a/tr/v4/api/interfaces/slashcommand/index.html +++ b/tr/v4/api/interfaces/slashcommand/index.html @@ -174,4 +174,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:276

    \ No newline at end of file +

    src/types/core-modules.ts:276

    \ No newline at end of file diff --git a/tr/v4/api/interfaces/stringselectcommand/index.html b/tr/v4/api/interfaces/stringselectcommand/index.html index 86f358d67..d0e60233c 100644 --- a/tr/v4/api/interfaces/stringselectcommand/index.html +++ b/tr/v4/api/interfaces/stringselectcommand/index.html @@ -167,4 +167,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:230

    \ No newline at end of file +

    src/types/core-modules.ts:230

    \ No newline at end of file diff --git a/tr/v4/api/interfaces/textcommand/index.html b/tr/v4/api/interfaces/textcommand/index.html index eff92aecb..c3da8ab8b 100644 --- a/tr/v4/api/interfaces/textcommand/index.html +++ b/tr/v4/api/interfaces/textcommand/index.html @@ -167,4 +167,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:271

    \ No newline at end of file +

    src/types/core-modules.ts:271

    \ No newline at end of file diff --git a/tr/v4/api/interfaces/userselectcommand/index.html b/tr/v4/api/interfaces/userselectcommand/index.html index b0af0db23..9830c6fba 100644 --- a/tr/v4/api/interfaces/userselectcommand/index.html +++ b/tr/v4/api/interfaces/userselectcommand/index.html @@ -167,4 +167,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:250

    \ No newline at end of file +

    src/types/core-modules.ts:250

    \ No newline at end of file diff --git a/tr/v4/api/namespaces/sern/functions/init/index.html b/tr/v4/api/namespaces/sern/functions/init/index.html index 924cd8693..bfb68b718 100644 --- a/tr/v4/api/namespaces/sern/functions/init/index.html +++ b/tr/v4/api/namespaces/sern/functions/init/index.html @@ -55,4 +55,4 @@ Function to start the handler up

    Example

    src/index.ts
    1
    Sern.init({
    2
    commands: 'dist/commands',
    3
    events: 'dist/events',
    4
    })

    Source

    -

    src/sern.ts:32

    \ No newline at end of file +

    src/sern.ts:32

    \ No newline at end of file diff --git a/tr/v4/api/readme/index.html b/tr/v4/api/readme/index.html index 0b581fa5a..ec6629232 100644 --- a/tr/v4/api/readme/index.html +++ b/tr/v4/api/readme/index.html @@ -125,4 +125,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
  • scheduledTask
  • single
  • transient
  • - \ No newline at end of file + \ No newline at end of file diff --git a/tr/v4/api/type-aliases/anyplugin/index.html b/tr/v4/api/type-aliases/anyplugin/index.html index f4a920083..210e8b149 100644 --- a/tr/v4/api/type-aliases/anyplugin/index.html +++ b/tr/v4/api/type-aliases/anyplugin/index.html @@ -45,4 +45,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    AnyPlugin: ControlPlugin | InitPlugin<[InitArgs<Processed<Module>>]>

    Source

    -

    src/types/core-plugin.ts:55

    \ No newline at end of file +

    src/types/core-plugin.ts:55

    \ No newline at end of file diff --git a/tr/v4/api/type-aliases/commandmodule/index.html b/tr/v4/api/type-aliases/commandmodule/index.html index 0c7837f06..c24146549 100644 --- a/tr/v4/api/type-aliases/commandmodule/index.html +++ b/tr/v4/api/type-aliases/commandmodule/index.html @@ -45,4 +45,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    CommandModule: TextCommand | SlashCommand | BothCommand | ContextMenuUser | ContextMenuMsg | ButtonCommand | StringSelectCommand | MentionableSelectCommand | UserSelectCommand | ChannelSelectCommand | RoleSelectCommand | ModalSubmitCommand

    Source

    -

    src/types/core-modules.ts:290

    \ No newline at end of file +

    src/types/core-modules.ts:290

    \ No newline at end of file diff --git a/tr/v4/api/type-aliases/controller/index.html b/tr/v4/api/type-aliases/controller/index.html index 86aed9f37..29c1208f4 100644 --- a/tr/v4/api/type-aliases/controller/index.html +++ b/tr/v4/api/type-aliases/controller/index.html @@ -45,4 +45,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Controller: typeof controller

    Source

    -

    src/core/plugin.ts:137

    \ No newline at end of file +

    src/core/plugin.ts:137

    \ No newline at end of file diff --git a/tr/v4/api/type-aliases/eventmodule/index.html b/tr/v4/api/type-aliases/eventmodule/index.html index 49532399d..d723fe018 100644 --- a/tr/v4/api/type-aliases/eventmodule/index.html +++ b/tr/v4/api/type-aliases/eventmodule/index.html @@ -45,4 +45,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    EventModule: DiscordEventCommand | SernEventCommand | ExternalEventCommand

    Source

    -

    src/types/core-modules.ts:289

    \ No newline at end of file +

    src/types/core-modules.ts:289

    \ No newline at end of file diff --git a/tr/v4/api/type-aliases/logpayload/index.html b/tr/v4/api/type-aliases/logpayload/index.html index 975362af9..ad37abd5d 100644 --- a/tr/v4/api/type-aliases/logpayload/index.html +++ b/tr/v4/api/type-aliases/logpayload/index.html @@ -52,4 +52,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    message: T

    Source

    -

    src/core/interfaces.ts:55

    \ No newline at end of file +

    src/core/interfaces.ts:55

    \ No newline at end of file diff --git a/tr/v4/api/type-aliases/payload/index.html b/tr/v4/api/type-aliases/payload/index.html index 69b305354..22b69c26c 100644 --- a/tr/v4/api/type-aliases/payload/index.html +++ b/tr/v4/api/type-aliases/payload/index.html @@ -45,4 +45,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Payload: object | object | object

    Source

    -

    src/types/utility.ts:17

    \ No newline at end of file +

    src/types/utility.ts:17

    \ No newline at end of file diff --git a/tr/v4/api/type-aliases/pluginresult/index.html b/tr/v4/api/type-aliases/pluginresult/index.html index 0e15a0f60..7c35bbeda 100644 --- a/tr/v4/api/type-aliases/pluginresult/index.html +++ b/tr/v4/api/type-aliases/pluginresult/index.html @@ -45,4 +45,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    PluginResult: Awaitable<Result<Record<string, unknown> | undefined, string | undefined>>

    Source

    -

    src/types/core-plugin.ts:36

    \ No newline at end of file +

    src/types/core-plugin.ts:36

    \ No newline at end of file diff --git a/tr/v4/api/type-aliases/sernoptionsdata/index.html b/tr/v4/api/type-aliases/sernoptionsdata/index.html index b988b4a61..09f1b3088 100644 --- a/tr/v4/api/type-aliases/sernoptionsdata/index.html +++ b/tr/v4/api/type-aliases/sernoptionsdata/index.html @@ -46,4 +46,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Type that replaces autocomplete with SernAutocompleteData

    Source

    -

    src/types/core-modules.ts:360

    \ No newline at end of file +

    src/types/core-modules.ts:360

    \ No newline at end of file diff --git a/tr/v4/api/variables/controller/index.html b/tr/v4/api/variables/controller/index.html index fc6dfffc2..e1e97410e 100644 --- a/tr/v4/api/variables/controller/index.html +++ b/tr/v4/api/variables/controller/index.html @@ -81,4 +81,4 @@ The object passed into every plugin to control a command’s behavior

    readonly ok: false = false

    Source

    -

    src/core/plugin.ts:131

    \ No newline at end of file +

    src/core/plugin.ts:131

    \ No newline at end of file diff --git a/tr/v4/api/variables/presence/index.html b/tr/v4/api/variables/presence/index.html index f2ec6e1c7..400809a46 100644 --- a/tr/v4/api/variables/presence/index.html +++ b/tr/v4/api/variables/presence/index.html @@ -115,4 +115,4 @@ adjacent to the file where Sern.init is CALLED.

    optional status: Status

    Source

    -

    src/core/presences.ts:9

    \ No newline at end of file +

    src/core/presences.ts:9

    \ No newline at end of file diff --git a/tr/v4/cli/about/index.html b/tr/v4/cli/about/index.html index 4e6e9b81d..f52f25037 100644 --- a/tr/v4/cli/about/index.html +++ b/tr/v4/cli/about/index.html @@ -50,4 +50,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
    If you're new to sern, run npm create @sern/bot for an interactive setup to your new bot project!
    If you have any ideas, suggestions, bug reports, kindly join our support server: https://sern.dev/discord
    Options:
    -v, --version output the version number
    -h, --help display help for command
    -
    Commands:
    init [options] Quickest way to scaffold a new project [DEPRECATED]
    plugins [options] Install plugins from https://github.com/sern-handler/awesome-plugins
    extra Easy way to add extra things in your sern project
    commands Defacto way to manage your slash commands
    help [command] display help for command
    \ No newline at end of file +
    Commands:
    init [options] Quickest way to scaffold a new project [DEPRECATED]
    plugins [options] Install plugins from https://github.com/sern-handler/awesome-plugins
    extra Easy way to add extra things in your sern project
    commands Defacto way to manage your slash commands
    help [command] display help for command
    \ No newline at end of file diff --git a/tr/v4/cli/build/index.html b/tr/v4/cli/build/index.html index a8d0c67b8..210c979a6 100644 --- a/tr/v4/cli/build/index.html +++ b/tr/v4/cli/build/index.html @@ -113,4 +113,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Full esbuild documentation here. Add more to the define field in build options (only availible with a sern.build file at the moment)

    process.env

    We generate your process.env with dotenv and generate typings for process.env. Less hassle!

    -
    DISCORD_TOKEN=<your token>
    1
    process.env.DISCORD_TOKEN; // string | undefined (not typesafe :()
    \ No newline at end of file +
    DISCORD_TOKEN=<your token>
    1
    process.env.DISCORD_TOKEN; // string | undefined (not typesafe :()
    \ No newline at end of file diff --git a/tr/v4/cli/clear/index.html b/tr/v4/cli/clear/index.html index 4d4193044..c73559d72 100644 --- a/tr/v4/cli/clear/index.html +++ b/tr/v4/cli/clear/index.html @@ -55,4 +55,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem; \ No newline at end of file + \ No newline at end of file diff --git a/tr/v4/cli/extra/index.html b/tr/v4/cli/extra/index.html index edab7b438..c5dd961e5 100644 --- a/tr/v4/cli/extra/index.html +++ b/tr/v4/cli/extra/index.html @@ -48,4 +48,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    This command is pretty straightfoward. Install utilities into your application, assuming you have a sern.config.json.

    You can use this command to install things such as a Dockerfile

    Usage

    -
    Terminal window
    sern extra
    # Choose which extra feature from the prompt, such as this:
    What extra feature do you want to add? Dockerfile (TypeScript)
    \ No newline at end of file +
    Terminal window
    sern extra
    # Choose which extra feature from the prompt, such as this:
    What extra feature do you want to add? Dockerfile (TypeScript)
    \ No newline at end of file diff --git a/tr/v4/cli/publish/index.html b/tr/v4/cli/publish/index.html index d511d0a93..c4336c9ba 100644 --- a/tr/v4/cli/publish/index.html +++ b/tr/v4/cli/publish/index.html @@ -91,4 +91,4 @@ use the new service Publisher, officially maintained.

    src/commands/ping.ts
    1
    import { commandModule, Service, CommandType } from '@sern/handler'
    2
    3
    const client = Service('@sern/client');
    4
    5
    export const config = {
    6
    guildIds: ["889026545715400705"]
    7
    }
    8
    -
    9
    export default commandModule( {
    10
    type: CommandType.Slash
    11
    description: `${client.user.username}'s ping`,
    12
    execute: (ctx) => {
    13
    ctx.reply('pong')
    14
    }
    15
    })
    \ No newline at end of file +
    9
    export default commandModule( {
    10
    type: CommandType.Slash
    11
    description: `${client.user.username}'s ping`,
    12
    execute: (ctx) => {
    13
    ctx.reply('pong')
    14
    }
    15
    })
    \ No newline at end of file diff --git a/tr/v4/reference/autocomplete/index.html b/tr/v4/reference/autocomplete/index.html index 56a5c8204..1bf33835a 100644 --- a/tr/v4/reference/autocomplete/index.html +++ b/tr/v4/reference/autocomplete/index.html @@ -51,4 +51,4 @@ We’ve implemented this functionality using a simple tree search algorithm with We can filter cheeses based on the focus object, and return only the cheeses that start with the focus object. You can do a lot more with the focus object, such as performing API calls, or implementing a fuzzy search.

    src/commands/cheese.ts
    1
    export default commandModule({
    2
    type: CommandType.Slash,
    3
    description: "show me cheese",
    4
    options: [
    5
    {
    6
    name: "list",
    7
    type: ApplicationCommandOptionType.String,
    8
    description: "pick a cheese to show",
    9
    required: true,
    10
    autocomplete: true,
    11
    command: {
    12
    onEvent: [],
    13
    execute: (ctx) => {
    14
    const focus = ctx.options.getFocused();
    15
    ctx.respond ["gouda", "parmesan", "harvarti"]
    16
    .filter((cheese) => cheese.startsWith(focus))
    17
    .map((cheese) => ({ name: cheese, value: cheese })));
    18
    },
    19
    },
    20
    },
    21
    ],
    22
    execute: (ctx) => {
    23
    const cheese = ctx.options.getString("list", true);
    24
    ctx.reply("selected cheese");
    25
    },
    26
    });
    - \ No newline at end of file + \ No newline at end of file diff --git a/tr/v4/reference/conclusion/index.html b/tr/v4/reference/conclusion/index.html index ca2dc44b1..680c691f5 100644 --- a/tr/v4/reference/conclusion/index.html +++ b/tr/v4/reference/conclusion/index.html @@ -44,4 +44,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Conclusion

    Bu içerik henüz dilinizde mevcut değil.

    If you reached this far, thank you for reading!

    We hope you have learned the necessities you need to create a bot with the sern framework.

    If you have any other questions, bugs, feature requests, concerns, please join our community server, and we’ll be glad to answer your questions!

    -

    paper logo

    \ No newline at end of file +

    paper logo

    \ No newline at end of file diff --git a/tr/v4/reference/config/index.html b/tr/v4/reference/config/index.html index a0c87a3d5..457020e56 100644 --- a/tr/v4/reference/config/index.html +++ b/tr/v4/reference/config/index.html @@ -65,4 +65,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    user defined

    Feel free to supply any other constants / variables you may need.

    1
    export const OWNERS = ['182326315813306368']
    - \ No newline at end of file + \ No newline at end of file diff --git a/tr/v4/reference/dependencies/index.html b/tr/v4/reference/dependencies/index.html index f956e96a6..cf6bf2220 100644 --- a/tr/v4/reference/dependencies/index.html +++ b/tr/v4/reference/dependencies/index.html @@ -115,4 +115,4 @@ A common occurence in sern projects is to swap out the Logger for a custom one. As a result, the codebase is more modular and easier to test and refactor

    \ No newline at end of file +For example, you may prefer importing the logger service vs. injecting the Logger class as a dependency.

    \ No newline at end of file diff --git a/tr/v4/reference/error-handling/index.html b/tr/v4/reference/error-handling/index.html index b0a8d5336..cbad8dcb7 100644 --- a/tr/v4/reference/error-handling/index.html +++ b/tr/v4/reference/error-handling/index.html @@ -53,5 +53,6 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
    3
    export default eventModule({
    4
    type: EventType.Sern,
    5
    name: 'error',
    6
    execute: (err) => {
    7
    console.log('caught', err)
    8
    }
    9
    })

    If the error handler is not set, sern’s behavior is to crash the application. This respects node.js’s default behavior

    + \ No newline at end of file +If this happens, a memory leaks occurs and your bot will crash.

    \ No newline at end of file diff --git a/tr/v4/reference/getting-started/index.html b/tr/v4/reference/getting-started/index.html index 34f10c330..49016d545 100644 --- a/tr/v4/reference/getting-started/index.html +++ b/tr/v4/reference/getting-started/index.html @@ -44,4 +44,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Getting Started

    Bu içerik henüz dilinizde mevcut değil.

    Terminal window
    npm create @sern/bot

    Once you’ve used this command, follow the interactive prompts to create your new project.

    If you need help, feel free to ask on our Discord.

    -
    \ No newline at end of file + \ No newline at end of file diff --git a/tr/v4/reference/modules/index.html b/tr/v4/reference/modules/index.html index 24cb071dd..3e6375314 100644 --- a/tr/v4/reference/modules/index.html +++ b/tr/v4/reference/modules/index.html @@ -84,4 +84,4 @@ You may not see your command instantly in Discord, if so, try refreshing.

    Listening to Discord Events
    src/events/messageCreate.js
    1
    import { eventModule, EventType } from "@sern/handler";
    2
    3
    export default eventModule({
    4
    type: EventType.Discord,
    5
    execute: async (message) => {
    6
    console.log(`${message.user} said`, message.content)
    7
    },
    8
    });
    - \ No newline at end of file + \ No newline at end of file diff --git a/tr/v4/reference/plugins/index.html b/tr/v4/reference/plugins/index.html index 9c2980ef7..3c55a02fd 100644 --- a/tr/v4/reference/plugins/index.html +++ b/tr/v4/reference/plugins/index.html @@ -109,4 +109,4 @@ plugin chain.

    Plugins also carry an instance of all of your dependencies. Use them and use them as you please! For example, creating a plugin which logs which user uses your command

    -
    1
    import { commandModule, CommandControlPlugin, CommandType } from '@sern/handler'
    2
    export const log = CommandControlPlugin((ctx, sdt) => {
    3
    sdt
    4
    .deps['@sern/logger']
    5
    .info({ message: `${ctx.user.id} used this command from ${ctx.guild.id}` });
    6
    })
    \ No newline at end of file +
    1
    import { commandModule, CommandControlPlugin, CommandType } from '@sern/handler'
    2
    export const log = CommandControlPlugin((ctx, sdt) => {
    3
    sdt
    4
    .deps['@sern/logger']
    5
    .info({ message: `${ctx.user.id} used this command from ${ctx.guild.id}` });
    6
    })
    \ No newline at end of file diff --git a/tr/v4/reference/presence/index.html b/tr/v4/reference/presence/index.html index 9261dd8c4..4e4c149e0 100644 --- a/tr/v4/reference/presence/index.html +++ b/tr/v4/reference/presence/index.html @@ -57,4 +57,4 @@ An example of this is shuffling presences on intervals.

    23
    export default Presence.module({
    24
    execute: () => {
    25
    const [type, name, status] = statuses.at(0)!;
    26
    return Presence
    27
    //start your presence with this.
    28
    .of({ activities: [ { type, name } ], status })
    29
    .repeated(() => {
    30
    const [type, name, status] = [...shuffleArray(statuses)].shift()!;
    31
    return {
    32
    status,
    33
    activities: [{ type, name }]
    34
    };
    35
    }, 60_000); //repeat and setPresence with returned result every minute
    36
    }
    37
    })

    Inject dependencies

    ./src/presence.js
    1
    import { Presence } from '@sern/handler'
    2
    import { ActivityType } from 'discord.js';
    3
    -
    4
    const activity = { type: ActivityType.Listening, name: "what's bofa" };
    5
    export default Presence.module({
    6
    inject: ['@sern/logger'],
    7
    execute: (logger) => {
    8
    logger?.info({ message: "Presence changed" });
    9
    return Presence
    10
    .of({ activities: [activity], status: "idle" })
    11
    .once();
    12
    }
    13
    })
    \ No newline at end of file +
    4
    const activity = { type: ActivityType.Listening, name: "what's bofa" };
    5
    export default Presence.module({
    6
    inject: ['@sern/logger'],
    7
    execute: (logger) => {
    8
    logger?.info({ message: "Presence changed" });
    9
    return Presence
    10
    .of({ activities: [activity], status: "idle" })
    11
    .once();
    12
    }
    13
    })
    \ No newline at end of file diff --git a/tr/v4/reference/project-layout/index.html b/tr/v4/reference/project-layout/index.html index 18cc33b93..a6abb785b 100644 --- a/tr/v4/reference/project-layout/index.html +++ b/tr/v4/reference/project-layout/index.html @@ -44,4 +44,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Project Layout

    Bu içerik henüz dilinizde mevcut değil.

    A project should look like this:

    • Dizinsrc -
      • Dizincommands/
      • Dizinevents/
      • Dizinplugins/ # created automatically if running sern plugins
      • index.js
      • config.js # configuration for your entire application
    • .env
    • .gitignore
    • bun.lockb
    • package.json
    • README.md
    • sern.config.json
    • jsconfig.json # tsconfig.json if you are using typescript
    \ No newline at end of file +
  • .env
  • .gitignore
  • bun.lockb
  • package.json
  • README.md
  • sern.config.json
  • jsconfig.json # tsconfig.json if you are using typescript
  • \ No newline at end of file diff --git a/tr/v4/reference/tasks/index.html b/tr/v4/reference/tasks/index.html index 786194502..7c0e99fb6 100644 --- a/tr/v4/reference/tasks/index.html +++ b/tr/v4/reference/tasks/index.html @@ -49,4 +49,4 @@ If you haven’t already, add the tasks directory to you
    3
    export default scheduledTask({
    4
    trigger: "* * * * *",
    5
    execute: (context) => {
    6
    console.log("cron cron")
    7
    }
    8
    })

    The trigger is a cron tab pattern, you can edit and test one here.

    \ No newline at end of file +deps['@sern/scheduler'].kill(uuid) will kill the task.

    \ No newline at end of file diff --git a/tr/v4/snippets/command/index.html b/tr/v4/snippets/command/index.html index a2f22c417..14d98270b 100644 --- a/tr/v4/snippets/command/index.html +++ b/tr/v4/snippets/command/index.html @@ -42,4 +42,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Command

    Bu içerik henüz dilinizde mevcut değil.

    src/commands/ping.js
    1
    import { commandModule, CommandType } from "@sern/handler";
    2
    -
    3
    export default commandModule({
    4
    type: CommandType.Both,
    5
    plugins: [],
    6
    description: "A ping command",
    7
    execute: async (ctx, sdt) => {
    8
    await ctx.reply("Pong 🏓");
    9
    },
    10
    });
    \ No newline at end of file +
    3
    export default commandModule({
    4
    type: CommandType.Both,
    5
    plugins: [],
    6
    description: "A ping command",
    7
    execute: async (ctx, sdt) => {
    8
    await ctx.reply("Pong 🏓");
    9
    },
    10
    });
    \ No newline at end of file diff --git a/tr/v4/snippets/event/index.html b/tr/v4/snippets/event/index.html index 8967395e3..470325b2b 100644 --- a/tr/v4/snippets/event/index.html +++ b/tr/v4/snippets/event/index.html @@ -43,4 +43,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem; StarlightThemeProvider.updatePickers();

    Event

    Bu içerik henüz dilinizde mevcut değil.

    src/events/ping.js
    1
    import { eventModule, EventType } from "@sern/handler";
    2
    import type { GuildMember } from "discord.js";
    3
    4
    export default eventModule({
    5
    type: EventType.Discord,
    6
    name: "guildMemberAdd",
    7
    async execute(member) {
    8
    },
    9
    });
    \ No newline at end of file +
    4
    export default eventModule({
    5
    type: EventType.Discord,
    6
    name: "guildMemberAdd",
    7
    async execute(member: GuildMember) {
    8
    // TODO: This should be inferred
    9
    if (member.pending) return;
    10
    },
    11
    });
    \ No newline at end of file diff --git a/tr/v4/snippets/plugin/index.html b/tr/v4/snippets/plugin/index.html index 7e332f72e..3875b5c21 100644 --- a/tr/v4/snippets/plugin/index.html +++ b/tr/v4/snippets/plugin/index.html @@ -42,4 +42,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Plugins

    Bu içerik henüz dilinizde mevcut değil.

    1
    // This plugin only allows users with '182326315813306368' as their id to use this command.
    2
    import { CommandControlPlugin, CommandType, controller } from "@sern/handler";
    3
    import type { ModalSubmitInteraction } from "discord.js";
    4
    -
    5
    const OWNER = '182326315813306368';
    6
    export function ownerOnly() {
    7
    return CommandControlPlugin<CommandType.Slash>((ctx, sdt)=> {
    8
    if(ctx.user === OWNER)
    9
    return controller.next()
    10
    return controller.stop()
    11
    })
    12
    }
    \ No newline at end of file +
    5
    const OWNER = '182326315813306368';
    6
    export function ownerOnly() {
    7
    return CommandControlPlugin<CommandType.Slash>((ctx, sdt)=> {
    8
    if(ctx.user === OWNER)
    9
    return controller.next()
    10
    return controller.stop()
    11
    })
    12
    }
    \ No newline at end of file diff --git a/tr/v4/snippets/presence/index.html b/tr/v4/snippets/presence/index.html index 7c26d34f1..9d2ccd05f 100644 --- a/tr/v4/snippets/presence/index.html +++ b/tr/v4/snippets/presence/index.html @@ -43,4 +43,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem; StarlightThemeProvider.updatePickers();

    Presence

    Bu içerik henüz dilinizde mevcut değil.

    1
    import { Presence } from '@sern/handler'
    2
    import { ActivityType } from 'discord.js';
    3
    4
    const activity = { type: ActivityType.Listening, name: "what's bofa" };
    5
    -
    6
    export default Presence.module({
    7
    execute: () => {
    8
    return Presence
    9
    .of({ activities: [activity], status: "idle" })
    10
    .once();
    11
    }
    12
    })
    \ No newline at end of file +
    6
    export default Presence.module({
    7
    execute: () => {
    8
    return Presence
    9
    .of({ activities: [activity], status: "idle" })
    10
    .once();
    11
    }
    12
    })
    \ No newline at end of file diff --git a/tr/v4/tools/localizer/index.html b/tr/v4/tools/localizer/index.html index 70d3cb1e4..b18d1c372 100644 --- a/tr/v4/tools/localizer/index.html +++ b/tr/v4/tools/localizer/index.html @@ -58,4 +58,4 @@ Create the directory assets/locals. Each json file in he
    1
    execute : (ctx, { deps }) => {
    2
    //the localizer object from makeDependencies
    3
    deps.localizer
    4
    // Returns the Spanish translation for 'salute.hello'
    5
    deps.localizer.translate("salute.hello", "es-ES");
    6
    }
    1
    import { local } from '@sern/localizer';
    2
    -
    3
    // Returns the Spanish translation for 'salute.hello'
    4
    const greeting = local('salute.hello', 'es-ES');
    \ No newline at end of file +
    3
    // Returns the Spanish translation for 'salute.hello'
    4
    const greeting = local('salute.hello', 'es-ES');
    \ No newline at end of file diff --git a/tr/v4/tools/publisher/index.html b/tr/v4/tools/publisher/index.html index 5d02eb3d1..d5ce7a583 100644 --- a/tr/v4/tools/publisher/index.html +++ b/tr/v4/tools/publisher/index.html @@ -112,4 +112,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
  • Also able to use IntegrationContextType enum from @sern/publisher if you don’t want to use numbers.
  • - \ No newline at end of file + \ No newline at end of file diff --git a/tr/v4/transition/from-v3/index.html b/tr/v4/transition/from-v3/index.html index ec470982a..51a454150 100644 --- a/tr/v4/transition/from-v3/index.html +++ b/tr/v4/transition/from-v3/index.html @@ -71,4 +71,4 @@ publishing as a service

    Things marked internal are now removed from public api.

    -
    1
    import type { SernEmitter, CoreDependencies, Singleton } from "@sern/handler";
    2
    import type { SernEmitter, CoreDependencies } from "@sern/handler";
    3
    import type { SernLogger } from "./utils/Logger";
    4
    import type { Octokit } from "@octokit/rest";
    5
    declare global {
    6
    interface Dependencies extends CoreDependencies {
    7
    "@sern/logger": SernLogger;
    8
    "@sern/logger": Singleton<SernLogger>;
    9
    octokit: Octokit;
    10
    octokit: Singleton<Octokit>;
    11
    }
    12
    }
    13
    export {};
    \ No newline at end of file +
    1
    import type { SernEmitter, CoreDependencies, Singleton } from "@sern/handler";
    2
    import type { SernEmitter, CoreDependencies } from "@sern/handler";
    3
    import type { SernLogger } from "./utils/Logger";
    4
    import type { Octokit } from "@octokit/rest";
    5
    declare global {
    6
    interface Dependencies extends CoreDependencies {
    7
    "@sern/logger": SernLogger;
    8
    "@sern/logger": Singleton<SernLogger>;
    9
    octokit: Octokit;
    10
    octokit: Singleton<Octokit>;
    11
    }
    12
    }
    13
    export {};
    \ No newline at end of file diff --git a/v3/api/classes/context/index.html b/v3/api/classes/context/index.html index 730e04a7d..028639e2a 100644 --- a/v3/api/classes/context/index.html +++ b/v3/api/classes/context/index.html @@ -222,4 +222,4 @@ else, interaction.user

    Overrides

    CoreContext.wrap

    Source

    -

    src/core/structures/context.ts:113

    \ No newline at end of file +

    src/core/structures/context.ts:113

    \ No newline at end of file diff --git a/v3/api/classes/modulestore/index.html b/v3/api/classes/modulestore/index.html index 6f5fcef1a..811e95343 100644 --- a/v3/api/classes/modulestore/index.html +++ b/v3/api/classes/modulestore/index.html @@ -61,4 +61,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    metadata: WeakMap<Module, CommandMeta>

    Source

    -

    src/core/structures/module-store.ts:9

    \ No newline at end of file +

    src/core/structures/module-store.ts:9

    \ No newline at end of file diff --git a/v3/api/enumerations/commandtype/index.html b/v3/api/enumerations/commandtype/index.html index a4c382518..7731eae82 100644 --- a/v3/api/enumerations/commandtype/index.html +++ b/v3/api/enumerations/commandtype/index.html @@ -129,4 +129,4 @@ A bitfield that discriminates command modules

    UserSelect: 128

    Source

    -

    src/core/structures/enums.ts:26

    \ No newline at end of file +

    src/core/structures/enums.ts:26

    \ No newline at end of file diff --git a/v3/api/enumerations/eventtype/index.html b/v3/api/enumerations/eventtype/index.html index 6d5764493..b6ab08c75 100644 --- a/v3/api/enumerations/eventtype/index.html +++ b/v3/api/enumerations/eventtype/index.html @@ -68,4 +68,4 @@ Could be for example, process events, database events

    The EventType for handling sern events

    Source

    -

    src/core/structures/enums.ts:55

    \ No newline at end of file +

    src/core/structures/enums.ts:55

    \ No newline at end of file diff --git a/v3/api/enumerations/payloadtype/index.html b/v3/api/enumerations/payloadtype/index.html index c977e1230..139a50e81 100644 --- a/v3/api/enumerations/payloadtype/index.html +++ b/v3/api/enumerations/payloadtype/index.html @@ -64,4 +64,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    The PayloadType for a SernEmitter warning event

    Source

    -

    src/core/structures/enums.ts:102

    \ No newline at end of file +

    src/core/structures/enums.ts:102

    \ No newline at end of file diff --git a/v3/api/enumerations/plugintype/index.html b/v3/api/enumerations/plugintype/index.html index c9d34cda9..d369c1573 100644 --- a/v3/api/enumerations/plugintype/index.html +++ b/v3/api/enumerations/plugintype/index.html @@ -59,4 +59,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    The PluginType for InitPlugins

    Source

    -

    src/core/structures/enums.ts:81

    \ No newline at end of file +

    src/core/structures/enums.ts:81

    \ No newline at end of file diff --git a/v3/api/functions/commandcontrolplugin/index.html b/v3/api/functions/commandcontrolplugin/index.html index 6833198a0..e5dcd11ae 100644 --- a/v3/api/functions/commandcontrolplugin/index.html +++ b/v3/api/functions/commandcontrolplugin/index.html @@ -54,4 +54,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    2.5.0 @PURE

    Source

    -

    src/core/create-plugins.ts:37

    \ No newline at end of file +

    src/core/create-plugins.ts:37

    \ No newline at end of file diff --git a/v3/api/functions/commandinitplugin/index.html b/v3/api/functions/commandinitplugin/index.html index a65a649d1..81a31e555 100644 --- a/v3/api/functions/commandinitplugin/index.html +++ b/v3/api/functions/commandinitplugin/index.html @@ -54,4 +54,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    2.5.0 @PURE

    Source

    -

    src/core/create-plugins.ts:28

    \ No newline at end of file +

    src/core/create-plugins.ts:28

    \ No newline at end of file diff --git a/v3/api/functions/commandmodule/index.html b/v3/api/functions/commandmodule/index.html index 5a69006cf..298117816 100644 --- a/v3/api/functions/commandmodule/index.html +++ b/v3/api/functions/commandmodule/index.html @@ -51,4 +51,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Since

    1.0.0 The wrapper function to define command modules for sern

    Source

    -

    src/core/modules.ts:19

    \ No newline at end of file +

    src/core/modules.ts:19

    \ No newline at end of file diff --git a/v3/api/functions/discordevent/index.html b/v3/api/functions/discordevent/index.html index 28f44dab0..c899c5a4b 100644 --- a/v3/api/functions/discordevent/index.html +++ b/v3/api/functions/discordevent/index.html @@ -58,4 +58,4 @@ where typings can be very bad.

    EventModule

    Experimental

    Source

    -

    src/core/modules.ts:47

    \ No newline at end of file +

    src/core/modules.ts:47

    \ No newline at end of file diff --git a/v3/api/functions/discordeventcontrolplugin/index.html b/v3/api/functions/discordeventcontrolplugin/index.html index 91ecc21e0..a044d1be7 100644 --- a/v3/api/functions/discordeventcontrolplugin/index.html +++ b/v3/api/functions/discordeventcontrolplugin/index.html @@ -57,4 +57,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    A specialized function for creating control plugins with discord.js ClientEvents. Will probably be moved one day!

    Source

    -

    src/core/create-plugins.ts:58

    \ No newline at end of file +

    src/core/create-plugins.ts:58

    \ No newline at end of file diff --git a/v3/api/functions/eventcontrolplugin/index.html b/v3/api/functions/eventcontrolplugin/index.html index a96d5c8e7..93080fa44 100644 --- a/v3/api/functions/eventcontrolplugin/index.html +++ b/v3/api/functions/eventcontrolplugin/index.html @@ -54,4 +54,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    2.5.0 @PURE

    Source

    -

    src/core/create-plugins.ts:46

    \ No newline at end of file +

    src/core/create-plugins.ts:46

    \ No newline at end of file diff --git a/v3/api/functions/eventinitplugin/index.html b/v3/api/functions/eventinitplugin/index.html index 21b50994a..19cb493f8 100644 --- a/v3/api/functions/eventinitplugin/index.html +++ b/v3/api/functions/eventinitplugin/index.html @@ -54,4 +54,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    2.5.0 @PURE

    Source

    -

    src/core/create-plugins.ts:19

    \ No newline at end of file +

    src/core/create-plugins.ts:19

    \ No newline at end of file diff --git a/v3/api/functions/eventmodule/index.html b/v3/api/functions/eventmodule/index.html index a0cb6ab49..65410a947 100644 --- a/v3/api/functions/eventmodule/index.html +++ b/v3/api/functions/eventmodule/index.html @@ -52,4 +52,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    1.0.0 The wrapper function to define event modules for sern

    Source

    -

    src/core/modules.ts:32

    \ No newline at end of file +

    src/core/modules.ts:32

    \ No newline at end of file diff --git a/v3/api/functions/makedependencies/index.html b/v3/api/functions/makedependencies/index.html index 4441d1a03..cd20e3311 100644 --- a/v3/api/functions/makedependencies/index.html +++ b/v3/api/functions/makedependencies/index.html @@ -51,4 +51,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    Promise<<V>(…keys) => IntoDependencies<V>>

    Source

    -

    src/core/ioc/base.ts:144

    \ No newline at end of file +

    src/core/ioc/base.ts:144

    \ No newline at end of file diff --git a/v3/api/functions/makeplugin/index.html b/v3/api/functions/makeplugin/index.html index 6f7817d55..1e7c89d0d 100644 --- a/v3/api/functions/makeplugin/index.html +++ b/v3/api/functions/makeplugin/index.html @@ -52,4 +52,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    Plugin<V>

    Source

    -

    src/core/create-plugins.ts:6

    \ No newline at end of file +

    src/core/create-plugins.ts:6

    \ No newline at end of file diff --git a/v3/api/functions/service/index.html b/v3/api/functions/service/index.html index cd634fd47..a9df418d8 100644 --- a/v3/api/functions/service/index.html +++ b/v3/api/functions/service/index.html @@ -60,4 +60,4 @@ Note: this method only works AFTER your container has been initiated

    Example

    1
    const client = Service('@sern/client');

    Source

    -

    src/core/ioc/dependency-injection.ts:37

    \ No newline at end of file +

    src/core/ioc/dependency-injection.ts:37

    \ No newline at end of file diff --git a/v3/api/functions/services/index.html b/v3/api/functions/services/index.html index 9327e9db2..a80dad272 100644 --- a/v3/api/functions/services/index.html +++ b/v3/api/functions/services/index.html @@ -55,4 +55,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    3.0.0 The plural version of Service

    Source

    -

    src/core/ioc/dependency-injection.ts:47

    \ No newline at end of file +

    src/core/ioc/dependency-injection.ts:47

    \ No newline at end of file diff --git a/v3/api/functions/single/index.html b/v3/api/functions/single/index.html index 3cd2aef1d..902bd5ba9 100644 --- a/v3/api/functions/single/index.html +++ b/v3/api/functions/single/index.html @@ -57,4 +57,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    2.0.0. Creates a singleton object.

    Source

    -

    src/core/ioc/dependency-injection.ts:11

    \ No newline at end of file +

    src/core/ioc/dependency-injection.ts:11

    \ No newline at end of file diff --git a/v3/api/functions/transient/index.html b/v3/api/functions/transient/index.html index 5f11cae6c..39eda523e 100644 --- a/v3/api/functions/transient/index.html +++ b/v3/api/functions/transient/index.html @@ -59,4 +59,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    2.0.0 Creates a transient object

    Source

    -

    src/core/ioc/dependency-injection.ts:21

    \ No newline at end of file +

    src/core/ioc/dependency-injection.ts:21

    \ No newline at end of file diff --git a/v3/api/interfaces/bothcommand/index.html b/v3/api/interfaces/bothcommand/index.html index 29cffee69..830767c72 100644 --- a/v3/api/interfaces/bothcommand/index.html +++ b/v3/api/interfaces/bothcommand/index.html @@ -117,4 +117,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:124

    \ No newline at end of file +

    src/types/core-modules.ts:124

    \ No newline at end of file diff --git a/v3/api/interfaces/buttoncommand/index.html b/v3/api/interfaces/buttoncommand/index.html index 149e3f9e2..40c55c18a 100644 --- a/v3/api/interfaces/buttoncommand/index.html +++ b/v3/api/interfaces/buttoncommand/index.html @@ -102,4 +102,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:64

    \ No newline at end of file +

    src/types/core-modules.ts:64

    \ No newline at end of file diff --git a/v3/api/interfaces/channelselectcommand/index.html b/v3/api/interfaces/channelselectcommand/index.html index f98edc8b7..9f32b463b 100644 --- a/v3/api/interfaces/channelselectcommand/index.html +++ b/v3/api/interfaces/channelselectcommand/index.html @@ -102,4 +102,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:74

    \ No newline at end of file +

    src/types/core-modules.ts:74

    \ No newline at end of file diff --git a/v3/api/interfaces/commandmoduledefs/index.html b/v3/api/interfaces/commandmoduledefs/index.html index a49daf5e2..e5afcbd8e 100644 --- a/v3/api/interfaces/commandmoduledefs/index.html +++ b/v3/api/interfaces/commandmoduledefs/index.html @@ -124,4 +124,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    8: ContextMenuMsg

    Source

    -

    src/types/core-modules.ts:153

    \ No newline at end of file +

    src/types/core-modules.ts:153

    \ No newline at end of file diff --git a/v3/api/interfaces/contextmenumsg/index.html b/v3/api/interfaces/contextmenumsg/index.html index 9f185e0cd..c44a93889 100644 --- a/v3/api/interfaces/contextmenumsg/index.html +++ b/v3/api/interfaces/contextmenumsg/index.html @@ -102,4 +102,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:59

    \ No newline at end of file +

    src/types/core-modules.ts:59

    \ No newline at end of file diff --git a/v3/api/interfaces/contextmenuuser/index.html b/v3/api/interfaces/contextmenuuser/index.html index 1685284e4..ba04fcde2 100644 --- a/v3/api/interfaces/contextmenuuser/index.html +++ b/v3/api/interfaces/contextmenuuser/index.html @@ -102,4 +102,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:54

    \ No newline at end of file +

    src/types/core-modules.ts:54

    \ No newline at end of file diff --git a/v3/api/interfaces/controller/index.html b/v3/api/interfaces/controller/index.html index fd440a6d3..f821df7cd 100644 --- a/v3/api/interfaces/controller/index.html +++ b/v3/api/interfaces/controller/index.html @@ -58,4 +58,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    Err<void>

    Source

    -

    src/types/core-plugin.ts:60

    \ No newline at end of file +

    src/types/core-plugin.ts:60

    \ No newline at end of file diff --git a/v3/api/interfaces/controlplugin/index.html b/v3/api/interfaces/controlplugin/index.html index 8229aeae2..e3385ef9c 100644 --- a/v3/api/interfaces/controlplugin/index.html +++ b/v3/api/interfaces/controlplugin/index.html @@ -60,4 +60,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    type: Control

    Source

    -

    src/types/core-plugin.ts:72

    \ No newline at end of file +

    src/types/core-plugin.ts:72

    \ No newline at end of file diff --git a/v3/api/interfaces/coredependencies/index.html b/v3/api/interfaces/coredependencies/index.html index fb7ff7c38..70c45e065 100644 --- a/v3/api/interfaces/coredependencies/index.html +++ b/v3/api/interfaces/coredependencies/index.html @@ -95,4 +95,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    CoreModuleStore

    Source

    -

    src/types/ioc.ts:34

    \ No newline at end of file +

    src/types/ioc.ts:34

    \ No newline at end of file diff --git a/v3/api/interfaces/coremodulestore/index.html b/v3/api/interfaces/coremodulestore/index.html index 7781f3cd7..2aeba4098 100644 --- a/v3/api/interfaces/coremodulestore/index.html +++ b/v3/api/interfaces/coremodulestore/index.html @@ -55,4 +55,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    metadata: WeakMap<Module, CommandMeta>

    Source

    -

    src/core/contracts/module-store.ts:8

    \ No newline at end of file +

    src/core/contracts/module-store.ts:8

    \ No newline at end of file diff --git a/v3/api/interfaces/discordeventcommand/index.html b/v3/api/interfaces/discordeventcommand/index.html index f6013bbd2..4252bde6b 100644 --- a/v3/api/interfaces/discordeventcommand/index.html +++ b/v3/api/interfaces/discordeventcommand/index.html @@ -104,4 +104,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:108

    \ No newline at end of file +

    src/types/core-modules.ts:108

    \ No newline at end of file diff --git a/v3/api/interfaces/disposable/index.html b/v3/api/interfaces/disposable/index.html index e103554bf..d329aeec2 100644 --- a/v3/api/interfaces/disposable/index.html +++ b/v3/api/interfaces/disposable/index.html @@ -51,4 +51,4 @@ Let dependencies implement this to dispose and cleanup.

    Returns

    unknown

    Source

    -

    src/core/contracts/hooks.ts:15

    \ No newline at end of file +

    src/core/contracts/hooks.ts:15

    \ No newline at end of file diff --git a/v3/api/interfaces/emitter/index.html b/v3/api/interfaces/emitter/index.html index 5d0d29474..2b55360fe 100644 --- a/v3/api/interfaces/emitter/index.html +++ b/v3/api/interfaces/emitter/index.html @@ -76,4 +76,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    this

    Source

    -

    src/core/contracts/emitter.ts:7

    \ No newline at end of file +

    src/core/contracts/emitter.ts:7

    \ No newline at end of file diff --git a/v3/api/interfaces/errorhandling/index.html b/v3/api/interfaces/errorhandling/index.html index 86cf60e5c..65a62d2bb 100644 --- a/v3/api/interfaces/errorhandling/index.html +++ b/v3/api/interfaces/errorhandling/index.html @@ -66,4 +66,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    void

    Source

    -

    src/core/contracts/error-handling.ts:14

    \ No newline at end of file +

    src/core/contracts/error-handling.ts:14

    \ No newline at end of file diff --git a/v3/api/interfaces/eventmoduledefs/index.html b/v3/api/interfaces/eventmoduledefs/index.html index 295187f60..c134da31d 100644 --- a/v3/api/interfaces/eventmoduledefs/index.html +++ b/v3/api/interfaces/eventmoduledefs/index.html @@ -61,4 +61,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    3: ExternalEventCommand

    Source

    -

    src/types/core-modules.ts:167

    \ No newline at end of file +

    src/types/core-modules.ts:167

    \ No newline at end of file diff --git a/v3/api/interfaces/externaleventcommand/index.html b/v3/api/interfaces/externaleventcommand/index.html index 06acc0cea..43616cb54 100644 --- a/v3/api/interfaces/externaleventcommand/index.html +++ b/v3/api/interfaces/externaleventcommand/index.html @@ -109,4 +109,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:50

    \ No newline at end of file +

    src/types/core-modules.ts:50

    \ No newline at end of file diff --git a/v3/api/interfaces/init/index.html b/v3/api/interfaces/init/index.html index 6b95381af..8226aa11e 100644 --- a/v3/api/interfaces/init/index.html +++ b/v3/api/interfaces/init/index.html @@ -51,4 +51,4 @@ Let dependencies implement this to initiate some logic.

    Returns

    unknown

    Source

    -

    src/core/contracts/hooks.ts:7

    \ No newline at end of file +

    src/core/contracts/hooks.ts:7

    \ No newline at end of file diff --git a/v3/api/interfaces/initplugin/index.html b/v3/api/interfaces/initplugin/index.html index 8f158801a..772a8e0dd 100644 --- a/v3/api/interfaces/initplugin/index.html +++ b/v3/api/interfaces/initplugin/index.html @@ -60,4 +60,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    type: Init

    Source

    -

    src/types/core-plugin.ts:68

    \ No newline at end of file +

    src/types/core-plugin.ts:68

    \ No newline at end of file diff --git a/v3/api/interfaces/logging/index.html b/v3/api/interfaces/logging/index.html index 374438be2..14a271930 100644 --- a/v3/api/interfaces/logging/index.html +++ b/v3/api/interfaces/logging/index.html @@ -88,4 +88,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    void

    Source

    -

    src/core/contracts/logging.ts:6

    \ No newline at end of file +

    src/core/contracts/logging.ts:6

    \ No newline at end of file diff --git a/v3/api/interfaces/mentionableselectcommand/index.html b/v3/api/interfaces/mentionableselectcommand/index.html index 7dd1ef303..b6887976b 100644 --- a/v3/api/interfaces/mentionableselectcommand/index.html +++ b/v3/api/interfaces/mentionableselectcommand/index.html @@ -102,4 +102,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:84

    \ No newline at end of file +

    src/types/core-modules.ts:84

    \ No newline at end of file diff --git a/v3/api/interfaces/modalsubmitcommand/index.html b/v3/api/interfaces/modalsubmitcommand/index.html index 3de491686..ddcf78857 100644 --- a/v3/api/interfaces/modalsubmitcommand/index.html +++ b/v3/api/interfaces/modalsubmitcommand/index.html @@ -102,4 +102,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:94

    \ No newline at end of file +

    src/types/core-modules.ts:94

    \ No newline at end of file diff --git a/v3/api/interfaces/plugin/index.html b/v3/api/interfaces/plugin/index.html index 3bd637558..4cec7ce9d 100644 --- a/v3/api/interfaces/plugin/index.html +++ b/v3/api/interfaces/plugin/index.html @@ -60,4 +60,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    type: PluginType

    Source

    -

    src/types/core-plugin.ts:63

    \ No newline at end of file +

    src/types/core-plugin.ts:63

    \ No newline at end of file diff --git a/v3/api/interfaces/roleselectcommand/index.html b/v3/api/interfaces/roleselectcommand/index.html index 16a17c30a..b8be46807 100644 --- a/v3/api/interfaces/roleselectcommand/index.html +++ b/v3/api/interfaces/roleselectcommand/index.html @@ -102,4 +102,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:79

    \ No newline at end of file +

    src/types/core-modules.ts:79

    \ No newline at end of file diff --git a/v3/api/interfaces/sernautocompletedata/index.html b/v3/api/interfaces/sernautocompletedata/index.html index c4eb61425..7bb95c41f 100644 --- a/v3/api/interfaces/sernautocompletedata/index.html +++ b/v3/api/interfaces/sernautocompletedata/index.html @@ -110,4 +110,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    type: String | Integer | Number

    Source

    -

    src/types/core-modules.ts:173

    \ No newline at end of file +

    src/types/core-modules.ts:173

    \ No newline at end of file diff --git a/v3/api/interfaces/serneventcommand/index.html b/v3/api/interfaces/serneventcommand/index.html index d235c6dfd..1f56cf93e 100644 --- a/v3/api/interfaces/serneventcommand/index.html +++ b/v3/api/interfaces/serneventcommand/index.html @@ -104,4 +104,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:44

    \ No newline at end of file +

    src/types/core-modules.ts:44

    \ No newline at end of file diff --git a/v3/api/interfaces/serneventsmapping/index.html b/v3/api/interfaces/serneventsmapping/index.html index 0846b7b18..c6076d395 100644 --- a/v3/api/interfaces/serneventsmapping/index.html +++ b/v3/api/interfaces/serneventsmapping/index.html @@ -75,4 +75,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    warning: [Payload]

    Source

    -

    src/types/utility.ts:22

    \ No newline at end of file +

    src/types/utility.ts:22

    \ No newline at end of file diff --git a/v3/api/interfaces/sernsubcommanddata/index.html b/v3/api/interfaces/sernsubcommanddata/index.html index 84adcf505..8a811525f 100644 --- a/v3/api/interfaces/sernsubcommanddata/index.html +++ b/v3/api/interfaces/sernsubcommanddata/index.html @@ -105,4 +105,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    APIApplicationCommandOptionBase.type

    Source

    -

    src/types/core-modules.ts:208

    \ No newline at end of file +

    src/types/core-modules.ts:208

    \ No newline at end of file diff --git a/v3/api/interfaces/sernsubcommandgroupdata/index.html b/v3/api/interfaces/sernsubcommandgroupdata/index.html index 0a1d2ce52..7a6bb0686 100644 --- a/v3/api/interfaces/sernsubcommandgroupdata/index.html +++ b/v3/api/interfaces/sernsubcommandgroupdata/index.html @@ -112,4 +112,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    type: SubcommandGroup

    Source

    -

    src/types/core-modules.ts:213

    \ No newline at end of file +

    src/types/core-modules.ts:213

    \ No newline at end of file diff --git a/v3/api/interfaces/slashcommand/index.html b/v3/api/interfaces/slashcommand/index.html index bc47bc5a9..c520f2409 100644 --- a/v3/api/interfaces/slashcommand/index.html +++ b/v3/api/interfaces/slashcommand/index.html @@ -110,4 +110,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:117

    \ No newline at end of file +

    src/types/core-modules.ts:117

    \ No newline at end of file diff --git a/v3/api/interfaces/stringselectcommand/index.html b/v3/api/interfaces/stringselectcommand/index.html index f55b87935..b972f4c44 100644 --- a/v3/api/interfaces/stringselectcommand/index.html +++ b/v3/api/interfaces/stringselectcommand/index.html @@ -102,4 +102,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:69

    \ No newline at end of file +

    src/types/core-modules.ts:69

    \ No newline at end of file diff --git a/v3/api/interfaces/textcommand/index.html b/v3/api/interfaces/textcommand/index.html index edb1dbb05..e285b8a16 100644 --- a/v3/api/interfaces/textcommand/index.html +++ b/v3/api/interfaces/textcommand/index.html @@ -110,4 +110,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:111

    \ No newline at end of file +

    src/types/core-modules.ts:111

    \ No newline at end of file diff --git a/v3/api/interfaces/userselectcommand/index.html b/v3/api/interfaces/userselectcommand/index.html index 4c5a4733c..fe87c9307 100644 --- a/v3/api/interfaces/userselectcommand/index.html +++ b/v3/api/interfaces/userselectcommand/index.html @@ -102,4 +102,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:89

    \ No newline at end of file +

    src/types/core-modules.ts:89

    \ No newline at end of file diff --git a/v3/api/interfaces/wrapper/index.html b/v3/api/interfaces/wrapper/index.html index abee80198..498d0de84 100644 --- a/v3/api/interfaces/wrapper/index.html +++ b/v3/api/interfaces/wrapper/index.html @@ -87,4 +87,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
  • https://github.com/sern-handler/handler/pull/325
  • Source

    -

    src/types/core.ts:16

    \ No newline at end of file +

    src/types/core.ts:16

    \ No newline at end of file diff --git a/v3/api/namespaces/presence/functions/module/index.html b/v3/api/namespaces/presence/functions/module/index.html index 824463c05..f8a9b81ae 100644 --- a/v3/api/namespaces/presence/functions/module/index.html +++ b/v3/api/namespaces/presence/functions/module/index.html @@ -54,4 +54,4 @@ adjacent to the file where Sern.init is CALLED.

    Returns

    Config<T>

    Source

    -

    src/core/presences.ts:28

    \ No newline at end of file +

    src/core/presences.ts:28

    \ No newline at end of file diff --git a/v3/api/namespaces/presence/functions/of/index.html b/v3/api/namespaces/presence/functions/of/index.html index f3bdbe6c1..6d91b459e 100644 --- a/v3/api/namespaces/presence/functions/of/index.html +++ b/v3/api/namespaces/presence/functions/of/index.html @@ -97,4 +97,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    optional status: Status

    Source

    -

    src/core/presences.ts:37

    \ No newline at end of file +

    src/core/presences.ts:37

    \ No newline at end of file diff --git a/v3/api/namespaces/presence/interfaces/result/index.html b/v3/api/namespaces/presence/interfaces/result/index.html index d5b83856e..9e9e132f5 100644 --- a/v3/api/namespaces/presence/interfaces/result/index.html +++ b/v3/api/namespaces/presence/interfaces/result/index.html @@ -86,4 +86,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    optional status: Status

    Source

    -

    src/core/presences.ts:9

    \ No newline at end of file +

    src/core/presences.ts:9

    \ No newline at end of file diff --git a/v3/api/namespaces/presence/type-aliases/config/index.html b/v3/api/namespaces/presence/type-aliases/config/index.html index 4c6b2f404..ab21df842 100644 --- a/v3/api/namespaces/presence/type-aliases/config/index.html +++ b/v3/api/namespaces/presence/type-aliases/config/index.html @@ -60,4 +60,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    optional inject: [...T]

    Source

    -

    src/core/presences.ts:17

    \ No newline at end of file +

    src/core/presences.ts:17

    \ No newline at end of file diff --git a/v3/api/namespaces/sern/functions/init/index.html b/v3/api/namespaces/sern/functions/init/index.html index 0d1f09c1c..d3d12fd4c 100644 --- a/v3/api/namespaces/sern/functions/init/index.html +++ b/v3/api/namespaces/sern/functions/init/index.html @@ -53,4 +53,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Example

    src/index.ts
    1
    Sern.init({
    2
    commands: 'dist/commands',
    3
    events: 'dist/events',
    4
    })

    Source

    -

    src/sern.ts:26

    \ No newline at end of file +

    src/sern.ts:26

    \ No newline at end of file diff --git a/v3/api/readme/index.html b/v3/api/readme/index.html index f0b8d547a..702085254 100644 --- a/v3/api/readme/index.html +++ b/v3/api/readme/index.html @@ -130,4 +130,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
  • makePlugin
  • single
  • transient
  • - \ No newline at end of file + \ No newline at end of file diff --git a/v3/api/type-aliases/anycommandplugin/index.html b/v3/api/type-aliases/anycommandplugin/index.html index eb047d2bf..c354728da 100644 --- a/v3/api/type-aliases/anycommandplugin/index.html +++ b/v3/api/type-aliases/anycommandplugin/index.html @@ -45,4 +45,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    AnyCommandPlugin: ControlPlugin | InitPlugin<[InitArgs<Processed<CommandModule>>]>

    Source

    -

    src/types/core-plugin.ts:76

    \ No newline at end of file +

    src/types/core-plugin.ts:76

    \ No newline at end of file diff --git a/v3/api/type-aliases/anyeventplugin/index.html b/v3/api/type-aliases/anyeventplugin/index.html index 9bbc0227f..09b54bdab 100644 --- a/v3/api/type-aliases/anyeventplugin/index.html +++ b/v3/api/type-aliases/anyeventplugin/index.html @@ -45,4 +45,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    AnyEventPlugin: ControlPlugin | InitPlugin<[InitArgs<Processed<EventModule>>]>

    Source

    -

    src/types/core-plugin.ts:77

    \ No newline at end of file +

    src/types/core-plugin.ts:77

    \ No newline at end of file diff --git a/v3/api/type-aliases/args/index.html b/v3/api/type-aliases/args/index.html index f68a4d81f..30c6c14ff 100644 --- a/v3/api/type-aliases/args/index.html +++ b/v3/api/type-aliases/args/index.html @@ -54,4 +54,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    text: string[]

    Source

    -

    src/types/utility.ts:16

    \ No newline at end of file +

    src/types/utility.ts:16

    \ No newline at end of file diff --git a/v3/api/type-aliases/commandmodule/index.html b/v3/api/type-aliases/commandmodule/index.html index f23a08ec0..ebf6a14c2 100644 --- a/v3/api/type-aliases/commandmodule/index.html +++ b/v3/api/type-aliases/commandmodule/index.html @@ -45,4 +45,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    CommandModule: TextCommand | SlashCommand | BothCommand | ContextMenuUser | ContextMenuMsg | ButtonCommand | StringSelectCommand | MentionableSelectCommand | UserSelectCommand | ChannelSelectCommand | RoleSelectCommand | ModalSubmitCommand

    Source

    -

    src/types/core-modules.ts:132

    \ No newline at end of file +

    src/types/core-modules.ts:132

    \ No newline at end of file diff --git a/v3/api/type-aliases/eventmodule/index.html b/v3/api/type-aliases/eventmodule/index.html index 7e11e8fd8..145be93ce 100644 --- a/v3/api/type-aliases/eventmodule/index.html +++ b/v3/api/type-aliases/eventmodule/index.html @@ -45,4 +45,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    EventModule: DiscordEventCommand | SernEventCommand | ExternalEventCommand

    Source

    -

    src/types/core-modules.ts:131

    \ No newline at end of file +

    src/types/core-modules.ts:131

    \ No newline at end of file diff --git a/v3/api/type-aliases/initializable/index.html b/v3/api/type-aliases/initializable/index.html index 270532621..43515721e 100644 --- a/v3/api/type-aliases/initializable/index.html +++ b/v3/api/type-aliases/initializable/index.html @@ -49,4 +49,4 @@ If T has an init method, this will be called.

    Type parameters

    T extends Init

    Source

    -

    src/types/ioc.ts:17

    \ No newline at end of file +

    src/types/ioc.ts:17

    \ No newline at end of file diff --git a/v3/api/type-aliases/logpayload/index.html b/v3/api/type-aliases/logpayload/index.html index 695b733d9..899c5f5b7 100644 --- a/v3/api/type-aliases/logpayload/index.html +++ b/v3/api/type-aliases/logpayload/index.html @@ -52,4 +52,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    message: T

    Source

    -

    src/core/contracts/logging.ts:11

    \ No newline at end of file +

    src/core/contracts/logging.ts:11

    \ No newline at end of file diff --git a/v3/api/type-aliases/payload/index.html b/v3/api/type-aliases/payload/index.html index f642c7796..d922a59cc 100644 --- a/v3/api/type-aliases/payload/index.html +++ b/v3/api/type-aliases/payload/index.html @@ -45,4 +45,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Payload: object | object | object

    Source

    -

    src/types/utility.ts:26

    \ No newline at end of file +

    src/types/utility.ts:26

    \ No newline at end of file diff --git a/v3/api/type-aliases/pluginresult/index.html b/v3/api/type-aliases/pluginresult/index.html index da66a5c05..bcf37547a 100644 --- a/v3/api/type-aliases/pluginresult/index.html +++ b/v3/api/type-aliases/pluginresult/index.html @@ -45,4 +45,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    PluginResult: Awaitable<VoidResult>

    Source

    -

    src/types/core-plugin.ts:51

    \ No newline at end of file +

    src/types/core-plugin.ts:51

    \ No newline at end of file diff --git a/v3/api/type-aliases/sernoptionsdata/index.html b/v3/api/type-aliases/sernoptionsdata/index.html index e7ff90dec..9757f2997 100644 --- a/v3/api/type-aliases/sernoptionsdata/index.html +++ b/v3/api/type-aliases/sernoptionsdata/index.html @@ -46,4 +46,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Type that replaces autocomplete with SernAutocompleteData

    Source

    -

    src/types/core-modules.ts:200

    \ No newline at end of file +

    src/types/core-modules.ts:200

    \ No newline at end of file diff --git a/v3/api/type-aliases/singleton/index.html b/v3/api/type-aliases/singleton/index.html index 8821104c7..7ce4101ac 100644 --- a/v3/api/type-aliases/singleton/index.html +++ b/v3/api/type-aliases/singleton/index.html @@ -51,4 +51,4 @@ T is created once and lazily.

    Returns

    T

    Source

    -

    src/types/ioc.ts:7

    \ No newline at end of file +

    src/types/ioc.ts:7

    \ No newline at end of file diff --git a/v3/api/type-aliases/slashoptions/index.html b/v3/api/type-aliases/slashoptions/index.html index 528a577fa..2ee5005bd 100644 --- a/v3/api/type-aliases/slashoptions/index.html +++ b/v3/api/type-aliases/slashoptions/index.html @@ -45,4 +45,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    SlashOptions: Omit<CommandInteractionOptionResolver, "getMessage" | "getFocused">

    Source

    -

    src/types/utility.ts:14

    \ No newline at end of file +

    src/types/utility.ts:14

    \ No newline at end of file diff --git a/v3/api/type-aliases/transient/index.html b/v3/api/type-aliases/transient/index.html index ae31ee2ca..30b269340 100644 --- a/v3/api/type-aliases/transient/index.html +++ b/v3/api/type-aliases/transient/index.html @@ -53,4 +53,4 @@ Every time this is called, a new object is created

    Returns

    T

    Source

    -

    src/types/ioc.ts:12

    \ No newline at end of file +

    src/types/ioc.ts:12

    \ No newline at end of file diff --git a/v3/api/variables/controller/index.html b/v3/api/variables/controller/index.html index 595fa6671..137175cd0 100644 --- a/v3/api/variables/controller/index.html +++ b/v3/api/variables/controller/index.html @@ -61,4 +61,4 @@ The object passed into every plugin to control a command’s behavior

    Returns

    ErrImpl<void>

    Source

    -

    src/core/create-plugins.ts:69

    \ No newline at end of file +

    src/core/create-plugins.ts:69

    \ No newline at end of file diff --git a/v3/cli/about/index.html b/v3/cli/about/index.html index e1cda3a03..db8a14887 100644 --- a/v3/cli/about/index.html +++ b/v3/cli/about/index.html @@ -50,4 +50,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
    If you're new to sern, run npm create @sern/bot for an interactive setup to your new bot project!
    If you have any ideas, suggestions, bug reports, kindly join our support server: https://sern.dev/discord
    Options:
    -v, --version output the version number
    -h, --help display help for command
    -
    Commands:
    init [options] Quickest way to scaffold a new project [DEPRECATED]
    plugins [options] Install plugins from https://github.com/sern-handler/awesome-plugins
    extra Easy way to add extra things in your sern project
    commands Defacto way to manage your slash commands
    help [command] display help for command
    \ No newline at end of file +
    Commands:
    init [options] Quickest way to scaffold a new project [DEPRECATED]
    plugins [options] Install plugins from https://github.com/sern-handler/awesome-plugins
    extra Easy way to add extra things in your sern project
    commands Defacto way to manage your slash commands
    help [command] display help for command
    \ No newline at end of file diff --git a/v3/cli/build/index.html b/v3/cli/build/index.html index 7a78acc87..5b291822b 100644 --- a/v3/cli/build/index.html +++ b/v3/cli/build/index.html @@ -113,4 +113,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Full esbuild documentation here. Add more to the define field in build options (only availible with a sern.build file at the moment)

    process.env

    We generate your process.env with dotenv and generate typings for process.env. Less hassle!

    -
    DISCORD_TOKEN=<your token>
    1
    process.env.DISCORD_TOKEN; // string | undefined (not typesafe :()
    \ No newline at end of file +
    DISCORD_TOKEN=<your token>
    1
    process.env.DISCORD_TOKEN; // string | undefined (not typesafe :()
    \ No newline at end of file diff --git a/v3/cli/clear/index.html b/v3/cli/clear/index.html index e32f98584..95ef7c5d3 100644 --- a/v3/cli/clear/index.html +++ b/v3/cli/clear/index.html @@ -55,4 +55,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem; \ No newline at end of file + \ No newline at end of file diff --git a/v3/cli/extra/index.html b/v3/cli/extra/index.html index cd868d92e..cfdc3c8c7 100644 --- a/v3/cli/extra/index.html +++ b/v3/cli/extra/index.html @@ -48,4 +48,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    This command is pretty straightfoward. Install utilities into your application, assuming you have a sern.config.json.

    You can use this command to install things such as a Dockerfile

    Usage

    -
    Terminal window
    sern extra
    # Choose which extra feature from the prompt, such as this:
    What extra feature do you want to add? Dockerfile (TypeScript)
    \ No newline at end of file +
    Terminal window
    sern extra
    # Choose which extra feature from the prompt, such as this:
    What extra feature do you want to add? Dockerfile (TypeScript)
    \ No newline at end of file diff --git a/v3/cli/publish/index.html b/v3/cli/publish/index.html index 027bbf48e..334dd5b38 100644 --- a/v3/cli/publish/index.html +++ b/v3/cli/publish/index.html @@ -88,4 +88,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
    src/commands/ping.ts
    1
    import { commandModule, Service, CommandType } from '@sern/handler'
    2
    3
    const client = Service('@sern/client');
    4
    5
    export const config = {
    6
    guildIds: ["889026545715400705"]
    7
    }
    8
    -
    9
    export default commandModule( {
    10
    type: CommandType.Slash
    11
    description: `${client.user.username}'s ping`,
    12
    execute: (ctx) => {
    13
    ctx.reply('pong')
    14
    }
    15
    })
    \ No newline at end of file +
    9
    export default commandModule( {
    10
    type: CommandType.Slash
    11
    description: `${client.user.username}'s ping`,
    12
    execute: (ctx) => {
    13
    ctx.reply('pong')
    14
    }
    15
    })
    \ No newline at end of file diff --git a/v3/guide/getting-started/choose-ide/index.html b/v3/guide/getting-started/choose-ide/index.html index 1ed3f4509..8551d33f0 100644 --- a/v3/guide/getting-started/choose-ide/index.html +++ b/v3/guide/getting-started/choose-ide/index.html @@ -51,4 +51,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
  • Sublime Text
  • NotePad++
  • nvim (chad)
  • - \ No newline at end of file + \ No newline at end of file diff --git a/v3/guide/getting-started/preparing/index.html b/v3/guide/getting-started/preparing/index.html index 55d90a9f3..2ff86b8a4 100644 --- a/v3/guide/getting-started/preparing/index.html +++ b/v3/guide/getting-started/preparing/index.html @@ -44,4 +44,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Preparing to Code

    After installing an IDE, you need to install node. Node is necessary to use sern, as it’s based on Discord.js.

    You can download Node from the official website here.

    After you’ve downloaded Node you will need a Discord token

    -

    CONTINUE 🤓

    \ No newline at end of file +

    CONTINUE 🤓

    \ No newline at end of file diff --git a/v3/guide/walkthrough/autocomplete/index.html b/v3/guide/walkthrough/autocomplete/index.html index 74b1aa70d..206f35c33 100644 --- a/v3/guide/walkthrough/autocomplete/index.html +++ b/v3/guide/walkthrough/autocomplete/index.html @@ -51,4 +51,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    We can filter the cheeses based on the focus object, and return only the cheeses that start with the focus object.

    You can do a lot more with the focus object, such as performing API calls, or implementing a fuzzy search.

    src/commands/cheese.ts
    1
    export default commandModule({
    2
    type: CommandType.Slash,
    3
    description: "show me cheese",
    4
    options: [
    5
    {
    6
    name: "list",
    7
    type: ApplicationCommandOptionType.String,
    8
    description: "pick a cheese to show",
    9
    required: true,
    10
    autocomplete: true,
    11
    command: {
    12
    onEvent: [],
    13
    execute: (ctx) => {
    14
    const focus = ctx.options.getFocused();
    15
    ctx.respond(
    16
    ["gouda", "parmesan", "harvarti"]
    17
    .filter((cheese) => cheese.startsWith(focus))
    18
    .map((cheese) => ({
    19
    name: cheese,
    20
    value: cheese,
    21
    })),
    22
    );
    23
    },
    24
    },
    25
    },
    26
    ],
    27
    execute: (ctx, [, args]) => {
    28
    const cheese = args.getString("list", true);
    29
    ctx.reply("selected cheese");
    30
    },
    31
    });
    - \ No newline at end of file + \ No newline at end of file diff --git a/v3/guide/walkthrough/cli/index.html b/v3/guide/walkthrough/cli/index.html index 6ad1c7b33..ff1f8f423 100644 --- a/v3/guide/walkthrough/cli/index.html +++ b/v3/guide/walkthrough/cli/index.html @@ -56,4 +56,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Extra Utilities

    To install extra utilities into your project, run:

    Terminal window
    sern extra
    -

    We have a more in depth guide on the CLI if you’re interested in learning more.

    \ No newline at end of file +

    We have a more in depth guide on the CLI if you’re interested in learning more.

    \ No newline at end of file diff --git a/v3/guide/walkthrough/conclusion/index.html b/v3/guide/walkthrough/conclusion/index.html index 7786176bb..ee19b25b4 100644 --- a/v3/guide/walkthrough/conclusion/index.html +++ b/v3/guide/walkthrough/conclusion/index.html @@ -44,4 +44,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Conclusion

    If you reached this far, thank you for reading!

    We hope you have learned the necessities you need to create a bot with the sern framework.

    If you have any other questions, bugs, feature requests, concerns, please join our community server, and we’ll be glad to answer your questions!

    -

    paper logo

    \ No newline at end of file +

    paper logo

    \ No newline at end of file diff --git a/v3/guide/walkthrough/dependency-injection/index.html b/v3/guide/walkthrough/dependency-injection/index.html index ae0565b4d..83460cfed 100644 --- a/v3/guide/walkthrough/dependency-injection/index.html +++ b/v3/guide/walkthrough/dependency-injection/index.html @@ -87,4 +87,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
  • Now, when your bot starts, the init method will be called. 🎉

  • - \ No newline at end of file + \ No newline at end of file diff --git a/v3/guide/walkthrough/first-command/index.html b/v3/guide/walkthrough/first-command/index.html index ef00b2742..94d174667 100644 --- a/v3/guide/walkthrough/first-command/index.html +++ b/v3/guide/walkthrough/first-command/index.html @@ -71,4 +71,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
  • CommandType.Slash
  • CommandType.Text
  • -

    This data structure helps interop between legacy commands and slash commands with ease.

    \ No newline at end of file +

    This data structure helps interop between legacy commands and slash commands with ease.

    \ No newline at end of file diff --git a/v3/guide/walkthrough/first-event/index.html b/v3/guide/walkthrough/first-event/index.html index 860464e24..0c52d4675 100644 --- a/v3/guide/walkthrough/first-event/index.html +++ b/v3/guide/walkthrough/first-event/index.html @@ -53,4 +53,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
    src/index.ts
    1
    await makeDependencies({
    2
    build: root => root.add({
    3
    eventlistener: single(() => new EventEmitter())
    4
    })
    5
    })

    In your event module, you can now listen to events from eventlistener, which will be emitted from the EventEmitter.

    src/events/myevent.ts
    1
    export default eventModule({
    2
    type: EventType.External,
    3
    emitter: 'eventlistener',
    4
    execute: (args) => {
    5
    console.log('Got event from eventlistener: ', args);
    6
    }
    7
    })
    - \ No newline at end of file + \ No newline at end of file diff --git a/v3/guide/walkthrough/goal/index.html b/v3/guide/walkthrough/goal/index.html index 0d676f880..3a5bc90f2 100644 --- a/v3/guide/walkthrough/goal/index.html +++ b/v3/guide/walkthrough/goal/index.html @@ -54,4 +54,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
    4
    export class PingCommand extends Command {
    5
    public constructor(context: Command.Context) {
    6
    super(context, {
    7
    description: "Pong!",
    8
    chatInputCommand: {
    9
    register: true,
    10
    },
    11
    });
    12
    }
    13
    public async chatInputRun(interaction: CommandInteraction) {
    14
    await interaction.reply("Pong!");
    15
    }
    16
    }

    Keep in mind the sern example acts as both a slash command AND a text command. The Sapphire example is only a slash command, and it’s more code than sern.

    -

    Be smart. Choose sern.

    \ No newline at end of file +

    Be smart. Choose sern.

    \ No newline at end of file diff --git a/v3/guide/walkthrough/good-to-know/index.html b/v3/guide/walkthrough/good-to-know/index.html index 3c0bc9f5e..f7a1c48e4 100644 --- a/v3/guide/walkthrough/good-to-know/index.html +++ b/v3/guide/walkthrough/good-to-know/index.html @@ -46,4 +46,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    For example, when installing TypeScript plugins, the language property is necessary to install from our open source repository.

    Using the CLI and running sern init --sync on pre-existing projects should install this file in the your project.

    Or, if this is a brand-new project, sern init automatically installs it.

    -
    sern.config.json
    1
    {
    2
    "language": "typescript",
    3
    "paths": {
    4
    "base": "src",
    5
    "commands": "commands"
    6
    }
    7
    }
    \ No newline at end of file +
    sern.config.json
    1
    {
    2
    "language": "typescript",
    3
    "paths": {
    4
    "base": "src",
    5
    "commands": "commands"
    6
    }
    7
    }
    \ No newline at end of file diff --git a/v3/guide/walkthrough/new-project/index.html b/v3/guide/walkthrough/new-project/index.html index 811067a31..e4b600bf6 100644 --- a/v3/guide/walkthrough/new-project/index.html +++ b/v3/guide/walkthrough/new-project/index.html @@ -43,4 +43,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem; StarlightThemeProvider.updatePickers();

    New Project

    Terminal window
    npm create @sern/bot

    Once you’ve used this command, follow the interactive prompts to create your new project.

    -

    If you need help, feel free to ask on our Discord.

    \ No newline at end of file +

    If you need help, feel free to ask on our Discord.

    \ No newline at end of file diff --git a/v3/guide/walkthrough/plugins/index.html b/v3/guide/walkthrough/plugins/index.html index e5d39d755..50682bd7c 100644 --- a/v3/guide/walkthrough/plugins/index.html +++ b/v3/guide/walkthrough/plugins/index.html @@ -81,4 +81,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
  • Before an event occurs, this command module will check if the user has the id 182326315813306368.
  • If all plugins return controller.next(), this command replies Pong 🏓
  • - \ No newline at end of file + \ No newline at end of file diff --git a/v3/guide/walkthrough/sern-emitter/index.html b/v3/guide/walkthrough/sern-emitter/index.html index 56d86cc16..552e2d81b 100644 --- a/v3/guide/walkthrough/sern-emitter/index.html +++ b/v3/guide/walkthrough/sern-emitter/index.html @@ -51,4 +51,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
  • warn events, where it is possible to throw errors
  • You can put these and other event listeners into event modules!

    -

    You can view all events in the SernEventsMapping interface.

    \ No newline at end of file +

    You can view all events in the SernEventsMapping interface.

    \ No newline at end of file diff --git a/v3/guide/walkthrough/services/index.html b/v3/guide/walkthrough/services/index.html index 5f9cb0920..970308999 100644 --- a/v3/guide/walkthrough/services/index.html +++ b/v3/guide/walkthrough/services/index.html @@ -83,4 +83,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem; \ No newline at end of file + \ No newline at end of file diff --git a/v3/guide/walkthrough/transition/index.html b/v3/guide/walkthrough/transition/index.html index 4df1a9b08..0ff609e83 100644 --- a/v3/guide/walkthrough/transition/index.html +++ b/v3/guide/walkthrough/transition/index.html @@ -47,4 +47,4 @@ include a dependencies.d.ts file into compilation. (Chec

    A standard project file tree:

    \ No newline at end of file +
  • .env
  • .gitignore
  • bun.lockb
  • package.json
  • README.md
  • sern.config.json
  • tsconfig.json
  • \ No newline at end of file diff --git a/v4/api/classes/context/index.html b/v4/api/classes/context/index.html index f63cfcd6f..8f5102bdf 100644 --- a/v4/api/classes/context/index.html +++ b/v4/api/classes/context/index.html @@ -222,4 +222,4 @@ else, interaction.user

    Returns

    Context

    Source

    -

    src/core/structures/context.ts:124

    \ No newline at end of file +

    src/core/structures/context.ts:124

    \ No newline at end of file diff --git a/v4/api/enumerations/commandtype/index.html b/v4/api/enumerations/commandtype/index.html index a86aece85..206e27d6f 100644 --- a/v4/api/enumerations/commandtype/index.html +++ b/v4/api/enumerations/commandtype/index.html @@ -129,4 +129,4 @@ A bitfield that discriminates command modules

    UserSelect: 128

    Source

    -

    src/core/structures/enums.ts:26

    \ No newline at end of file +

    src/core/structures/enums.ts:26

    \ No newline at end of file diff --git a/v4/api/enumerations/eventtype/index.html b/v4/api/enumerations/eventtype/index.html index e85851c20..fa69b98dc 100644 --- a/v4/api/enumerations/eventtype/index.html +++ b/v4/api/enumerations/eventtype/index.html @@ -68,4 +68,4 @@ Could be for example, process events, database events

    The EventType for handling sern events

    Source

    -

    src/core/structures/enums.ts:55

    \ No newline at end of file +

    src/core/structures/enums.ts:55

    \ No newline at end of file diff --git a/v4/api/enumerations/payloadtype/index.html b/v4/api/enumerations/payloadtype/index.html index de4816307..0c0f32d15 100644 --- a/v4/api/enumerations/payloadtype/index.html +++ b/v4/api/enumerations/payloadtype/index.html @@ -64,4 +64,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Warning: "warning"

    Source

    -

    src/core/structures/enums.ts:94

    \ No newline at end of file +

    src/core/structures/enums.ts:94

    \ No newline at end of file diff --git a/v4/api/enumerations/plugintype/index.html b/v4/api/enumerations/plugintype/index.html index 3488df3e7..50ba402d7 100644 --- a/v4/api/enumerations/plugintype/index.html +++ b/v4/api/enumerations/plugintype/index.html @@ -59,4 +59,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    The PluginType for InitPlugins

    Source

    -

    src/core/structures/enums.ts:81

    \ No newline at end of file +

    src/core/structures/enums.ts:81

    \ No newline at end of file diff --git a/v4/api/functions/commandcontrolplugin/index.html b/v4/api/functions/commandcontrolplugin/index.html index 1393c8b50..f58af326f 100644 --- a/v4/api/functions/commandcontrolplugin/index.html +++ b/v4/api/functions/commandcontrolplugin/index.html @@ -74,4 +74,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
  • Useful for implementing preconditions, filters, and command preprocessing
  • Source

    -

    src/core/plugin.ts:120

    \ No newline at end of file +

    src/core/plugin.ts:120

    \ No newline at end of file diff --git a/v4/api/functions/commandinitplugin/index.html b/v4/api/functions/commandinitplugin/index.html index 99f6ca4c2..28d381a78 100644 --- a/v4/api/functions/commandinitplugin/index.html +++ b/v4/api/functions/commandinitplugin/index.html @@ -69,4 +69,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
  • Use controller.stop(reason) to halt plugin execution
  • Source

    -

    src/core/plugin.ts:62

    \ No newline at end of file +

    src/core/plugin.ts:62

    \ No newline at end of file diff --git a/v4/api/functions/commandmodule/index.html b/v4/api/functions/commandmodule/index.html index e3cc0c668..459192e06 100644 --- a/v4/api/functions/commandmodule/index.html +++ b/v4/api/functions/commandmodule/index.html @@ -58,4 +58,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Example

    1
    // Command with component interaction
    2
    export default commandModule({
    3
    type: CommandType.Slash,
    4
    description: "Interactive command",
    5
    execute: async (ctx) => {
    6
    const button = new ButtonBuilder({
    7
    customId: "btn/someData",
    8
    label: "Click me",
    9
    style: ButtonStyle.Primary
    10
    });
    11
    await ctx.reply({
    12
    content: "Interactive message",
    13
    components: [new ActionRowBuilder().addComponents(button)]
    14
    });
    15
    }
    16
    });

    Source

    -

    src/core/modules.ts:47

    \ No newline at end of file +

    src/core/modules.ts:47

    \ No newline at end of file diff --git a/v4/api/functions/discordevent/index.html b/v4/api/functions/discordevent/index.html index ba4947a81..842fdb18b 100644 --- a/v4/api/functions/discordevent/index.html +++ b/v4/api/functions/discordevent/index.html @@ -58,4 +58,4 @@ where typings were bad.

    Returns

    Module

    Source

    -

    src/core/modules.ts:97

    \ No newline at end of file +

    src/core/modules.ts:97

    \ No newline at end of file diff --git a/v4/api/functions/eventinitplugin/index.html b/v4/api/functions/eventinitplugin/index.html index 5c63538f9..4cabca57e 100644 --- a/v4/api/functions/eventinitplugin/index.html +++ b/v4/api/functions/eventinitplugin/index.html @@ -51,4 +51,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Since

    2.5.0

    Source

    -

    src/core/plugin.ts:15

    \ No newline at end of file +

    src/core/plugin.ts:15

    \ No newline at end of file diff --git a/v4/api/functions/eventmodule/index.html b/v4/api/functions/eventmodule/index.html index c1087af7d..a00b29903 100644 --- a/v4/api/functions/eventmodule/index.html +++ b/v4/api/functions/eventmodule/index.html @@ -63,4 +63,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Example

    1
    // Custom sern event
    2
    export default eventModule({
    3
    type: EventType.Sern,
    4
    execute: async (eventData) => {
    5
    // Handle sern-specific event
    6
    }
    7
    });

    Source

    -

    src/core/modules.ts:83

    \ No newline at end of file +

    src/core/modules.ts:83

    \ No newline at end of file diff --git a/v4/api/functions/makedependencies/index.html b/v4/api/functions/makedependencies/index.html index 94c85d5f1..e5c0525eb 100644 --- a/v4/api/functions/makedependencies/index.html +++ b/v4/api/functions/makedependencies/index.html @@ -53,4 +53,4 @@ This is required to start the handler, and is to be called before Sern.init.

    Example

    1
    await makeDependencies(({ add }) => {
    2
    add('@sern/client', new Client({ intents, partials })
    3
    })

    Source

    -

    src/core/ioc.ts:63

    \ No newline at end of file +

    src/core/ioc.ts:63

    \ No newline at end of file diff --git a/v4/api/functions/makeplugin/index.html b/v4/api/functions/makeplugin/index.html index 0e6a44f82..7d3c448f1 100644 --- a/v4/api/functions/makeplugin/index.html +++ b/v4/api/functions/makeplugin/index.html @@ -52,4 +52,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    Plugin<V>

    Source

    -

    src/core/plugin.ts:6

    \ No newline at end of file +

    src/core/plugin.ts:6

    \ No newline at end of file diff --git a/v4/api/functions/service/index.html b/v4/api/functions/service/index.html index 6ed3336de..eb6ee920b 100644 --- a/v4/api/functions/service/index.html +++ b/v4/api/functions/service/index.html @@ -62,4 +62,4 @@ Note: this method only works AFTER your container has been initiated

    Throws

    if container is absent or not present

    Source

    -

    src/core/ioc.ts:93

    \ No newline at end of file +

    src/core/ioc.ts:93

    \ No newline at end of file diff --git a/v4/api/functions/services/index.html b/v4/api/functions/services/index.html index 93f97a4e9..cfe8cc493 100644 --- a/v4/api/functions/services/index.html +++ b/v4/api/functions/services/index.html @@ -57,4 +57,4 @@ The plural version of Servi

    Throws

    if container is absent or not present

    Source

    -

    src/core/ioc.ts:103

    \ No newline at end of file +

    src/core/ioc.ts:103

    \ No newline at end of file diff --git a/v4/api/functions/single/index.html b/v4/api/functions/single/index.html index 8c49cad4c..f2eff8612 100644 --- a/v4/api/functions/single/index.html +++ b/v4/api/functions/single/index.html @@ -52,4 +52,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    T

    Source

    -

    src/core/ioc.ts:112

    \ No newline at end of file +

    src/core/ioc.ts:112

    \ No newline at end of file diff --git a/v4/api/functions/transient/index.html b/v4/api/functions/transient/index.html index eb76a66cc..2e95d5e7d 100644 --- a/v4/api/functions/transient/index.html +++ b/v4/api/functions/transient/index.html @@ -55,4 +55,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    2.0.0 Creates a transient object

    Source

    -

    src/core/ioc.ts:123

    \ No newline at end of file +

    src/core/ioc.ts:123

    \ No newline at end of file diff --git a/v4/api/interfaces/bothcommand/index.html b/v4/api/interfaces/bothcommand/index.html index b639897c3..365914a8c 100644 --- a/v4/api/interfaces/bothcommand/index.html +++ b/v4/api/interfaces/bothcommand/index.html @@ -174,4 +174,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:283

    \ No newline at end of file +

    src/types/core-modules.ts:283

    \ No newline at end of file diff --git a/v4/api/interfaces/buttoncommand/index.html b/v4/api/interfaces/buttoncommand/index.html index c08fcb95f..1b1d87a40 100644 --- a/v4/api/interfaces/buttoncommand/index.html +++ b/v4/api/interfaces/buttoncommand/index.html @@ -167,4 +167,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:225

    \ No newline at end of file +

    src/types/core-modules.ts:225

    \ No newline at end of file diff --git a/v4/api/interfaces/channelselectcommand/index.html b/v4/api/interfaces/channelselectcommand/index.html index a0dddae48..96c81f8f9 100644 --- a/v4/api/interfaces/channelselectcommand/index.html +++ b/v4/api/interfaces/channelselectcommand/index.html @@ -167,4 +167,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:235

    \ No newline at end of file +

    src/types/core-modules.ts:235

    \ No newline at end of file diff --git a/v4/api/interfaces/commandmoduledefs/index.html b/v4/api/interfaces/commandmoduledefs/index.html index 7466ed0a7..1289dc48e 100644 --- a/v4/api/interfaces/commandmoduledefs/index.html +++ b/v4/api/interfaces/commandmoduledefs/index.html @@ -124,4 +124,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    8: ContextMenuMsg

    Source

    -

    src/types/core-modules.ts:310

    \ No newline at end of file +

    src/types/core-modules.ts:310

    \ No newline at end of file diff --git a/v4/api/interfaces/contextmenumsg/index.html b/v4/api/interfaces/contextmenumsg/index.html index 378b8b48c..5f0b48fe4 100644 --- a/v4/api/interfaces/contextmenumsg/index.html +++ b/v4/api/interfaces/contextmenumsg/index.html @@ -167,4 +167,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:220

    \ No newline at end of file +

    src/types/core-modules.ts:220

    \ No newline at end of file diff --git a/v4/api/interfaces/contextmenuuser/index.html b/v4/api/interfaces/contextmenuuser/index.html index a59d397a6..6a20872c8 100644 --- a/v4/api/interfaces/contextmenuuser/index.html +++ b/v4/api/interfaces/contextmenuuser/index.html @@ -167,4 +167,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:215

    \ No newline at end of file +

    src/types/core-modules.ts:215

    \ No newline at end of file diff --git a/v4/api/interfaces/controlplugin/index.html b/v4/api/interfaces/controlplugin/index.html index d303fc8e5..df3ebd12c 100644 --- a/v4/api/interfaces/controlplugin/index.html +++ b/v4/api/interfaces/controlplugin/index.html @@ -68,4 +68,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Plugin.type

    Source

    -

    src/types/core-plugin.ts:52

    \ No newline at end of file +

    src/types/core-plugin.ts:52

    \ No newline at end of file diff --git a/v4/api/interfaces/coredependencies/index.html b/v4/api/interfaces/coredependencies/index.html index fe38b210b..fdfcc7200 100644 --- a/v4/api/interfaces/coredependencies/index.html +++ b/v4/api/interfaces/coredependencies/index.html @@ -90,4 +90,4 @@ by module.meta.id -> Module

    @sern/scheduler: TaskScheduler

    Source

    -

    src/core/ioc.ts:161

    \ No newline at end of file +

    src/core/ioc.ts:161

    \ No newline at end of file diff --git a/v4/api/interfaces/discordeventcommand/index.html b/v4/api/interfaces/discordeventcommand/index.html index bfb2c1452..f7b631b88 100644 --- a/v4/api/interfaces/discordeventcommand/index.html +++ b/v4/api/interfaces/discordeventcommand/index.html @@ -168,4 +168,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:268

    \ No newline at end of file +

    src/types/core-modules.ts:268

    \ No newline at end of file diff --git a/v4/api/interfaces/disposable/index.html b/v4/api/interfaces/disposable/index.html index 2e43ec273..1b39981cc 100644 --- a/v4/api/interfaces/disposable/index.html +++ b/v4/api/interfaces/disposable/index.html @@ -51,4 +51,4 @@ Let dependencies implement this to dispose and cleanup.

    Returns

    unknown

    Source

    -

    src/core/interfaces.ts:17

    \ No newline at end of file +

    src/core/interfaces.ts:17

    \ No newline at end of file diff --git a/v4/api/interfaces/emitter/index.html b/v4/api/interfaces/emitter/index.html index 07124a867..35321845f 100644 --- a/v4/api/interfaces/emitter/index.html +++ b/v4/api/interfaces/emitter/index.html @@ -76,4 +76,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    this

    Source

    -

    src/core/interfaces.ts:23

    \ No newline at end of file +

    src/core/interfaces.ts:23

    \ No newline at end of file diff --git a/v4/api/interfaces/errorhandling/index.html b/v4/api/interfaces/errorhandling/index.html index 54b0a97c3..4a8c392ec 100644 --- a/v4/api/interfaces/errorhandling/index.html +++ b/v4/api/interfaces/errorhandling/index.html @@ -66,4 +66,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    void

    Source

    -

    src/core/interfaces.ts:41

    \ No newline at end of file +

    src/core/interfaces.ts:41

    \ No newline at end of file diff --git a/v4/api/interfaces/eventmoduledefs/index.html b/v4/api/interfaces/eventmoduledefs/index.html index 3db3f5255..07cee1ce6 100644 --- a/v4/api/interfaces/eventmoduledefs/index.html +++ b/v4/api/interfaces/eventmoduledefs/index.html @@ -63,4 +63,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    2: ExternalEventCommand

    Source

    -

    src/types/core-modules.ts:324

    \ No newline at end of file +

    src/types/core-modules.ts:324

    \ No newline at end of file diff --git a/v4/api/interfaces/externaleventcommand/index.html b/v4/api/interfaces/externaleventcommand/index.html index e135f0ec6..4e2b5cac8 100644 --- a/v4/api/interfaces/externaleventcommand/index.html +++ b/v4/api/interfaces/externaleventcommand/index.html @@ -173,4 +173,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:210

    \ No newline at end of file +

    src/types/core-modules.ts:210

    \ No newline at end of file diff --git a/v4/api/interfaces/init/index.html b/v4/api/interfaces/init/index.html index 72faf0d8a..18a987d3f 100644 --- a/v4/api/interfaces/init/index.html +++ b/v4/api/interfaces/init/index.html @@ -51,4 +51,4 @@ Let dependencies implement this to initiate some logic.

    Returns

    unknown

    Source

    -

    src/core/interfaces.ts:9

    \ No newline at end of file +

    src/core/interfaces.ts:9

    \ No newline at end of file diff --git a/v4/api/interfaces/initplugin/index.html b/v4/api/interfaces/initplugin/index.html index 0cd2902d0..1001c3f32 100644 --- a/v4/api/interfaces/initplugin/index.html +++ b/v4/api/interfaces/initplugin/index.html @@ -68,4 +68,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Plugin.type

    Source

    -

    src/types/core-plugin.ts:48

    \ No newline at end of file +

    src/types/core-plugin.ts:48

    \ No newline at end of file diff --git a/v4/api/interfaces/logging/index.html b/v4/api/interfaces/logging/index.html index 4b10c9d6d..55c4e9604 100644 --- a/v4/api/interfaces/logging/index.html +++ b/v4/api/interfaces/logging/index.html @@ -88,4 +88,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    void

    Source

    -

    src/core/interfaces.ts:50

    \ No newline at end of file +

    src/core/interfaces.ts:50

    \ No newline at end of file diff --git a/v4/api/interfaces/mentionableselectcommand/index.html b/v4/api/interfaces/mentionableselectcommand/index.html index 0c9498207..41bd7e190 100644 --- a/v4/api/interfaces/mentionableselectcommand/index.html +++ b/v4/api/interfaces/mentionableselectcommand/index.html @@ -167,4 +167,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:245

    \ No newline at end of file +

    src/types/core-modules.ts:245

    \ No newline at end of file diff --git a/v4/api/interfaces/modalsubmitcommand/index.html b/v4/api/interfaces/modalsubmitcommand/index.html index 18b9393eb..571a86524 100644 --- a/v4/api/interfaces/modalsubmitcommand/index.html +++ b/v4/api/interfaces/modalsubmitcommand/index.html @@ -167,4 +167,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:255

    \ No newline at end of file +

    src/types/core-modules.ts:255

    \ No newline at end of file diff --git a/v4/api/interfaces/module/index.html b/v4/api/interfaces/module/index.html index d8a4c9216..36a2ee7b9 100644 --- a/v4/api/interfaces/module/index.html +++ b/v4/api/interfaces/module/index.html @@ -164,4 +164,4 @@ to attach metadata or configuration to modules.

    Returns

    any

    Source

    -

    src/types/core-modules.ts:196

    \ No newline at end of file +

    src/types/core-modules.ts:196

    \ No newline at end of file diff --git a/v4/api/interfaces/plugin/index.html b/v4/api/interfaces/plugin/index.html index 84d4111af..4e99ed280 100644 --- a/v4/api/interfaces/plugin/index.html +++ b/v4/api/interfaces/plugin/index.html @@ -65,4 +65,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    type: PluginType

    Source

    -

    src/types/core-plugin.ts:43

    \ No newline at end of file +

    src/types/core-plugin.ts:43

    \ No newline at end of file diff --git a/v4/api/interfaces/roleselectcommand/index.html b/v4/api/interfaces/roleselectcommand/index.html index 071c5fbe0..5e6c0ef04 100644 --- a/v4/api/interfaces/roleselectcommand/index.html +++ b/v4/api/interfaces/roleselectcommand/index.html @@ -167,4 +167,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:240

    \ No newline at end of file +

    src/types/core-modules.ts:240

    \ No newline at end of file diff --git a/v4/api/interfaces/sernautocompletedata/index.html b/v4/api/interfaces/sernautocompletedata/index.html index 75abc09a9..25d244003 100644 --- a/v4/api/interfaces/sernautocompletedata/index.html +++ b/v4/api/interfaces/sernautocompletedata/index.html @@ -110,4 +110,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    type: String | Integer | Number

    Source

    -

    src/types/core-modules.ts:330

    \ No newline at end of file +

    src/types/core-modules.ts:330

    \ No newline at end of file diff --git a/v4/api/interfaces/serneventcommand/index.html b/v4/api/interfaces/serneventcommand/index.html index 100b17548..05e57b485 100644 --- a/v4/api/interfaces/serneventcommand/index.html +++ b/v4/api/interfaces/serneventcommand/index.html @@ -168,4 +168,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:203

    \ No newline at end of file +

    src/types/core-modules.ts:203

    \ No newline at end of file diff --git a/v4/api/interfaces/serneventsmapping/index.html b/v4/api/interfaces/serneventsmapping/index.html index 605265cbf..4bc1fdda8 100644 --- a/v4/api/interfaces/serneventsmapping/index.html +++ b/v4/api/interfaces/serneventsmapping/index.html @@ -75,4 +75,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    warning: [Payload]

    Source

    -

    src/types/utility.ts:13

    \ No newline at end of file +

    src/types/utility.ts:13

    \ No newline at end of file diff --git a/v4/api/interfaces/sernsubcommanddata/index.html b/v4/api/interfaces/sernsubcommanddata/index.html index b1e3ef0da..eeb07a2f8 100644 --- a/v4/api/interfaces/sernsubcommanddata/index.html +++ b/v4/api/interfaces/sernsubcommanddata/index.html @@ -105,4 +105,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    APIApplicationCommandOptionBase.type

    Source

    -

    src/types/core-modules.ts:368

    \ No newline at end of file +

    src/types/core-modules.ts:368

    \ No newline at end of file diff --git a/v4/api/interfaces/sernsubcommandgroupdata/index.html b/v4/api/interfaces/sernsubcommandgroupdata/index.html index a3eb4ae02..fddf03edd 100644 --- a/v4/api/interfaces/sernsubcommandgroupdata/index.html +++ b/v4/api/interfaces/sernsubcommandgroupdata/index.html @@ -112,4 +112,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    type: SubcommandGroup

    Source

    -

    src/types/core-modules.ts:373

    \ No newline at end of file +

    src/types/core-modules.ts:373

    \ No newline at end of file diff --git a/v4/api/interfaces/slashcommand/index.html b/v4/api/interfaces/slashcommand/index.html index fe416cd4c..aecf96394 100644 --- a/v4/api/interfaces/slashcommand/index.html +++ b/v4/api/interfaces/slashcommand/index.html @@ -174,4 +174,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:276

    \ No newline at end of file +

    src/types/core-modules.ts:276

    \ No newline at end of file diff --git a/v4/api/interfaces/stringselectcommand/index.html b/v4/api/interfaces/stringselectcommand/index.html index 168388a59..cfb90c84c 100644 --- a/v4/api/interfaces/stringselectcommand/index.html +++ b/v4/api/interfaces/stringselectcommand/index.html @@ -167,4 +167,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:230

    \ No newline at end of file +

    src/types/core-modules.ts:230

    \ No newline at end of file diff --git a/v4/api/interfaces/textcommand/index.html b/v4/api/interfaces/textcommand/index.html index cd42cb154..c94d04320 100644 --- a/v4/api/interfaces/textcommand/index.html +++ b/v4/api/interfaces/textcommand/index.html @@ -167,4 +167,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:271

    \ No newline at end of file +

    src/types/core-modules.ts:271

    \ No newline at end of file diff --git a/v4/api/interfaces/userselectcommand/index.html b/v4/api/interfaces/userselectcommand/index.html index 6d60fc275..cd7278fe5 100644 --- a/v4/api/interfaces/userselectcommand/index.html +++ b/v4/api/interfaces/userselectcommand/index.html @@ -167,4 +167,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:250

    \ No newline at end of file +

    src/types/core-modules.ts:250

    \ No newline at end of file diff --git a/v4/api/namespaces/sern/functions/init/index.html b/v4/api/namespaces/sern/functions/init/index.html index 35a10d51c..1c4fa1dbb 100644 --- a/v4/api/namespaces/sern/functions/init/index.html +++ b/v4/api/namespaces/sern/functions/init/index.html @@ -55,4 +55,4 @@ Function to start the handler up

    Example

    src/index.ts
    1
    Sern.init({
    2
    commands: 'dist/commands',
    3
    events: 'dist/events',
    4
    })

    Source

    -

    src/sern.ts:32

    \ No newline at end of file +

    src/sern.ts:32

    \ No newline at end of file diff --git a/v4/api/readme/index.html b/v4/api/readme/index.html index 5dcd76b7f..27a4b2360 100644 --- a/v4/api/readme/index.html +++ b/v4/api/readme/index.html @@ -125,4 +125,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
  • scheduledTask
  • single
  • transient
  • - \ No newline at end of file + \ No newline at end of file diff --git a/v4/api/type-aliases/anyplugin/index.html b/v4/api/type-aliases/anyplugin/index.html index 5b1c499bd..d94d30769 100644 --- a/v4/api/type-aliases/anyplugin/index.html +++ b/v4/api/type-aliases/anyplugin/index.html @@ -45,4 +45,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    AnyPlugin: ControlPlugin | InitPlugin<[InitArgs<Processed<Module>>]>

    Source

    -

    src/types/core-plugin.ts:55

    \ No newline at end of file +

    src/types/core-plugin.ts:55

    \ No newline at end of file diff --git a/v4/api/type-aliases/commandmodule/index.html b/v4/api/type-aliases/commandmodule/index.html index 9aaa0f33a..456de7cc8 100644 --- a/v4/api/type-aliases/commandmodule/index.html +++ b/v4/api/type-aliases/commandmodule/index.html @@ -45,4 +45,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    CommandModule: TextCommand | SlashCommand | BothCommand | ContextMenuUser | ContextMenuMsg | ButtonCommand | StringSelectCommand | MentionableSelectCommand | UserSelectCommand | ChannelSelectCommand | RoleSelectCommand | ModalSubmitCommand

    Source

    -

    src/types/core-modules.ts:290

    \ No newline at end of file +

    src/types/core-modules.ts:290

    \ No newline at end of file diff --git a/v4/api/type-aliases/controller/index.html b/v4/api/type-aliases/controller/index.html index 8def77983..6efac4947 100644 --- a/v4/api/type-aliases/controller/index.html +++ b/v4/api/type-aliases/controller/index.html @@ -45,4 +45,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Controller: typeof controller

    Source

    -

    src/core/plugin.ts:137

    \ No newline at end of file +

    src/core/plugin.ts:137

    \ No newline at end of file diff --git a/v4/api/type-aliases/eventmodule/index.html b/v4/api/type-aliases/eventmodule/index.html index 157bc0f95..12bdb89f0 100644 --- a/v4/api/type-aliases/eventmodule/index.html +++ b/v4/api/type-aliases/eventmodule/index.html @@ -45,4 +45,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    EventModule: DiscordEventCommand | SernEventCommand | ExternalEventCommand

    Source

    -

    src/types/core-modules.ts:289

    \ No newline at end of file +

    src/types/core-modules.ts:289

    \ No newline at end of file diff --git a/v4/api/type-aliases/logpayload/index.html b/v4/api/type-aliases/logpayload/index.html index a4b52f1d7..297f0de39 100644 --- a/v4/api/type-aliases/logpayload/index.html +++ b/v4/api/type-aliases/logpayload/index.html @@ -52,4 +52,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    message: T

    Source

    -

    src/core/interfaces.ts:55

    \ No newline at end of file +

    src/core/interfaces.ts:55

    \ No newline at end of file diff --git a/v4/api/type-aliases/payload/index.html b/v4/api/type-aliases/payload/index.html index e633d3361..43c63f6f1 100644 --- a/v4/api/type-aliases/payload/index.html +++ b/v4/api/type-aliases/payload/index.html @@ -45,4 +45,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Payload: object | object | object

    Source

    -

    src/types/utility.ts:17

    \ No newline at end of file +

    src/types/utility.ts:17

    \ No newline at end of file diff --git a/v4/api/type-aliases/pluginresult/index.html b/v4/api/type-aliases/pluginresult/index.html index 818bdcae1..014e5d038 100644 --- a/v4/api/type-aliases/pluginresult/index.html +++ b/v4/api/type-aliases/pluginresult/index.html @@ -45,4 +45,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    PluginResult: Awaitable<Result<Record<string, unknown> | undefined, string | undefined>>

    Source

    -

    src/types/core-plugin.ts:36

    \ No newline at end of file +

    src/types/core-plugin.ts:36

    \ No newline at end of file diff --git a/v4/api/type-aliases/sernoptionsdata/index.html b/v4/api/type-aliases/sernoptionsdata/index.html index 0c4c27655..d7a92fa10 100644 --- a/v4/api/type-aliases/sernoptionsdata/index.html +++ b/v4/api/type-aliases/sernoptionsdata/index.html @@ -46,4 +46,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Type that replaces autocomplete with SernAutocompleteData

    Source

    -

    src/types/core-modules.ts:360

    \ No newline at end of file +

    src/types/core-modules.ts:360

    \ No newline at end of file diff --git a/v4/api/variables/controller/index.html b/v4/api/variables/controller/index.html index 486aa7a5a..4516b1087 100644 --- a/v4/api/variables/controller/index.html +++ b/v4/api/variables/controller/index.html @@ -81,4 +81,4 @@ The object passed into every plugin to control a command’s behavior

    readonly ok: false = false

    Source

    -

    src/core/plugin.ts:131

    \ No newline at end of file +

    src/core/plugin.ts:131

    \ No newline at end of file diff --git a/v4/api/variables/presence/index.html b/v4/api/variables/presence/index.html index b08be20e0..575016dac 100644 --- a/v4/api/variables/presence/index.html +++ b/v4/api/variables/presence/index.html @@ -115,4 +115,4 @@ adjacent to the file where Sern.init is CALLED.

    optional status: Status

    Source

    -

    src/core/presences.ts:9

    \ No newline at end of file +

    src/core/presences.ts:9

    \ No newline at end of file diff --git a/v4/cli/about/index.html b/v4/cli/about/index.html index 2f1390154..e82a03080 100644 --- a/v4/cli/about/index.html +++ b/v4/cli/about/index.html @@ -50,4 +50,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
    If you're new to sern, run npm create @sern/bot for an interactive setup to your new bot project!
    If you have any ideas, suggestions, bug reports, kindly join our support server: https://sern.dev/discord
    Options:
    -v, --version output the version number
    -h, --help display help for command
    -
    Commands:
    init [options] Quickest way to scaffold a new project [DEPRECATED]
    plugins [options] Install plugins from https://github.com/sern-handler/awesome-plugins
    extra Easy way to add extra things in your sern project
    commands Defacto way to manage your slash commands
    help [command] display help for command
    \ No newline at end of file +
    Commands:
    init [options] Quickest way to scaffold a new project [DEPRECATED]
    plugins [options] Install plugins from https://github.com/sern-handler/awesome-plugins
    extra Easy way to add extra things in your sern project
    commands Defacto way to manage your slash commands
    help [command] display help for command
    \ No newline at end of file diff --git a/v4/cli/build/index.html b/v4/cli/build/index.html index a0f7a688c..29d6c6568 100644 --- a/v4/cli/build/index.html +++ b/v4/cli/build/index.html @@ -113,4 +113,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Full esbuild documentation here. Add more to the define field in build options (only availible with a sern.build file at the moment)

    process.env

    We generate your process.env with dotenv and generate typings for process.env. Less hassle!

    -
    DISCORD_TOKEN=<your token>
    1
    process.env.DISCORD_TOKEN; // string | undefined (not typesafe :()
    \ No newline at end of file +
    DISCORD_TOKEN=<your token>
    1
    process.env.DISCORD_TOKEN; // string | undefined (not typesafe :()
    \ No newline at end of file diff --git a/v4/cli/clear/index.html b/v4/cli/clear/index.html index dac27b0c5..b073ac2a5 100644 --- a/v4/cli/clear/index.html +++ b/v4/cli/clear/index.html @@ -55,4 +55,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem; \ No newline at end of file + \ No newline at end of file diff --git a/v4/cli/extra/index.html b/v4/cli/extra/index.html index e41353b1e..b8e32e133 100644 --- a/v4/cli/extra/index.html +++ b/v4/cli/extra/index.html @@ -48,4 +48,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    This command is pretty straightfoward. Install utilities into your application, assuming you have a sern.config.json.

    You can use this command to install things such as a Dockerfile

    Usage

    -
    Terminal window
    sern extra
    # Choose which extra feature from the prompt, such as this:
    What extra feature do you want to add? Dockerfile (TypeScript)
    \ No newline at end of file +
    Terminal window
    sern extra
    # Choose which extra feature from the prompt, such as this:
    What extra feature do you want to add? Dockerfile (TypeScript)
    \ No newline at end of file diff --git a/v4/cli/publish/index.html b/v4/cli/publish/index.html index 0b7483e53..b171815dd 100644 --- a/v4/cli/publish/index.html +++ b/v4/cli/publish/index.html @@ -91,4 +91,4 @@ use the new service Publisher, officially maintained.

    src/commands/ping.ts
    1
    import { commandModule, Service, CommandType } from '@sern/handler'
    2
    3
    const client = Service('@sern/client');
    4
    5
    export const config = {
    6
    guildIds: ["889026545715400705"]
    7
    }
    8
    -
    9
    export default commandModule( {
    10
    type: CommandType.Slash
    11
    description: `${client.user.username}'s ping`,
    12
    execute: (ctx) => {
    13
    ctx.reply('pong')
    14
    }
    15
    })
    \ No newline at end of file +
    9
    export default commandModule( {
    10
    type: CommandType.Slash
    11
    description: `${client.user.username}'s ping`,
    12
    execute: (ctx) => {
    13
    ctx.reply('pong')
    14
    }
    15
    })
    \ No newline at end of file diff --git a/v4/reference/autocomplete/index.html b/v4/reference/autocomplete/index.html index b812e639a..2bb86c386 100644 --- a/v4/reference/autocomplete/index.html +++ b/v4/reference/autocomplete/index.html @@ -51,4 +51,4 @@ We’ve implemented this functionality using a simple tree search algorithm with We can filter cheeses based on the focus object, and return only the cheeses that start with the focus object. You can do a lot more with the focus object, such as performing API calls, or implementing a fuzzy search.

    src/commands/cheese.ts
    1
    export default commandModule({
    2
    type: CommandType.Slash,
    3
    description: "show me cheese",
    4
    options: [
    5
    {
    6
    name: "list",
    7
    type: ApplicationCommandOptionType.String,
    8
    description: "pick a cheese to show",
    9
    required: true,
    10
    autocomplete: true,
    11
    command: {
    12
    onEvent: [],
    13
    execute: (ctx) => {
    14
    const focus = ctx.options.getFocused();
    15
    ctx.respond ["gouda", "parmesan", "harvarti"]
    16
    .filter((cheese) => cheese.startsWith(focus))
    17
    .map((cheese) => ({ name: cheese, value: cheese })));
    18
    },
    19
    },
    20
    },
    21
    ],
    22
    execute: (ctx) => {
    23
    const cheese = ctx.options.getString("list", true);
    24
    ctx.reply("selected cheese");
    25
    },
    26
    });
    - \ No newline at end of file + \ No newline at end of file diff --git a/v4/reference/conclusion/index.html b/v4/reference/conclusion/index.html index dc5045048..66d7809d3 100644 --- a/v4/reference/conclusion/index.html +++ b/v4/reference/conclusion/index.html @@ -44,4 +44,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Conclusion

    If you reached this far, thank you for reading!

    We hope you have learned the necessities you need to create a bot with the sern framework.

    If you have any other questions, bugs, feature requests, concerns, please join our community server, and we’ll be glad to answer your questions!

    -

    paper logo

    \ No newline at end of file +

    paper logo

    \ No newline at end of file diff --git a/v4/reference/config/index.html b/v4/reference/config/index.html index 344253510..b748b58c5 100644 --- a/v4/reference/config/index.html +++ b/v4/reference/config/index.html @@ -65,4 +65,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    user defined

    Feel free to supply any other constants / variables you may need.

    1
    export const OWNERS = ['182326315813306368']
    - \ No newline at end of file + \ No newline at end of file diff --git a/v4/reference/dependencies/index.html b/v4/reference/dependencies/index.html index 36ba56f16..1b34fc3ee 100644 --- a/v4/reference/dependencies/index.html +++ b/v4/reference/dependencies/index.html @@ -115,4 +115,4 @@ A common occurence in sern projects is to swap out the Logger for a custom one. As a result, the codebase is more modular and easier to test and refactor

    \ No newline at end of file +For example, you may prefer importing the logger service vs. injecting the Logger class as a dependency.

    \ No newline at end of file diff --git a/v4/reference/error-handling/index.html b/v4/reference/error-handling/index.html index 47322cabc..e79d096a9 100644 --- a/v4/reference/error-handling/index.html +++ b/v4/reference/error-handling/index.html @@ -53,5 +53,6 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
    3
    export default eventModule({
    4
    type: EventType.Sern,
    5
    name: 'error',
    6
    execute: (err) => {
    7
    console.log('caught', err)
    8
    }
    9
    })

    If the error handler is not set, sern’s behavior is to crash the application. This respects node.js’s default behavior

    + \ No newline at end of file +If this happens, a memory leaks occurs and your bot will crash.

    \ No newline at end of file diff --git a/v4/reference/getting-started/index.html b/v4/reference/getting-started/index.html index c84466ee3..d8647a7be 100644 --- a/v4/reference/getting-started/index.html +++ b/v4/reference/getting-started/index.html @@ -44,4 +44,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Getting Started

    Terminal window
    npm create @sern/bot

    Once you’ve used this command, follow the interactive prompts to create your new project.

    If you need help, feel free to ask on our Discord.

    -
    \ No newline at end of file + \ No newline at end of file diff --git a/v4/reference/modules/index.html b/v4/reference/modules/index.html index e5e5c2d72..9aba21f9b 100644 --- a/v4/reference/modules/index.html +++ b/v4/reference/modules/index.html @@ -84,4 +84,4 @@ You may not see your command instantly in Discord, if so, try refreshing.

    Listening to Discord Events
    src/events/messageCreate.js
    1
    import { eventModule, EventType } from "@sern/handler";
    2
    3
    export default eventModule({
    4
    type: EventType.Discord,
    5
    execute: async (message) => {
    6
    console.log(`${message.user} said`, message.content)
    7
    },
    8
    });
    - \ No newline at end of file + \ No newline at end of file diff --git a/v4/reference/plugins/index.html b/v4/reference/plugins/index.html index 8d245b4f3..45fdd9447 100644 --- a/v4/reference/plugins/index.html +++ b/v4/reference/plugins/index.html @@ -109,4 +109,4 @@ plugin chain.

    Plugins also carry an instance of all of your dependencies. Use them and use them as you please! For example, creating a plugin which logs which user uses your command

    -
    1
    import { commandModule, CommandControlPlugin, CommandType } from '@sern/handler'
    2
    export const log = CommandControlPlugin((ctx, sdt) => {
    3
    sdt
    4
    .deps['@sern/logger']
    5
    .info({ message: `${ctx.user.id} used this command from ${ctx.guild.id}` });
    6
    })
    \ No newline at end of file +
    1
    import { commandModule, CommandControlPlugin, CommandType } from '@sern/handler'
    2
    export const log = CommandControlPlugin((ctx, sdt) => {
    3
    sdt
    4
    .deps['@sern/logger']
    5
    .info({ message: `${ctx.user.id} used this command from ${ctx.guild.id}` });
    6
    })
    \ No newline at end of file diff --git a/v4/reference/presence/index.html b/v4/reference/presence/index.html index d1dd1bcc5..6e1f2ff1d 100644 --- a/v4/reference/presence/index.html +++ b/v4/reference/presence/index.html @@ -57,4 +57,4 @@ An example of this is shuffling presences on intervals.

    23
    export default Presence.module({
    24
    execute: () => {
    25
    const [type, name, status] = statuses.at(0)!;
    26
    return Presence
    27
    //start your presence with this.
    28
    .of({ activities: [ { type, name } ], status })
    29
    .repeated(() => {
    30
    const [type, name, status] = [...shuffleArray(statuses)].shift()!;
    31
    return {
    32
    status,
    33
    activities: [{ type, name }]
    34
    };
    35
    }, 60_000); //repeat and setPresence with returned result every minute
    36
    }
    37
    })

    Inject dependencies

    ./src/presence.js
    1
    import { Presence } from '@sern/handler'
    2
    import { ActivityType } from 'discord.js';
    3
    -
    4
    const activity = { type: ActivityType.Listening, name: "what's bofa" };
    5
    export default Presence.module({
    6
    inject: ['@sern/logger'],
    7
    execute: (logger) => {
    8
    logger?.info({ message: "Presence changed" });
    9
    return Presence
    10
    .of({ activities: [activity], status: "idle" })
    11
    .once();
    12
    }
    13
    })
    \ No newline at end of file +
    4
    const activity = { type: ActivityType.Listening, name: "what's bofa" };
    5
    export default Presence.module({
    6
    inject: ['@sern/logger'],
    7
    execute: (logger) => {
    8
    logger?.info({ message: "Presence changed" });
    9
    return Presence
    10
    .of({ activities: [activity], status: "idle" })
    11
    .once();
    12
    }
    13
    })
    \ No newline at end of file diff --git a/v4/reference/project-layout/index.html b/v4/reference/project-layout/index.html index 86ab2f23c..e00a519ee 100644 --- a/v4/reference/project-layout/index.html +++ b/v4/reference/project-layout/index.html @@ -44,4 +44,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Project Layout

    A project should look like this:

    • Directorysrc -
      • Directorycommands/
      • Directoryevents/
      • Directoryplugins/ # created automatically if running sern plugins
      • index.js
      • config.js # configuration for your entire application
    • .env
    • .gitignore
    • bun.lockb
    • package.json
    • README.md
    • sern.config.json
    • jsconfig.json # tsconfig.json if you are using typescript
    \ No newline at end of file +
  • .env
  • .gitignore
  • bun.lockb
  • package.json
  • README.md
  • sern.config.json
  • jsconfig.json # tsconfig.json if you are using typescript
  • \ No newline at end of file diff --git a/v4/reference/tasks/index.html b/v4/reference/tasks/index.html index 5ccaadb2b..87b39fd65 100644 --- a/v4/reference/tasks/index.html +++ b/v4/reference/tasks/index.html @@ -49,4 +49,4 @@ If you haven’t already, add the tasks directory to you
    3
    export default scheduledTask({
    4
    trigger: "* * * * *",
    5
    execute: (context) => {
    6
    console.log("cron cron")
    7
    }
    8
    })

    The trigger is a cron tab pattern, you can edit and test one here.

    \ No newline at end of file +deps['@sern/scheduler'].kill(uuid) will kill the task.

    \ No newline at end of file diff --git a/v4/snippets/command/index.html b/v4/snippets/command/index.html index 2e8e406ae..24c2cae7f 100644 --- a/v4/snippets/command/index.html +++ b/v4/snippets/command/index.html @@ -42,4 +42,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Command

    src/commands/ping.js
    1
    import { commandModule, CommandType } from "@sern/handler";
    2
    -
    3
    export default commandModule({
    4
    type: CommandType.Both,
    5
    plugins: [],
    6
    description: "A ping command",
    7
    execute: async (ctx, sdt) => {
    8
    await ctx.reply("Pong 🏓");
    9
    },
    10
    });
    \ No newline at end of file +
    3
    export default commandModule({
    4
    type: CommandType.Both,
    5
    plugins: [],
    6
    description: "A ping command",
    7
    execute: async (ctx, sdt) => {
    8
    await ctx.reply("Pong 🏓");
    9
    },
    10
    });
    \ No newline at end of file diff --git a/v4/snippets/event/index.html b/v4/snippets/event/index.html index 8b85bc611..5bd74dd2c 100644 --- a/v4/snippets/event/index.html +++ b/v4/snippets/event/index.html @@ -43,4 +43,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem; StarlightThemeProvider.updatePickers();

    Event

    src/events/ping.js
    1
    import { eventModule, EventType } from "@sern/handler";
    2
    import type { GuildMember } from "discord.js";
    3
    4
    export default eventModule({
    5
    type: EventType.Discord,
    6
    name: "guildMemberAdd",
    7
    async execute(member) {
    8
    },
    9
    });
    \ No newline at end of file +
    4
    export default eventModule({
    5
    type: EventType.Discord,
    6
    name: "guildMemberAdd",
    7
    async execute(member: GuildMember) {
    8
    // TODO: This should be inferred
    9
    if (member.pending) return;
    10
    },
    11
    });
    \ No newline at end of file diff --git a/v4/snippets/plugin/index.html b/v4/snippets/plugin/index.html index c9038f26f..d940047ce 100644 --- a/v4/snippets/plugin/index.html +++ b/v4/snippets/plugin/index.html @@ -42,4 +42,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Plugins

    1
    // This plugin only allows users with '182326315813306368' as their id to use this command.
    2
    import { CommandControlPlugin, CommandType, controller } from "@sern/handler";
    3
    import type { ModalSubmitInteraction } from "discord.js";
    4
    -
    5
    const OWNER = '182326315813306368';
    6
    export function ownerOnly() {
    7
    return CommandControlPlugin<CommandType.Slash>((ctx, sdt)=> {
    8
    if(ctx.user === OWNER)
    9
    return controller.next()
    10
    return controller.stop()
    11
    })
    12
    }
    \ No newline at end of file +
    5
    const OWNER = '182326315813306368';
    6
    export function ownerOnly() {
    7
    return CommandControlPlugin<CommandType.Slash>((ctx, sdt)=> {
    8
    if(ctx.user === OWNER)
    9
    return controller.next()
    10
    return controller.stop()
    11
    })
    12
    }
    \ No newline at end of file diff --git a/v4/snippets/presence/index.html b/v4/snippets/presence/index.html index 60d4c7c24..831139b52 100644 --- a/v4/snippets/presence/index.html +++ b/v4/snippets/presence/index.html @@ -43,4 +43,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem; StarlightThemeProvider.updatePickers();

    Presence

    1
    import { Presence } from '@sern/handler'
    2
    import { ActivityType } from 'discord.js';
    3
    4
    const activity = { type: ActivityType.Listening, name: "what's bofa" };
    5
    -
    6
    export default Presence.module({
    7
    execute: () => {
    8
    return Presence
    9
    .of({ activities: [activity], status: "idle" })
    10
    .once();
    11
    }
    12
    })
    \ No newline at end of file +
    6
    export default Presence.module({
    7
    execute: () => {
    8
    return Presence
    9
    .of({ activities: [activity], status: "idle" })
    10
    .once();
    11
    }
    12
    })
    \ No newline at end of file diff --git a/v4/tools/localizer/index.html b/v4/tools/localizer/index.html index 89cecbdf8..04358f839 100644 --- a/v4/tools/localizer/index.html +++ b/v4/tools/localizer/index.html @@ -58,4 +58,4 @@ Create the directory assets/locals. Each json file in he
    1
    execute : (ctx, { deps }) => {
    2
    //the localizer object from makeDependencies
    3
    deps.localizer
    4
    // Returns the Spanish translation for 'salute.hello'
    5
    deps.localizer.translate("salute.hello", "es-ES");
    6
    }
    1
    import { local } from '@sern/localizer';
    2
    -
    3
    // Returns the Spanish translation for 'salute.hello'
    4
    const greeting = local('salute.hello', 'es-ES');
    \ No newline at end of file +
    3
    // Returns the Spanish translation for 'salute.hello'
    4
    const greeting = local('salute.hello', 'es-ES');
    \ No newline at end of file diff --git a/v4/tools/publisher/index.html b/v4/tools/publisher/index.html index ba8d9d8e9..77c7ca44d 100644 --- a/v4/tools/publisher/index.html +++ b/v4/tools/publisher/index.html @@ -112,4 +112,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
  • Also able to use IntegrationContextType enum from @sern/publisher if you don’t want to use numbers.
  • - \ No newline at end of file + \ No newline at end of file diff --git a/v4/transition/from-v3/index.html b/v4/transition/from-v3/index.html index 159f27479..5632756d5 100644 --- a/v4/transition/from-v3/index.html +++ b/v4/transition/from-v3/index.html @@ -71,4 +71,4 @@ publishing as a service

    Things marked internal are now removed from public api.

    -
    1
    import type { SernEmitter, CoreDependencies, Singleton } from "@sern/handler";
    2
    import type { SernEmitter, CoreDependencies } from "@sern/handler";
    3
    import type { SernLogger } from "./utils/Logger";
    4
    import type { Octokit } from "@octokit/rest";
    5
    declare global {
    6
    interface Dependencies extends CoreDependencies {
    7
    "@sern/logger": SernLogger;
    8
    "@sern/logger": Singleton<SernLogger>;
    9
    octokit: Octokit;
    10
    octokit: Singleton<Octokit>;
    11
    }
    12
    }
    13
    export {};
    \ No newline at end of file +
    1
    import type { SernEmitter, CoreDependencies, Singleton } from "@sern/handler";
    2
    import type { SernEmitter, CoreDependencies } from "@sern/handler";
    3
    import type { SernLogger } from "./utils/Logger";
    4
    import type { Octokit } from "@octokit/rest";
    5
    declare global {
    6
    interface Dependencies extends CoreDependencies {
    7
    "@sern/logger": SernLogger;
    8
    "@sern/logger": Singleton<SernLogger>;
    9
    octokit: Octokit;
    10
    octokit: Singleton<Octokit>;
    11
    }
    12
    }
    13
    export {};
    \ No newline at end of file