diff --git a/_astro/watch-example2.Bn1NOj8U.mp4 b/_astro/watch-example2.Bn1NOj8U.mp4 new file mode 100644 index 000000000..742493823 Binary files /dev/null and b/_astro/watch-example2.Bn1NOj8U.mp4 differ diff --git a/blog/1.2.0/index.html b/blog/1.2.0/index.html index f2458e988..f43e210e0 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 14b308fe1..f26c9f185 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 41bb73056..3c6881f1c 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 5e48add49..f10aa4dad 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 b1bf3001d..b3a4a60a0 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 09902bc2b..9990933a8 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 62e70dde9..50c6cfa8f 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 0adeb388b..aa334bbf4 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 240e825d2..807da4edd 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 062f1da84..587119c7a 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 a323096c9..2eec73d8f 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 cec0b8fde..496805ae3 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 5f7d3bfea..a8bb72dbe 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

    -
    Discoin

    Discoin

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

    ezbd

    ezbd

    A simple birthday reminder bot

    sern Community

    sern Community

    The bot used to manage sern Community

    Albion Guide

    Albion Guide

    Gets info about The First Descendant Game.

    SmokinWeed 💨

    SmokinWeed 💨

    Small moderation bot

    man-nomic

    man-nomic

    Displays LLM model information

    Vinci

    Vinci

    The discord bot for Mara Turing

    Bask

    Bask

    A discord music bot

    +
    Albion Guide

    Albion Guide

    Gets info about The First Descendant Game.

    Bask

    Bask

    A discord music bot

    ezbd

    ezbd

    A simple birthday reminder bot

    sern Community

    sern Community

    The bot used to manage sern Community

    SmokinWeed 💨

    SmokinWeed 💨

    Small moderation bot

    Vinci

    Vinci

    The discord bot for Mara Turing

    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!

    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 d4ac82a8d..aba0141b5 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 e477e94c5..63c46661b 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 2f0793b4f..71ea1587d 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 d9bca234d..ae986d12a 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 1f2ba64d7..51f2db698 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 e73f5e25d..0eee4d491 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 549a08f00..85dd66daf 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 6f978996c..4a18447fb 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 77f243b9c..95079ce14 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 30a988b26..9d350e5b7 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 a8031c40d..5f38b9b6a 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 4a05cb902..f2ce7683d 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 49da92949..722163d51 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 13cb27982..6f0bad8fe 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 5fbe5ca06..6585483e3 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 2115d42be..d9ba99d87 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 18d9e653e..63b33de04 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 d39eaa459..e99a4c61f 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 fa8e51fa3..ee31d3987 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 d0753a311..fdf9f9f8c 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 189a57b9e..48a27ab51 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 a888582e0..75de59bd8 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 56cdeb820..9234bfb9d 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 a71a7ef76..f2d5a00c6 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 e2db048e0..a26e68511 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 aa319d51c..5f272affb 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 c973f7725..96fb74d79 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 29fc6ff8a..2b9282a98 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 b33d92e0a..fe07974a8 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 854c5e922..5928a98f9 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 27845df81..290ec59f4 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 1df6c5b29..a010c19d0 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 39031aacb..9c77b3c96 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 c791d224a..c8491dd55 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 d2156a6d6..32391a506 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 cb3b9803d..71fcf4e83 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 5e504fbfe..f19213b6c 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 312dcdefc..7fbfebde9 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 7e6e54fee..76547b68a 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 5869176bd..e8029f06d 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 dee439820..b367af860 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 5009c885f..261b0cab7 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 136481b4c..806e3e530 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 43eaf78c7..abce051b4 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 cf36c5d88..feb247bda 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 1f38e0cef..a08f23a23 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 c5ebc31af..3f306fb17 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 34199281d..edb34ec60 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 66a59a9a9..434c6da33 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 ae250e532..89ef8309d 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 930c6ef5d..9b9b64b4c 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 eb77a4d10..ae51263f0 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 1dfd93db9..628c03261 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 ede639ba2..344760cba 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 12ff2cc92..0d5770efa 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 2aa8416a1..6c43db52b 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 dc86af8e0..6602c0dc4 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 79f90cab1..5dd8155e8 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 a535cac16..d38d6e4f1 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 513bd2164..91be143fe 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 b6f21ce66..50ebf53cc 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 2e81dd7d9..c946a0123 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 9fcc3d6f5..3bc74246c 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 ef428c951..ba9c975b9 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 af9678dbe..3a08971fa 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 e8fdbd4e4..f834873f4 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 41cf6623f..71c38bb9d 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 1073507dc..31e69feae 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 d6159c3d2..9f085201c 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 783fe06da..5085dde92 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 f6c33712e..8691c7a0b 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 67a5a7823..e5a35f1e6 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 bb451ef82..2c3e7d0d3 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 d6e43fef3..98f679a6b 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 b2c3c93a1..bf51ecb32 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 82dca2f05..993a1ace3 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 90ae4a7ec..4cec27292 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 84edb2908..273e4a1e4 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 7dc5c110e..c6c7fa59b 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 534f2aa3b..3dfa8face 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 13a16dd7f..c6f074092 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 5a1d1fbfa..d66e84f6a 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 70eacf943..3e229b95e 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 67419916b..ec8927d70 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 21655dd73..4e55d4816 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 91f983c66..31580d440 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 bfc51dfe6..fb514b19f 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 88cb873e8..37f143b01 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 651e793b9..e13adda45 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 55c27d77b..78b86a91b 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 712220f7f..1d56b7a51 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 3e9ac4360..db68a4e7d 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 7347a1b35..cc24b1e50 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 5c160670b..dbd201f7a 100644 --- a/es/v4/api/classes/context/index.html +++ b/es/v4/api/classes/context/index.html @@ -53,7 +53,7 @@ Message and ChatInputCommandInteraction

    Returns

    null | TextBasedChannel

    Source

    -

    src/core/structures/context.ts:43

    +

    src/core/structures/context.ts:43


    channelId

    @@ -62,7 +62,7 @@ Message and ChatInputCommandInteraction

    Returns

    string

    Source

    -

    src/core/structures/context.ts:47

    +

    src/core/structures/context.ts:47


    client

    @@ -71,7 +71,7 @@ Message and ChatInputCommandInteraction

    Returns

    Client<boolean>

    Source

    -

    src/core/structures/context.ts:107

    +

    src/core/structures/context.ts:107


    createdTimestamp

    @@ -80,7 +80,7 @@ Message and ChatInputCommandInteraction

    Returns

    number

    Source

    -

    src/core/structures/context.ts:67

    +

    src/core/structures/context.ts:67


    guild

    @@ -89,7 +89,7 @@ Message and ChatInputCommandInteraction

    Returns

    null | Guild

    Source

    -

    src/core/structures/context.ts:71

    +

    src/core/structures/context.ts:71


    guildId

    @@ -98,7 +98,7 @@ Message and ChatInputCommandInteraction

    Returns

    null | string

    Source

    -

    src/core/structures/context.ts:75

    +

    src/core/structures/context.ts:75


    id

    @@ -107,7 +107,7 @@ Message and ChatInputCommandInteraction

    Returns

    string

    Source

    -

    src/core/structures/context.ts:39

    +

    src/core/structures/context.ts:39


    inGuild

    @@ -116,7 +116,7 @@ Message and ChatInputCommandInteraction

    Returns

    boolean

    Source

    -

    src/core/structures/context.ts:111

    +

    src/core/structures/context.ts:111


    interaction

    @@ -125,7 +125,7 @@ Message and ChatInputCommandInteraction

    Returns

    ChatInputCommandInteraction<CacheType>

    Source

    -

    src/core/structures/context.ts:99

    +

    src/core/structures/context.ts:99


    member

    @@ -134,7 +134,7 @@ Message and ChatInputCommandInteraction

    Returns

    null | GuildMember | APIInteractionGuildMember

    Source

    -

    src/core/structures/context.ts:81

    +

    src/core/structures/context.ts:81


    message

    @@ -143,7 +143,7 @@ Message and ChatInputCommandInteraction

    Returns

    Message<boolean>

    Source

    -

    src/core/structures/context.ts:85

    +

    src/core/structures/context.ts:85


    options

    @@ -152,7 +152,7 @@ Message and ChatInputCommandInteraction

    Returns

    string[] | Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused">

    Source

    -

    src/core/structures/context.ts:25

    +

    src/core/structures/context.ts:25


    prefix

    @@ -161,7 +161,7 @@ Message and ChatInputCommandInteraction

    Returns

    undefined | string

    Source

    -

    src/core/structures/context.ts:36

    +

    src/core/structures/context.ts:36


    user

    @@ -172,7 +172,7 @@ else, interaction.user

    Returns

    User

    Source

    -

    src/core/structures/context.ts:55

    +

    src/core/structures/context.ts:55


    userId

    @@ -181,7 +181,7 @@ else, interaction.user

    Returns

    string

    Source

    -

    src/core/structures/context.ts:63

    +

    src/core/structures/context.ts:63

    Methods

    isMessage()

    @@ -190,7 +190,7 @@ else, interaction.user

    Returns

    this is Context & Object

    Source

    -

    src/core/structures/context.ts:91

    +

    src/core/structures/context.ts:91


    isSlash()

    @@ -199,7 +199,7 @@ else, interaction.user

    Returns

    this is Context & Object

    Source

    -

    src/core/structures/context.ts:95

    +

    src/core/structures/context.ts:95


    reply()

    @@ -210,7 +210,7 @@ else, interaction.user

    Returns

    Promise<Message<boolean>>

    Source

    -

    src/core/structures/context.ts:115

    +

    src/core/structures/context.ts:115


    wrap()

    @@ -222,4 +222,4 @@ else, interaction.user

    Returns

    Context

    Source

    -

    src/core/structures/context.ts:124

    Última actualización:

    \ No newline at end of file +

    src/core/structures/context.ts:124

    Última actualización:

    \ 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 d90f4ced5..3b4437db5 100644 --- a/es/v4/api/enumerations/commandtype/index.html +++ b/es/v4/api/enumerations/commandtype/index.html @@ -52,81 +52,81 @@ A bitfield that discriminates command modules

    Both: 3

    Source

    -

    src/core/structures/enums.ts:20

    +

    src/core/structures/enums.ts:20


    Button

    Button: 16

    Source

    -

    src/core/structures/enums.ts:23

    +

    src/core/structures/enums.ts:23


    ChannelSelect

    ChannelSelect: 1024

    Source

    -

    src/core/structures/enums.ts:29

    +

    src/core/structures/enums.ts:29


    CtxMsg

    CtxMsg: 8

    Source

    -

    src/core/structures/enums.ts:22

    +

    src/core/structures/enums.ts:22


    CtxUser

    CtxUser: 4

    Source

    -

    src/core/structures/enums.ts:21

    +

    src/core/structures/enums.ts:21


    MentionableSelect

    MentionableSelect: 512

    Source

    -

    src/core/structures/enums.ts:28

    +

    src/core/structures/enums.ts:28


    Modal: 64

    Source

    -

    src/core/structures/enums.ts:25

    +

    src/core/structures/enums.ts:25


    RoleSelect

    RoleSelect: 256

    Source

    -

    src/core/structures/enums.ts:27

    +

    src/core/structures/enums.ts:27


    Slash

    Slash: 2

    Source

    -

    src/core/structures/enums.ts:19

    +

    src/core/structures/enums.ts:19


    StringSelect

    StringSelect: 32

    Source

    -

    src/core/structures/enums.ts:24

    +

    src/core/structures/enums.ts:24


    Text

    Text: 1

    Source

    -

    src/core/structures/enums.ts:18

    +

    src/core/structures/enums.ts:18


    UserSelect

    UserSelect: 128

    Source

    -

    src/core/structures/enums.ts:26

    Última actualización:

    \ No newline at end of file +

    src/core/structures/enums.ts:26

    Última actualización:

    \ 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 9340c6b7d..ae0b3dfd9 100644 --- a/es/v4/api/enumerations/eventtype/index.html +++ b/es/v4/api/enumerations/eventtype/index.html @@ -51,7 +51,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    The EventType for handling discord events

    Source

    -

    src/core/structures/enums.ts:51

    +

    src/core/structures/enums.ts:51


    External

    @@ -60,7 +60,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    The EventType for handling external events. Could be for example, process events, database events

    Source

    -

    src/core/structures/enums.ts:60

    +

    src/core/structures/enums.ts:60


    Sern

    @@ -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

    Última actualización:

    \ No newline at end of file +

    src/core/structures/enums.ts:55

    Última actualización:

    \ 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 a415e90fa..f5b3d49f8 100644 --- a/es/v4/api/enumerations/payloadtype/index.html +++ b/es/v4/api/enumerations/payloadtype/index.html @@ -50,18 +50,18 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Failure: "failure"

    Source

    -

    src/core/structures/enums.ts:93

    +

    src/core/structures/enums.ts:93


    Success

    Success: "success"

    Source

    -

    src/core/structures/enums.ts:92

    +

    src/core/structures/enums.ts:92


    Warning

    Warning: "warning"

    Source

    -

    src/core/structures/enums.ts:94

    Última actualización:

    \ No newline at end of file +

    src/core/structures/enums.ts:94

    Última actualización:

    \ 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 6ed85a2ac..2882cbb69 100644 --- a/es/v4/api/enumerations/plugintype/index.html +++ b/es/v4/api/enumerations/plugintype/index.html @@ -51,7 +51,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    The PluginType for EventPlugins

    Source

    -

    src/core/structures/enums.ts:85

    +

    src/core/structures/enums.ts:85


    Init

    @@ -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

    Última actualización:

    \ No newline at end of file +

    src/core/structures/enums.ts:81

    Última actualización:

    \ 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 2039dde00..9e7d347dd 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

    Última actualización:

    \ No newline at end of file +

    src/core/plugin.ts:120

    Última actualización:

    \ 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 4a11c58bb..769f74eb9 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

    Última actualización:

    \ No newline at end of file +

    src/core/plugin.ts:62

    Última actualización:

    \ 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 9cbf1dd90..b7e520a75 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

    Última actualización:

    \ No newline at end of file +

    src/core/modules.ts:47

    Última actualización:

    \ 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 4daa01bcb..75642733c 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

    Última actualización:

    \ No newline at end of file +

    src/core/modules.ts:97

    Última actualización:

    \ 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 1b0ae81dc..025bd6cb0 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

    Última actualización:

    \ No newline at end of file +

    src/core/plugin.ts:15

    Última actualización:

    \ 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 5fed55443..4a73fc113 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

    Última actualización:

    \ No newline at end of file +

    src/core/modules.ts:83

    Última actualización:

    \ 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 2a641d826..b68cf966d 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

    Última actualización:

    \ No newline at end of file +

    src/core/ioc.ts:63

    Última actualización:

    \ 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 cd456796f..472074257 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

    Última actualización:

    \ No newline at end of file +

    src/core/plugin.ts:6

    Última actualización:

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

    See

    https://crontab.guru/ for testing and creating cron patterns

    Source

    -

    src/core/modules.ts:132

    Última actualización:

    \ No newline at end of file +

    src/core/modules.ts:132

    Última actualización:

    \ 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 b3edc403f..76098f606 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

    Última actualización:

    \ No newline at end of file +

    src/core/ioc.ts:93

    Última actualización:

    \ 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 064bb073e..e2a5bd275 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

    Última actualización:

    \ No newline at end of file +

    src/core/ioc.ts:103

    Última actualización:

    \ 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 9952892fa..548ff1ee2 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

    Última actualización:

    \ No newline at end of file +

    src/core/ioc.ts:112

    Última actualización:

    \ 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 4e4a856f2..5168fbac1 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

    Última actualización:

    \ No newline at end of file +

    src/core/ioc.ts:123

    Última actualización:

    \ 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 2d1466851..08205df7f 100644 --- a/es/v4/api/interfaces/bothcommand/index.html +++ b/es/v4/api/interfaces/bothcommand/index.html @@ -58,7 +58,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.description

    Source

    -

    src/types/core-modules.ts:325

    +

    src/types/core-modules.ts:325


    execute()

    @@ -72,7 +72,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:327

    +

    src/types/core-modules.ts:327


    locals

    @@ -119,7 +119,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -136,7 +136,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -145,7 +145,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:123

    +

    src/types/core-modules.ts:123


    onEvent

    @@ -154,14 +154,14 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    options?

    optional options: SernOptionsData[]

    Source

    -

    src/types/core-modules.ts:326

    +

    src/types/core-modules.ts:326


    plugins

    @@ -170,7 +170,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -179,4 +179,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:324

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:324

    Última actualización:

    \ 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 22f91c918..27a619cf1 100644 --- a/es/v4/api/interfaces/buttoncommand/index.html +++ b/es/v4/api/interfaces/buttoncommand/index.html @@ -55,7 +55,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    execute()

    @@ -69,7 +69,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:241

    +

    src/types/core-modules.ts:241


    locals

    @@ -116,7 +116,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -133,7 +133,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -142,7 +142,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:123

    +

    src/types/core-modules.ts:123


    onEvent

    @@ -151,7 +151,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    plugins

    @@ -160,7 +160,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -169,4 +169,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:240

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:240

    Última actualización:

    \ 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 755e6e31f..bc858ba12 100644 --- a/es/v4/api/interfaces/channelselectcommand/index.html +++ b/es/v4/api/interfaces/channelselectcommand/index.html @@ -55,7 +55,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    execute()

    @@ -69,7 +69,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:255

    +

    src/types/core-modules.ts:255


    locals

    @@ -116,7 +116,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -133,7 +133,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -142,7 +142,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:123

    +

    src/types/core-modules.ts:123


    onEvent

    @@ -151,7 +151,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    plugins

    @@ -160,7 +160,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -169,4 +169,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:254

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:254

    Última actualización:

    \ 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 f34c30325..967b87933 100644 --- a/es/v4/api/interfaces/commandmoduledefs/index.html +++ b/es/v4/api/interfaces/commandmoduledefs/index.html @@ -47,81 +47,81 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    1: TextCommand

    Source

    -

    src/types/core-modules.ts:354

    +

    src/types/core-modules.ts:354


    1024

    1024: ChannelSelectCommand

    Source

    -

    src/types/core-modules.ts:362

    +

    src/types/core-modules.ts:362


    128

    128: UserSelectCommand

    Source

    -

    src/types/core-modules.ts:364

    +

    src/types/core-modules.ts:364


    16

    16: ButtonCommand

    Source

    -

    src/types/core-modules.ts:359

    +

    src/types/core-modules.ts:359


    2

    2: SlashCommand

    Source

    -

    src/types/core-modules.ts:355

    +

    src/types/core-modules.ts:355


    256

    256: RoleSelectCommand

    Source

    -

    src/types/core-modules.ts:361

    +

    src/types/core-modules.ts:361


    3

    3: BothCommand

    Source

    -

    src/types/core-modules.ts:356

    +

    src/types/core-modules.ts:356


    32

    32: StringSelectCommand

    Source

    -

    src/types/core-modules.ts:360

    +

    src/types/core-modules.ts:360


    4

    4: ContextMenuUser

    Source

    -

    src/types/core-modules.ts:358

    +

    src/types/core-modules.ts:358


    512

    512: MentionableSelectCommand

    Source

    -

    src/types/core-modules.ts:363

    +

    src/types/core-modules.ts:363


    64

    64: ModalSubmitCommand

    Source

    -

    src/types/core-modules.ts:365

    +

    src/types/core-modules.ts:365


    8

    8: ContextMenuMsg

    Source

    -

    src/types/core-modules.ts:357

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:357

    Última actualización:

    \ 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 e8cc748f1..22c3f0e02 100644 --- a/es/v4/api/interfaces/contextmenumsg/index.html +++ b/es/v4/api/interfaces/contextmenumsg/index.html @@ -55,7 +55,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    execute()

    @@ -69,7 +69,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:234

    +

    src/types/core-modules.ts:234


    locals

    @@ -116,7 +116,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -133,7 +133,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -142,7 +142,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:123

    +

    src/types/core-modules.ts:123


    onEvent

    @@ -151,7 +151,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    plugins

    @@ -160,7 +160,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -169,4 +169,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:233

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:233

    Última actualización:

    \ 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 a1128c92e..022381fef 100644 --- a/es/v4/api/interfaces/contextmenuuser/index.html +++ b/es/v4/api/interfaces/contextmenuuser/index.html @@ -55,7 +55,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    execute()

    @@ -69,7 +69,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:227

    +

    src/types/core-modules.ts:227


    locals

    @@ -116,7 +116,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -133,7 +133,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -142,7 +142,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:123

    +

    src/types/core-modules.ts:123


    onEvent

    @@ -151,7 +151,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    plugins

    @@ -160,7 +160,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -169,4 +169,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:226

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:226

    Última actualización:

    \ 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 c79b7353b..58ea3c044 100644 --- a/es/v4/api/interfaces/controlplugin/index.html +++ b/es/v4/api/interfaces/controlplugin/index.html @@ -59,7 +59,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Plugin.execute

    Source

    -

    src/types/core-plugin.ts:44

    +

    src/types/core-plugin.ts:44


    type

    @@ -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

    Última actualización:

    \ No newline at end of file +

    src/types/core-plugin.ts:52

    Última actualización:

    \ 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 9ff6a31ab..4f232e953 100644 --- a/es/v4/api/interfaces/coredependencies/index.html +++ b/es/v4/api/interfaces/coredependencies/index.html @@ -48,7 +48,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    discord.js client.

    Source

    -

    src/core/ioc.ts:140

    +

    src/core/ioc.ts:140


    @sern/emitter

    @@ -57,7 +57,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    sern emitter listens to events that happen throughout the handler. some include module.register, module.activate.

    Source

    -

    src/core/ioc.ts:145

    +

    src/core/ioc.ts:145


    @sern/errors

    @@ -66,7 +66,7 @@ the handler. some include module.register, module.activate.

    An error handler which is the final step before the sern process actually crashes.

    Source

    -

    src/core/ioc.ts:150

    +

    src/core/ioc.ts:150


    @sern/logger?

    @@ -74,7 +74,7 @@ the sern process actually crashes.

    Optional logger. Performs … logging

    Source

    -

    src/core/ioc.ts:154

    +

    src/core/ioc.ts:154


    @sern/modules

    @@ -83,11 +83,11 @@ the sern process actually crashes.

    Readonly module store. sern stores these by module.meta.id -> Module

    Source

    -

    src/core/ioc.ts:159

    +

    src/core/ioc.ts:159


    @sern/scheduler

    @sern/scheduler: TaskScheduler

    Source

    -

    src/core/ioc.ts:161

    Última actualización:

    \ No newline at end of file +

    src/core/ioc.ts:161

    Última actualización:

    \ 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 2ac4a6fc7..19fbb750b 100644 --- a/es/v4/api/interfaces/discordeventcommand/index.html +++ b/es/v4/api/interfaces/discordeventcommand/index.html @@ -57,7 +57,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    locals

    @@ -104,7 +104,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -121,7 +121,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -130,7 +130,7 @@ to attach metadata or configuration to modules.

    Overrides

    Module.name

    Source

    -

    src/types/core-modules.ts:297

    +

    src/types/core-modules.ts:297


    onEvent

    @@ -139,7 +139,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    plugins

    @@ -148,7 +148,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -157,7 +157,7 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:298

    +

    src/types/core-modules.ts:298

    Methods

    execute()

    @@ -170,4 +170,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:299

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:299

    Última actualización:

    \ 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 72b345356..16dcd5643 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

    Última actualización:

    \ No newline at end of file +

    src/core/interfaces.ts:17

    Última actualización:

    \ 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 c0b650af6..542e9be59 100644 --- a/es/v4/api/interfaces/emitter/index.html +++ b/es/v4/api/interfaces/emitter/index.html @@ -52,7 +52,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    this

    Source

    -

    src/core/interfaces.ts:22

    +

    src/core/interfaces.ts:22


    emit()

    @@ -64,7 +64,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    boolean

    Source

    -

    src/core/interfaces.ts:24

    +

    src/core/interfaces.ts:24


    removeListener()

    @@ -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

    Última actualización:

    \ No newline at end of file +

    src/core/interfaces.ts:23

    Última actualización:

    \ 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 1bb151315..ad66bdad2 100644 --- a/es/v4/api/interfaces/errorhandling/index.html +++ b/es/v4/api/interfaces/errorhandling/index.html @@ -54,7 +54,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    never

    Source

    -

    src/core/interfaces.ts:36

    +

    src/core/interfaces.ts:36


    updateAlive()

    @@ -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

    Última actualización:

    \ No newline at end of file +

    src/core/interfaces.ts:41

    Última actualización:

    \ 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 1c38c6dc7..c8c13db93 100644 --- a/es/v4/api/interfaces/eventmoduledefs/index.html +++ b/es/v4/api/interfaces/eventmoduledefs/index.html @@ -49,18 +49,18 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    0: DiscordEventCommand<T>

    Source

    -

    src/types/core-modules.ts:370

    +

    src/types/core-modules.ts:370


    1

    1: SernEventCommand<keyof SernEventsMapping>

    Source

    -

    src/types/core-modules.ts:369

    +

    src/types/core-modules.ts:369


    2

    2: ExternalEventCommand

    Source

    -

    src/types/core-modules.ts:371

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:371

    Última actualización:

    \ 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 25a493908..32a554a10 100644 --- a/es/v4/api/interfaces/externaleventcommand/index.html +++ b/es/v4/api/interfaces/externaleventcommand/index.html @@ -55,14 +55,14 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    emitter

    emitter: keyof Dependencies

    Source

    -

    src/types/core-modules.ts:217

    +

    src/types/core-modules.ts:217


    locals

    @@ -109,7 +109,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -126,7 +126,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -135,7 +135,7 @@ to attach metadata or configuration to modules.

    Overrides

    Module.name

    Source

    -

    src/types/core-modules.ts:216

    +

    src/types/core-modules.ts:216


    onEvent

    @@ -144,7 +144,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    plugins

    @@ -153,7 +153,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -162,7 +162,7 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:218

    +

    src/types/core-modules.ts:218

    Methods

    execute()

    @@ -175,4 +175,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:219

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:219

    Última actualización:

    \ 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 7565e15d3..4a9b6fe39 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

    Última actualización:

    \ No newline at end of file +

    src/core/interfaces.ts:9

    Última actualización:

    \ 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 f8f5654db..b120d5e3f 100644 --- a/es/v4/api/interfaces/initplugin/index.html +++ b/es/v4/api/interfaces/initplugin/index.html @@ -59,7 +59,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Plugin.execute

    Source

    -

    src/types/core-plugin.ts:49

    +

    src/types/core-plugin.ts:49


    type

    @@ -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

    Última actualización:

    \ No newline at end of file +

    src/types/core-plugin.ts:48

    Última actualización:

    \ 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 ba1e61f80..49eabc6a8 100644 --- a/es/v4/api/interfaces/logging/index.html +++ b/es/v4/api/interfaces/logging/index.html @@ -55,7 +55,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    void

    Source

    -

    src/core/interfaces.ts:52

    +

    src/core/interfaces.ts:52


    error()

    @@ -66,7 +66,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    void

    Source

    -

    src/core/interfaces.ts:49

    +

    src/core/interfaces.ts:49


    info()

    @@ -77,7 +77,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    void

    Source

    -

    src/core/interfaces.ts:51

    +

    src/core/interfaces.ts:51


    warning()

    @@ -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

    Última actualización:

    \ No newline at end of file +

    src/core/interfaces.ts:50

    Última actualización:

    \ 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 151d2e0b0..403d98eda 100644 --- a/es/v4/api/interfaces/mentionableselectcommand/index.html +++ b/es/v4/api/interfaces/mentionableselectcommand/index.html @@ -55,7 +55,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    execute()

    @@ -69,7 +69,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:269

    +

    src/types/core-modules.ts:269


    locals

    @@ -116,7 +116,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -133,7 +133,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -142,7 +142,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:123

    +

    src/types/core-modules.ts:123


    onEvent

    @@ -151,7 +151,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    plugins

    @@ -160,7 +160,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -169,4 +169,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:268

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:268

    Última actualización:

    \ 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 2dfe50b09..c455727de 100644 --- a/es/v4/api/interfaces/modalsubmitcommand/index.html +++ b/es/v4/api/interfaces/modalsubmitcommand/index.html @@ -55,7 +55,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    execute()

    @@ -69,7 +69,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:283

    +

    src/types/core-modules.ts:283


    locals

    @@ -116,7 +116,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -133,7 +133,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -142,7 +142,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:123

    +

    src/types/core-modules.ts:123


    onEvent

    @@ -151,7 +151,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    plugins

    @@ -160,7 +160,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -169,4 +169,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:282

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:282

    Última actualización:

    \ 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 5cb915369..0350cf867 100644 --- a/es/v4/api/interfaces/module/index.html +++ b/es/v4/api/interfaces/module/index.html @@ -67,7 +67,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    optional description: string

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    locals

    @@ -112,7 +112,7 @@ to attach metadata or configuration to modules.

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -127,35 +127,35 @@ to attach metadata or configuration to modules.

    id: string

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    optional name: string

    Source

    -

    src/types/core-modules.ts:123

    +

    src/types/core-modules.ts:123


    onEvent

    onEvent: ControlPlugin<any[]>[]

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    plugins

    plugins: InitPlugin<any[]>[]

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    type: CommandType | EventType

    Source

    -

    src/types/core-modules.ts:122

    +

    src/types/core-modules.ts:122

    Methods

    execute()

    @@ -166,4 +166,4 @@ to attach metadata or configuration to modules.

    Returns

    any

    Source

    -

    src/types/core-modules.ts:200

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:200

    Última actualización:

    \ 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 d3a150623..6f3b17f07 100644 --- a/es/v4/api/interfaces/plugin/index.html +++ b/es/v4/api/interfaces/plugin/index.html @@ -58,11 +58,11 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    PluginResult

    Source

    -

    src/types/core-plugin.ts:44

    +

    src/types/core-plugin.ts:44


    type

    type: PluginType

    Source

    -

    src/types/core-plugin.ts:43

    Última actualización:

    \ No newline at end of file +

    src/types/core-plugin.ts:43

    Última actualización:

    \ 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 352f9e116..15c277125 100644 --- a/es/v4/api/interfaces/roleselectcommand/index.html +++ b/es/v4/api/interfaces/roleselectcommand/index.html @@ -55,7 +55,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    execute()

    @@ -69,7 +69,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:262

    +

    src/types/core-modules.ts:262


    locals

    @@ -116,7 +116,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -133,7 +133,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -142,7 +142,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:123

    +

    src/types/core-modules.ts:123


    onEvent

    @@ -151,7 +151,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    plugins

    @@ -160,7 +160,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -169,4 +169,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:261

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:261

    Última actualización:

    \ No newline at end of file diff --git a/es/v4/api/interfaces/scheduledtask/index.html b/es/v4/api/interfaces/scheduledtask/index.html index 90b5f2638..58cdba2c2 100644 --- a/es/v4/api/interfaces/scheduledtask/index.html +++ b/es/v4/api/interfaces/scheduledtask/index.html @@ -49,21 +49,21 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    optional name: string

    Source

    -

    src/types/core-modules.ts:455

    +

    src/types/core-modules.ts:455


    timezone?

    optional timezone: string

    Source

    -

    src/types/core-modules.ts:457

    +

    src/types/core-modules.ts:457


    trigger

    trigger: string | Date

    Source

    -

    src/types/core-modules.ts:456

    +

    src/types/core-modules.ts:456

    Methods

    execute()

    @@ -75,4 +75,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    Awaitable<void>

    Source

    -

    src/types/core-modules.ts:458

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:458

    Última actualización:

    \ No newline at end of file diff --git a/es/v4/api/interfaces/sdt/index.html b/es/v4/api/interfaces/sdt/index.html index 1c0a1da8c..c37119849 100644 --- a/es/v4/api/interfaces/sdt/index.html +++ b/es/v4/api/interfaces/sdt/index.html @@ -73,7 +73,7 @@ passed through the plugin pipeline to command modules.

    Instance of application dependencies

    Source

    -

    src/types/core-modules.ts:87

    +

    src/types/core-modules.ts:87


    module

    @@ -97,7 +97,7 @@ passed through the plugin pipeline to command modules.

    name: string

    Source

    -

    src/types/core-modules.ts:109

    +

    src/types/core-modules.ts:109


    params?

    @@ -105,7 +105,7 @@ passed through the plugin pipeline to command modules.

    Optional parameters passed to the command

    Source

    -

    src/types/core-modules.ts:104

    +

    src/types/core-modules.ts:104


    state

    @@ -113,7 +113,7 @@ passed through the plugin pipeline to command modules.

    Accumulated state data passed between plugins

    Source

    -

    src/types/core-modules.ts:79

    +

    src/types/core-modules.ts:79


    type

    @@ -121,4 +121,4 @@ passed through the plugin pipeline to command modules.

    Command type identifier

    Source

    -

    src/types/core-modules.ts:95

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:95

    Última actualización:

    \ 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 cd3bbf301..3b3a7fbd5 100644 --- a/es/v4/api/interfaces/sernautocompletedata/index.html +++ b/es/v4/api/interfaces/sernautocompletedata/index.html @@ -51,14 +51,14 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    autocomplete: true

    Source

    -

    src/types/core-modules.ts:376

    +

    src/types/core-modules.ts:376


    command

    command: AutocompleteCommand

    Source

    -

    src/types/core-modules.ts:381

    +

    src/types/core-modules.ts:381


    description

    @@ -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:377

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:377

    Última actualización:

    \ 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 03e32b556..06a70ef16 100644 --- a/es/v4/api/interfaces/serneventcommand/index.html +++ b/es/v4/api/interfaces/serneventcommand/index.html @@ -57,7 +57,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    locals

    @@ -104,7 +104,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -121,7 +121,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -130,7 +130,7 @@ to attach metadata or configuration to modules.

    Overrides

    Module.name

    Source

    -

    src/types/core-modules.ts:208

    +

    src/types/core-modules.ts:208


    onEvent

    @@ -139,7 +139,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    plugins

    @@ -148,7 +148,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -157,7 +157,7 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:209

    +

    src/types/core-modules.ts:209

    Methods

    execute()

    @@ -170,4 +170,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:210

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:210

    Última actualización:

    \ 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 a5bf97582..9a52b6a5f 100644 --- a/es/v4/api/interfaces/serneventsmapping/index.html +++ b/es/v4/api/interfaces/serneventsmapping/index.html @@ -47,32 +47,32 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    error: [object]

    Source

    -

    src/types/utility.ts:12

    +

    src/types/utility.ts:12


    module.activate

    module.activate: [Payload]

    Source

    -

    src/types/utility.ts:11

    +

    src/types/utility.ts:11


    module.register

    module.register: [Payload]

    Source

    -

    src/types/utility.ts:10

    +

    src/types/utility.ts:10


    modulesLoaded

    modulesLoaded: [undefined?]

    Source

    -

    src/types/utility.ts:14

    +

    src/types/utility.ts:14


    warning

    warning: [Payload]

    Source

    -

    src/types/utility.ts:13

    Última actualización:

    \ No newline at end of file +

    src/types/utility.ts:13

    Última actualización:

    \ 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 22c7b0ec7..4445b242f 100644 --- a/es/v4/api/interfaces/sernsubcommanddata/index.html +++ b/es/v4/api/interfaces/sernsubcommanddata/index.html @@ -87,7 +87,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    optional options: SernOptionsData[]

    Source

    -

    src/types/core-modules.ts:417

    +

    src/types/core-modules.ts:417


    required?

    @@ -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:416

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:416

    Última actualización:

    \ 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 16e17c15e..39df94bb7 100644 --- a/es/v4/api/interfaces/sernsubcommandgroupdata/index.html +++ b/es/v4/api/interfaces/sernsubcommandgroupdata/index.html @@ -96,7 +96,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    optional options: SernSubCommandData[]

    Source

    -

    src/types/core-modules.ts:422

    +

    src/types/core-modules.ts:422


    required?

    @@ -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:421

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:421

    Última actualización:

    \ 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 674ca79ce..bab4a1d03 100644 --- a/es/v4/api/interfaces/slashcommand/index.html +++ b/es/v4/api/interfaces/slashcommand/index.html @@ -58,7 +58,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.description

    Source

    -

    src/types/core-modules.ts:315

    +

    src/types/core-modules.ts:315


    execute()

    @@ -72,7 +72,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:317

    +

    src/types/core-modules.ts:317


    locals

    @@ -119,7 +119,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -136,7 +136,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -145,7 +145,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:123

    +

    src/types/core-modules.ts:123


    onEvent

    @@ -154,14 +154,14 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    options?

    optional options: SernOptionsData[]

    Source

    -

    src/types/core-modules.ts:316

    +

    src/types/core-modules.ts:316


    plugins

    @@ -170,7 +170,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -179,4 +179,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:314

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:314

    Última actualización:

    \ 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 f66eece08..db7e4227a 100644 --- a/es/v4/api/interfaces/stringselectcommand/index.html +++ b/es/v4/api/interfaces/stringselectcommand/index.html @@ -55,7 +55,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    execute()

    @@ -69,7 +69,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:248

    +

    src/types/core-modules.ts:248


    locals

    @@ -116,7 +116,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -133,7 +133,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -142,7 +142,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:123

    +

    src/types/core-modules.ts:123


    onEvent

    @@ -151,7 +151,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    plugins

    @@ -160,7 +160,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -169,4 +169,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:247

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:247

    Última actualización:

    \ 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 3b7228f95..6bf655bcd 100644 --- a/es/v4/api/interfaces/textcommand/index.html +++ b/es/v4/api/interfaces/textcommand/index.html @@ -58,7 +58,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    execute()

    @@ -72,7 +72,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:307

    +

    src/types/core-modules.ts:307


    locals

    @@ -119,7 +119,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -136,7 +136,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -145,7 +145,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:123

    +

    src/types/core-modules.ts:123


    onEvent

    @@ -154,7 +154,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    plugins

    @@ -163,7 +163,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -172,4 +172,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:306

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:306

    Última actualización:

    \ 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 34aad6a19..c1d607d30 100644 --- a/es/v4/api/interfaces/userselectcommand/index.html +++ b/es/v4/api/interfaces/userselectcommand/index.html @@ -55,7 +55,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    execute()

    @@ -69,7 +69,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:276

    +

    src/types/core-modules.ts:276


    locals

    @@ -116,7 +116,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -133,7 +133,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -142,7 +142,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:123

    +

    src/types/core-modules.ts:123


    onEvent

    @@ -151,7 +151,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    plugins

    @@ -160,7 +160,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -169,4 +169,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:275

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:275

    Última actualización:

    \ No newline at end of file diff --git a/es/v4/api/interfaces/wrapper/index.html b/es/v4/api/interfaces/wrapper/index.html index 38b8735fe..659a16763 100644 --- a/es/v4/api/interfaces/wrapper/index.html +++ b/es/v4/api/interfaces/wrapper/index.html @@ -59,7 +59,7 @@ they were declared. Order of modules in each directory is not guaranteed

    Example

    1
    commands: ["./dist/commands"]

    Source

    -

    src/types/utility.ts:46

    +

    src/types/utility.ts:46


    defaultPrefix?

    @@ -72,7 +72,7 @@ will be disabled.

    Example

    1
    defaultPrefix: "?"

    Source

    -

    src/types/utility.ts:65

    +

    src/types/utility.ts:65


    events?

    @@ -87,7 +87,7 @@ Order of modules in each directory is not guaranteed.

    Example

    1
    events: ["./dist/events"]

    Source

    -

    src/types/utility.ts:77

    +

    src/types/utility.ts:77


    handleModuleErrors?

    @@ -100,7 +100,7 @@ during module execution, preventing crashes and providing error logging.

    Default

    1
    false

    Source

    -

    src/types/utility.ts:55

    +

    src/types/utility.ts:55


    tasks?

    @@ -115,4 +115,4 @@ Order of modules in each directory is not guaranteed.

    Example

    1
    tasks: ["./dist/tasks"]

    Source

    -

    src/types/utility.ts:89

    Última actualización:

    \ No newline at end of file +

    src/types/utility.ts:89

    Última actualización:

    \ No newline at end of file diff --git a/es/v4/api/namespaces/presence/interfaces/result/index.html b/es/v4/api/namespaces/presence/interfaces/result/index.html index b99a0d8a8..de3c1c735 100644 --- a/es/v4/api/namespaces/presence/interfaces/result/index.html +++ b/es/v4/api/namespaces/presence/interfaces/result/index.html @@ -47,39 +47,39 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    optional activities: ActivitiesOptions[]

    Source

    -

    src/core/presences.ts:59

    +

    src/core/presences.ts:59


    afk?

    optional afk: boolean

    Source

    -

    src/core/presences.ts:58

    +

    src/core/presences.ts:58


    onRepeat?

    optional onRepeat: PresenceReduce

    Source

    -

    src/core/presences.ts:62

    +

    src/core/presences.ts:62


    repeat?

    optional repeat: number | [Emitter, string]

    Source

    -

    src/core/presences.ts:61

    +

    src/core/presences.ts:61


    shardId?

    optional shardId: number[]

    Source

    -

    src/core/presences.ts:60

    +

    src/core/presences.ts:60


    status?

    optional status: Status

    Source

    -

    src/core/presences.ts:57

    Última actualización:

    \ No newline at end of file +

    src/core/presences.ts:57

    Última actualización:

    \ No newline at end of file diff --git a/es/v4/api/namespaces/presence/type-aliases/config/index.html b/es/v4/api/namespaces/presence/type-aliases/config/index.html index 1e2a4f54b..3c639950e 100644 --- a/es/v4/api/namespaces/presence/type-aliases/config/index.html +++ b/es/v4/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:50

    Última actualización:

    \ No newline at end of file +

    src/core/presences.ts:50

    Última actualización:

    \ 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 6998879d4..18621197e 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

    Última actualización:

    \ No newline at end of file +

    src/sern.ts:32

    Última actualización:

    \ No newline at end of file diff --git a/es/v4/api/readme/index.html b/es/v4/api/readme/index.html index 528d601e3..14928bf80 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
  • -

    Última actualización:

    \ No newline at end of file +

    Última actualización:

    \ 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 845e794cf..641e17968 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

    Última actualización:

    \ No newline at end of file +

    src/types/core-plugin.ts:55

    Última actualización:

    \ 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 db190d3a6..c0f85e6e9 100644 --- a/es/v4/api/type-aliases/commandmodule/index.html +++ b/es/v4/api/type-aliases/commandmodule/index.html @@ -47,4 +47,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Since

    1.0.0

    Source

    -

    src/types/core-modules.ts:337

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:337

    Última actualización:

    \ 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 ec028c0d7..054f2c5a9 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

    Última actualización:

    \ No newline at end of file +

    src/core/plugin.ts:137

    Última actualización:

    \ 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 17dbeeab5..c02da223d 100644 --- a/es/v4/api/type-aliases/eventmodule/index.html +++ b/es/v4/api/type-aliases/eventmodule/index.html @@ -47,4 +47,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Since

    1.0.0

    Source

    -

    src/types/core-modules.ts:332

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:332

    Última actualización:

    \ 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 276b6c342..8e1d7fc28 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

    Última actualización:

    \ No newline at end of file +

    src/core/interfaces.ts:55

    Última actualización:

    \ 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 4610a9744..6a85687a5 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

    Última actualización:

    \ No newline at end of file +

    src/types/utility.ts:17

    Última actualización:

    \ 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 5b3155484..d446adc9a 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

    Última actualización:

    \ No newline at end of file +

    src/types/core-plugin.ts:36

    Última actualización:

    \ 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 d60f03459..0e2876405 100644 --- a/es/v4/api/type-aliases/sernoptionsdata/index.html +++ b/es/v4/api/type-aliases/sernoptionsdata/index.html @@ -48,4 +48,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:408

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:408

    Última actualización:

    \ 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 cdbca339f..160c43572 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

    Última actualización:

    \ No newline at end of file +

    src/core/plugin.ts:131

    Última actualización:

    \ 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 49c688ac0..68aaf77bc 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

    Última actualización:

    \ No newline at end of file +

    src/core/presences.ts:9

    Última actualización:

    \ No newline at end of file diff --git a/es/v4/cli/about/index.html b/es/v4/cli/about/index.html index 4dd8b708c..380a0587d 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 9c95fc951..f309a75ec 100644 --- a/es/v4/cli/build/index.html +++ b/es/v4/cli/build/index.html @@ -41,9 +41,9 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem; StarlightThemeProvider.updatePickers();

    Build

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

    Terminal window
    Usage: sern build [options]
    +

    Build

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

    Terminal window
    Usage: sern build [options]
    Build your bot
    -
    Options:
    -f --format [fmt] The module system of your application. `cjs` or `esm` (default: "esm")
    -m --mode [mode] the mode for sern to build in. `production` or `development` (default: "development")
    -W --suppress-warnings suppress experimental warning
    -p --project [filePath] build with this sern.build file
    -h, --help display help for command
    +
    Options:
    -f --format [fmt] The module system of your application. `cjs` or `esm` (default: "esm")
    -m --mode [mode] the mode for sern to build in. `production` or `development` (default: "development")
    -w --watch
    --watch-command [cmd] the command for sern to watch. if watch is not enabled, an error is thrown (default: "")
    -W --suppress-warnings suppress experimental warning
    -p --project [filePath] build with the provided sern.build file
    -e --env path to .env file
    --source-maps Whether to add source-maps to configuration (default: false)
    --tsconfig [filePath] Use this tsconfig
    -h, --help display help for command

    Guiding Principles

    When designing the sern build command, our aim was to make building bot applications as simple as possible for the majority of developers. The setup process has been streamlined, and most of the configuration details have been handled for you.

    Here are some key points to keep in mind:

    @@ -71,9 +71,6 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Zero Configuration: Building your bot application without additional configuration. The CLI handles most of the setup for you.

  • -

    Experimental Image Support: We’ve introduced experimental support for top-level imports of PNG and JPG files, making it easier to include images in your bot application.

    -
  • -
  • Compile Time Constants: Customize your build with constants such as __DEV__, __PROD__, allowing you to tailor your application to different production stages.

  • @@ -94,10 +91,19 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    sern.build.js

    The sern.build.js file is for any extra configuration you may need, such as adding esbuild plugins.

    The CLI was intentionally made to be installed globally, and we can’t provide typings at a project level. If you need typings, here they are:

    -
    1
    type BuildOptions = {
    2
    /**
    3
    * Define __VERSION__
    4
    * This option is a quick switch to defining the __VERSION__ constant which will be a string of the version provided in
    5
    * cwd's package.json
    6
    */
    7
    defineVersion?: boolean;
    8
    /**
    9
    * default = esm
    10
    */
    11
    format?: "cjs" | "esm";
    12
    /**
    13
    * extra esbuild plugins to build with sern.
    14
    */
    15
    esbuildPlugins?: esbuild.Plugin[];
    16
    /**
    17
    * https://esbuild.github.io/api/#drop-labels
    18
    **/
    19
    dropLabels?: string[];
    20
    /**
    21
    * https://esbuild.github.io/api/#define
    22
    **/
    23
    define?: Record<string, string>;
    24
    /**
    25
    * Path to tsconfig
    26
    **/
    27
    tsconfig?: string;
    28
    /**
    29
    * default = 'development'
    30
    */
    31
    mode: "production" | "development";
    32
    /**
    33
    * will search for env file. If none exists,
    34
    * default to .env.
    35
    */
    36
    env?: string;
    37
    };
    +
    1
    type BuildOptions = {
    2
    /**
    3
    * Define __VERSION__
    4
    * This option is a quick switch to defining the __VERSION__ constant which will be a string of the version provided in
    5
    * cwd's package.json
    6
    */
    7
    defineVersion?: boolean;
    8
    /**
    9
    * default = esm
    10
    */
    11
    format?: "cjs" | "esm";
    12
    /**
    13
    * extra esbuild plugins to build with sern.
    14
    */
    15
    esbuildPlugins?: esbuild.Plugin[];
    16
    /**
    17
    * https://esbuild.github.io/api/#drop-labels
    18
    **/
    19
    dropLabels?: string[];
    20
    /**
    21
    * https://esbuild.github.io/api/#define
    22
    **/
    23
    define?: Record<string, string>;
    24
    /**
    25
    * Path to tsconfig
    26
    **/
    27
    tsconfig?: string;
    28
    /**
    29
    * default = 'development'
    30
    */
    31
    mode: "production" | "development";
    32
    /**
    33
    * will search for env file. If none exists,
    34
    * default to .env.
    35
    */
    36
    env?: string;
    37
    +
    38
    // options for watch
    39
    watch?: {
    40
    /**
    41
    * command to run.
    42
    * defaults to your package
    43
    * manager's start command.
    44
    */
    45
    command?: string;
    46
    }
    47
    };

    Usage

    Terminal window
    sern build

    (that was easy)

    +

    sern build —watch

    +

    the watch flag needs a start command. Depending on the lock file in your project, sern will run this command to reload your project. the build command checks in this order:

    +
    1
    // custom defined watchCommand
    2
    if(watchCommand) return watchCommand
    3
    // npm
    4
    if (pathExistsSync('package-lock.json')) return 'npm start';
    5
    // yarn
    6
    if (pathExistsSync('yarn.lock')) return 'yarn start';
    7
    // pnpm
    8
    if (pathExistsSync('pnpm-lock.yaml')) return 'pnpm start';
    9
    // bun 1.1
    10
    if (pathExistsSync('bun.lockb')) return 'bun start';
    11
    // bun 1.2
    12
    if (pathExistsSync('bun.lock')) return 'bun start';
    + + + +

    Adapting Older Projects

    Change your tsconfig.json to extend our generated one, ./.sern/tsconfig.json.

    1
    {
    2
    "extends": "./.sern/tsconfig.json",
    3
    "compilerOptions": {
    4
    // all of your old fields
    5
    }
    6
    }
    @@ -113,4 +119,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 b340f46c2..184167325 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;
    • The clear command will prompt you to confirm the action. You can bypass this by using the -y flag.
    • The clear command will automatically read a .env file in the working directory. If you need to override this, you can use the -e flag to supply a path to a different .env file.
    • -
    \ 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 68165005c..b7c85b5e8 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 e0d00ecba..da2c55100 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 c35d0b7e5..f70c6b9f0 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 42d499555..2e0a3e09e 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 34f1fe6dd..54d6c7c08 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 0681ef981..dab45978a 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 c7f425c52..94e811c04 100644 --- a/es/v4/reference/error-handling/index.html +++ b/es/v4/reference/error-handling/index.html @@ -56,4 +56,4 @@ set handleModuleErrors<

    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 c8946d07e..507fdc379 100644 --- a/es/v4/reference/getting-started/index.html +++ b/es/v4/reference/getting-started/index.html @@ -54,4 +54,4 @@ If you’re not familiar with how to get a bot token, you can follow the tutoria

    Step 4: Run the bot!

    A development command inside the CLI is in the works. For now, you have to restart the bot manually for your changes to take effect.

    Terminal window
    npm run build && npm start
    -

    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/v4/reference/goal/index.html b/es/v4/reference/goal/index.html index 03a43717c..3e735b217 100644 --- a/es/v4/reference/goal/index.html +++ b/es/v4/reference/goal/index.html @@ -53,4 +53,4 @@ Some advocate to build your own abstractions, use clunky archaic codeba
  • Concise: Too much code is a liability. With sern, write less for more. 🤯
  • Our community

    -

    As of 01/23/2025, our discord is considered small, but it is no excuse for helping those who want to build bots with us. Feel free to join us!

    \ No newline at end of file +

    As of 01/23/2025, our discord is considered small, but it is no excuse for helping those who want to build bots with us. Feel free to join us!

    \ No newline at end of file diff --git a/es/v4/reference/modules/index.html b/es/v4/reference/modules/index.html index 98825f1d5..71e416332 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 9405afd93..4c7075a98 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 4eba46232..a3a5209d5 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 9e17e526b..f2e957848 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 +
    • 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 diff --git a/es/v4/reference/tasks/index.html b/es/v4/reference/tasks/index.html index 54195157b..f770983fb 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 99a6475ac..a3f063a64 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 7fdacfe2d..3a726fcf9 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 101ca4c0c..e6a24b9c4 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 cc28af854..1dcb64224 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 39e44cc12..e93bbdeaa 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 881c14b5b..057613876 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 b39b9e993..f971c7e64 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 85ee2d684..2d1f5387c 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

    -
    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!

    Vinci

    Vinci

    The discord bot for Mara Turing

    Albion Guide

    Albion Guide

    Gets info about The First Descendant Game.

    SmokinWeed 💨

    SmokinWeed 💨

    Small moderation bot

    ezbd

    ezbd

    A simple birthday reminder bot

    Bask

    Bask

    A discord music bot

    man-nomic

    man-nomic

    Displays LLM model information

    +
    man-nomic

    man-nomic

    Displays LLM model information

    Bask

    Bask

    A discord music bot

    Albion Guide

    Albion Guide

    Gets info about The First Descendant Game.

    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!

    SmokinWeed 💨

    SmokinWeed 💨

    Small moderation bot

    ezbd

    ezbd

    A simple birthday reminder bot

    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_1a2ad09.pf_fragment b/pagefind/fragment/en_1a2ad09.pf_fragment deleted file mode 100644 index 441d43e72..000000000 Binary files a/pagefind/fragment/en_1a2ad09.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_9839996.pf_fragment b/pagefind/fragment/en_9839996.pf_fragment deleted file mode 100644 index 78d6d0ae5..000000000 Binary files a/pagefind/fragment/en_9839996.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_b8ddf54.pf_fragment b/pagefind/fragment/en_b8ddf54.pf_fragment new file mode 100644 index 000000000..15bdae4b3 Binary files /dev/null and b/pagefind/fragment/en_b8ddf54.pf_fragment differ diff --git a/pagefind/fragment/en_baec24d.pf_fragment b/pagefind/fragment/en_baec24d.pf_fragment deleted file mode 100644 index f331d43cf..000000000 Binary files a/pagefind/fragment/en_baec24d.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_bf94f6d.pf_fragment b/pagefind/fragment/en_bf94f6d.pf_fragment new file mode 100644 index 000000000..b68159243 Binary files /dev/null and b/pagefind/fragment/en_bf94f6d.pf_fragment differ diff --git a/pagefind/fragment/en_c0152a4.pf_fragment b/pagefind/fragment/en_c0152a4.pf_fragment new file mode 100644 index 000000000..6a1827441 Binary files /dev/null and b/pagefind/fragment/en_c0152a4.pf_fragment differ diff --git a/pagefind/fragment/es_3a4622a.pf_fragment b/pagefind/fragment/es_3a4622a.pf_fragment deleted file mode 100644 index 603037978..000000000 Binary files a/pagefind/fragment/es_3a4622a.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/es_4cac41c.pf_fragment b/pagefind/fragment/es_4cac41c.pf_fragment new file mode 100644 index 000000000..61ae4c711 Binary files /dev/null and b/pagefind/fragment/es_4cac41c.pf_fragment differ diff --git a/pagefind/fragment/es_605bf5f.pf_fragment b/pagefind/fragment/es_605bf5f.pf_fragment new file mode 100644 index 000000000..913114b3d Binary files /dev/null and b/pagefind/fragment/es_605bf5f.pf_fragment differ diff --git a/pagefind/fragment/es_92ff2cd.pf_fragment b/pagefind/fragment/es_92ff2cd.pf_fragment deleted file mode 100644 index ca2b06ad9..000000000 Binary files a/pagefind/fragment/es_92ff2cd.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/tr_2e6722d.pf_fragment b/pagefind/fragment/tr_2e6722d.pf_fragment new file mode 100644 index 000000000..ec55a0769 Binary files /dev/null and b/pagefind/fragment/tr_2e6722d.pf_fragment differ diff --git a/pagefind/fragment/tr_34d9e96.pf_fragment b/pagefind/fragment/tr_34d9e96.pf_fragment deleted file mode 100644 index 822044e43..000000000 Binary files a/pagefind/fragment/tr_34d9e96.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/tr_bd50bef.pf_fragment b/pagefind/fragment/tr_bd50bef.pf_fragment new file mode 100644 index 000000000..2505aec45 Binary files /dev/null and b/pagefind/fragment/tr_bd50bef.pf_fragment differ diff --git a/pagefind/fragment/tr_dd35bf0.pf_fragment b/pagefind/fragment/tr_dd35bf0.pf_fragment deleted file mode 100644 index af21e229e..000000000 Binary files a/pagefind/fragment/tr_dd35bf0.pf_fragment and /dev/null differ diff --git a/pagefind/index/en_15bbee6.pf_index b/pagefind/index/en_15bbee6.pf_index new file mode 100644 index 000000000..1d5e66416 Binary files /dev/null and b/pagefind/index/en_15bbee6.pf_index differ diff --git a/pagefind/index/en_4a71b42.pf_index b/pagefind/index/en_4a71b42.pf_index deleted file mode 100644 index 4ab6d1eac..000000000 Binary files a/pagefind/index/en_4a71b42.pf_index and /dev/null differ diff --git a/pagefind/index/en_aef190b.pf_index b/pagefind/index/en_aef190b.pf_index new file mode 100644 index 000000000..aa954357f Binary files /dev/null and b/pagefind/index/en_aef190b.pf_index differ diff --git a/pagefind/index/en_baab1b6.pf_index b/pagefind/index/en_baab1b6.pf_index deleted file mode 100644 index 0f7323c07..000000000 Binary files a/pagefind/index/en_baab1b6.pf_index and /dev/null differ diff --git a/pagefind/index/en_c87fbd7.pf_index b/pagefind/index/en_c87fbd7.pf_index new file mode 100644 index 000000000..b0c07d230 Binary files /dev/null and b/pagefind/index/en_c87fbd7.pf_index differ diff --git a/pagefind/index/en_cfb84d8.pf_index b/pagefind/index/en_cfb84d8.pf_index new file mode 100644 index 000000000..6e3b0d2c6 Binary files /dev/null and b/pagefind/index/en_cfb84d8.pf_index differ diff --git a/pagefind/index/en_ee27fa3.pf_index b/pagefind/index/en_ee27fa3.pf_index deleted file mode 100644 index 6805895ae..000000000 Binary files a/pagefind/index/en_ee27fa3.pf_index and /dev/null differ diff --git a/pagefind/index/en_f49c13f.pf_index b/pagefind/index/en_f49c13f.pf_index deleted file mode 100644 index cd8f1f63e..000000000 Binary files a/pagefind/index/en_f49c13f.pf_index and /dev/null differ diff --git a/pagefind/index/es_2ebec6e.pf_index b/pagefind/index/es_2ebec6e.pf_index new file mode 100644 index 000000000..5353dbc59 Binary files /dev/null and b/pagefind/index/es_2ebec6e.pf_index differ diff --git a/pagefind/index/es_5394a57.pf_index b/pagefind/index/es_5394a57.pf_index new file mode 100644 index 000000000..f0e21458f Binary files /dev/null and b/pagefind/index/es_5394a57.pf_index differ diff --git a/pagefind/index/es_53e7648.pf_index b/pagefind/index/es_53e7648.pf_index new file mode 100644 index 000000000..d0d947cfd Binary files /dev/null and b/pagefind/index/es_53e7648.pf_index differ diff --git a/pagefind/index/es_6eb58cc.pf_index b/pagefind/index/es_6eb58cc.pf_index deleted file mode 100644 index b1b7c0515..000000000 Binary files a/pagefind/index/es_6eb58cc.pf_index and /dev/null differ diff --git a/pagefind/index/es_801cc12.pf_index b/pagefind/index/es_801cc12.pf_index deleted file mode 100644 index f2b5dbe39..000000000 Binary files a/pagefind/index/es_801cc12.pf_index and /dev/null differ diff --git a/pagefind/index/es_b617272.pf_index b/pagefind/index/es_b617272.pf_index deleted file mode 100644 index 30532c3fe..000000000 Binary files a/pagefind/index/es_b617272.pf_index and /dev/null differ diff --git a/pagefind/index/es_bebffc9.pf_index b/pagefind/index/es_bebffc9.pf_index deleted file mode 100644 index 1cd0b5a94..000000000 Binary files a/pagefind/index/es_bebffc9.pf_index and /dev/null differ diff --git a/pagefind/index/es_dbb973c.pf_index b/pagefind/index/es_dbb973c.pf_index new file mode 100644 index 000000000..6b49baeb7 Binary files /dev/null and b/pagefind/index/es_dbb973c.pf_index differ diff --git a/pagefind/index/tr_568a353.pf_index b/pagefind/index/tr_568a353.pf_index deleted file mode 100644 index c0478b5cd..000000000 Binary files a/pagefind/index/tr_568a353.pf_index and /dev/null differ diff --git a/pagefind/index/tr_5fe7c36.pf_index b/pagefind/index/tr_5fe7c36.pf_index new file mode 100644 index 000000000..7b1e11cfe Binary files /dev/null and b/pagefind/index/tr_5fe7c36.pf_index differ diff --git a/pagefind/index/tr_6e3fe28.pf_index b/pagefind/index/tr_6e3fe28.pf_index deleted file mode 100644 index 5ac09915c..000000000 Binary files a/pagefind/index/tr_6e3fe28.pf_index and /dev/null differ diff --git a/pagefind/index/tr_892b51b.pf_index b/pagefind/index/tr_892b51b.pf_index deleted file mode 100644 index 4317f3c17..000000000 Binary files a/pagefind/index/tr_892b51b.pf_index and /dev/null differ diff --git a/pagefind/index/tr_d712857.pf_index b/pagefind/index/tr_d712857.pf_index deleted file mode 100644 index 4a6d65806..000000000 Binary files a/pagefind/index/tr_d712857.pf_index and /dev/null differ diff --git a/pagefind/index/tr_dfce156.pf_index b/pagefind/index/tr_dfce156.pf_index new file mode 100644 index 000000000..3fcae0f9d Binary files /dev/null and b/pagefind/index/tr_dfce156.pf_index differ diff --git a/pagefind/index/tr_f995fa1.pf_index b/pagefind/index/tr_f995fa1.pf_index new file mode 100644 index 000000000..8d605e381 Binary files /dev/null and b/pagefind/index/tr_f995fa1.pf_index differ diff --git a/pagefind/index/tr_fb5d2ca.pf_index b/pagefind/index/tr_fb5d2ca.pf_index new file mode 100644 index 000000000..95b22dba0 Binary files /dev/null and b/pagefind/index/tr_fb5d2ca.pf_index differ diff --git a/pagefind/pagefind-entry.json b/pagefind/pagefind-entry.json index 21cd10b64..c0bb81b86 100644 --- a/pagefind/pagefind-entry.json +++ b/pagefind/pagefind-entry.json @@ -1 +1 @@ -{"version":"1.3.0","languages":{"es":{"hash":"es_dd37bf98ad","wasm":"es","page_count":190},"en":{"hash":"en_35b267f270","wasm":"en","page_count":192},"tr":{"hash":"tr_447d1cf473","wasm":"tr","page_count":190}}} \ No newline at end of file +{"version":"1.3.0","languages":{"en":{"hash":"en_3ac892a155","wasm":"en","page_count":192},"es":{"hash":"es_4f326ed1e0","wasm":"es","page_count":190},"tr":{"hash":"tr_70365cfc28","wasm":"tr","page_count":190}}} \ No newline at end of file diff --git a/pagefind/pagefind.en_35b267f270.pf_meta b/pagefind/pagefind.en_35b267f270.pf_meta deleted file mode 100644 index 5fb275663..000000000 Binary files a/pagefind/pagefind.en_35b267f270.pf_meta and /dev/null differ diff --git a/pagefind/pagefind.en_3ac892a155.pf_meta b/pagefind/pagefind.en_3ac892a155.pf_meta new file mode 100644 index 000000000..9bde5dab6 Binary files /dev/null and b/pagefind/pagefind.en_3ac892a155.pf_meta differ diff --git a/pagefind/pagefind.es_4f326ed1e0.pf_meta b/pagefind/pagefind.es_4f326ed1e0.pf_meta new file mode 100644 index 000000000..bce7dda15 Binary files /dev/null and b/pagefind/pagefind.es_4f326ed1e0.pf_meta differ diff --git a/pagefind/pagefind.es_dd37bf98ad.pf_meta b/pagefind/pagefind.es_dd37bf98ad.pf_meta deleted file mode 100644 index 4a29186c0..000000000 Binary files a/pagefind/pagefind.es_dd37bf98ad.pf_meta and /dev/null differ diff --git a/pagefind/pagefind.tr_447d1cf473.pf_meta b/pagefind/pagefind.tr_447d1cf473.pf_meta deleted file mode 100644 index e33fc5445..000000000 Binary files a/pagefind/pagefind.tr_447d1cf473.pf_meta and /dev/null differ diff --git a/pagefind/pagefind.tr_70365cfc28.pf_meta b/pagefind/pagefind.tr_70365cfc28.pf_meta new file mode 100644 index 000000000..6708249ab Binary files /dev/null and b/pagefind/pagefind.tr_70365cfc28.pf_meta differ diff --git a/plugins/index.html b/plugins/index.html index 5a8aa12a4..50c8b1658 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 824d37941..1d72d5dbd 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
    • TypeScript has been updated to 4.8.3
    • Discord.js has been upgraded to 14.5
    • -
    \ 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 50ade4e29..8d037db2e 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 274192359..409e49ee1 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 ab0dad330..0da474469 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 1b4da55b2..95dfbf1e9 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 480880f25..b1809b8d7 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 74e5ef996..af6b7ed0d 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.

    man-nomic

    man-nomic

    Displays LLM model information

    sern Community

    sern Community

    The bot used to manage sern Community

    Vinci

    Vinci

    The discord bot for Mara Turing

    ezbd

    ezbd

    A simple birthday reminder bot

    Discoin

    Discoin

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

    SmokinWeed 💨

    SmokinWeed 💨

    Small moderation 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!

    Bask

    Bask

    A discord music bot

    ezbd

    ezbd

    A simple birthday reminder bot

    sern Community

    sern Community

    The bot used to manage sern Community

    Albion Guide

    Albion Guide

    Gets info about The First Descendant Game.

    Vinci

    Vinci

    The discord bot for Mara Turing

    SmokinWeed 💨

    SmokinWeed 💨

    Small moderation bot

    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 ecbf00962..9c75e9292 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

    Son güncelleme:

    \ No newline at end of file +

    src/core/structures/context.ts:113

    Son güncelleme:

    \ 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 c8d079a68..915b66ec0 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

    Son güncelleme:

    \ No newline at end of file +

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

    Son güncelleme:

    \ 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 150952336..26c298d0e 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

    Son güncelleme:

    \ No newline at end of file +

    src/core/structures/enums.ts:26

    Son güncelleme:

    \ 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 b81fa6b01..caba10cf5 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

    Son güncelleme:

    \ No newline at end of file +

    src/core/structures/enums.ts:55

    Son güncelleme:

    \ 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 48dd936c2..e243fde4f 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

    Son güncelleme:

    \ No newline at end of file +

    src/core/structures/enums.ts:102

    Son güncelleme:

    \ 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 6725f1a20..8a2a0e527 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

    Son güncelleme:

    \ No newline at end of file +

    src/core/structures/enums.ts:81

    Son güncelleme:

    \ 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 e31e6b6d7..0932e1fde 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

    Son güncelleme:

    \ No newline at end of file +

    src/core/create-plugins.ts:37

    Son güncelleme:

    \ 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 4e0cc3c5e..4525b541e 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

    Son güncelleme:

    \ No newline at end of file +

    src/core/create-plugins.ts:28

    Son güncelleme:

    \ 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 6ce35c0cf..0424d34e8 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

    Son güncelleme:

    \ No newline at end of file +

    src/core/modules.ts:19

    Son güncelleme:

    \ 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 0b6d2b103..f94754b79 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

    Son güncelleme:

    \ No newline at end of file +

    src/core/modules.ts:47

    Son güncelleme:

    \ 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 b674f6dd0..8c66235da 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

    Son güncelleme:

    \ No newline at end of file +

    src/core/create-plugins.ts:58

    Son güncelleme:

    \ 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 a6b6106f9..7a1ac6e42 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

    Son güncelleme:

    \ No newline at end of file +

    src/core/create-plugins.ts:46

    Son güncelleme:

    \ 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 24d8633fd..bde509551 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

    Son güncelleme:

    \ No newline at end of file +

    src/core/create-plugins.ts:19

    Son güncelleme:

    \ 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 7af99872b..4dd3d40a1 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

    Son güncelleme:

    \ No newline at end of file +

    src/core/modules.ts:32

    Son güncelleme:

    \ 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 d805f8614..c3664fc1d 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

    Son güncelleme:

    \ No newline at end of file +

    src/core/ioc/base.ts:144

    Son güncelleme:

    \ 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 4db88f8ab..c3a8e647a 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

    Son güncelleme:

    \ No newline at end of file +

    src/core/create-plugins.ts:6

    Son güncelleme:

    \ 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 169eb62f9..dc2bfec09 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

    Son güncelleme:

    \ No newline at end of file +

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

    Son güncelleme:

    \ 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 e983f676d..199ad155e 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

    Son güncelleme:

    \ No newline at end of file +

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

    Son güncelleme:

    \ 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 46fc1925a..429e7b484 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

    Son güncelleme:

    \ No newline at end of file +

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

    Son güncelleme:

    \ 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 b3257554a..0623cb960 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

    Son güncelleme:

    \ No newline at end of file +

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

    Son güncelleme:

    \ 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 dd8e62fe3..4707c5b63 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

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:124

    Son güncelleme:

    \ 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 ceb57c402..c8286f5cd 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

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:64

    Son güncelleme:

    \ 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 93866a67d..aa574d685 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

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:74

    Son güncelleme:

    \ 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 74f925ebf..6591c22b5 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

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:153

    Son güncelleme:

    \ 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 83f05ab5b..47324a947 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

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:59

    Son güncelleme:

    \ 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 7b9dc8153..92a306dea 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

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:54

    Son güncelleme:

    \ 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 6b19ee5fc..878556cc5 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

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-plugin.ts:60

    Son güncelleme:

    \ 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 78fbfb7a7..d60c79895 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

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-plugin.ts:72

    Son güncelleme:

    \ 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 0af45379a..5045e4468 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

    Son güncelleme:

    \ No newline at end of file +

    src/types/ioc.ts:34

    Son güncelleme:

    \ 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 d31f31469..839dafe72 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

    Son güncelleme:

    \ No newline at end of file +

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

    Son güncelleme:

    \ 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 3f78b343b..4a5ebc143 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

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:108

    Son güncelleme:

    \ 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 3f83f3796..ca71faab4 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

    Son güncelleme:

    \ No newline at end of file +

    src/core/contracts/hooks.ts:15

    Son güncelleme:

    \ 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 8a3bddb79..f1350622a 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

    Son güncelleme:

    \ No newline at end of file +

    src/core/contracts/emitter.ts:7

    Son güncelleme:

    \ 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 aa878ac9f..8820e67b1 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

    Son güncelleme:

    \ No newline at end of file +

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

    Son güncelleme:

    \ 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 bcbe16eb4..dae3d059b 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

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:167

    Son güncelleme:

    \ 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 b1a4d98f1..2d10eb663 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

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:50

    Son güncelleme:

    \ 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 7b9d4dd8b..9a6438860 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

    Son güncelleme:

    \ No newline at end of file +

    src/core/contracts/hooks.ts:7

    Son güncelleme:

    \ 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 46ba062a8..606dfe12b 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

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-plugin.ts:68

    Son güncelleme:

    \ 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 234ec00a7..058987c50 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

    Son güncelleme:

    \ No newline at end of file +

    src/core/contracts/logging.ts:6

    Son güncelleme:

    \ 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 ba200b5e3..a27877f84 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

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:84

    Son güncelleme:

    \ 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 87b41fe5a..d54d4bd15 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

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:94

    Son güncelleme:

    \ 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 706824f71..8d5f146fb 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

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-plugin.ts:63

    Son güncelleme:

    \ 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 ce18e463b..2d433d80d 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

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:79

    Son güncelleme:

    \ 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 7050c01a8..ab6cef10d 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

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:173

    Son güncelleme:

    \ 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 05fea3587..885666542 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

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:44

    Son güncelleme:

    \ 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 0bc95bafb..a1bd8f7be 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

    Son güncelleme:

    \ No newline at end of file +

    src/types/utility.ts:22

    Son güncelleme:

    \ 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 459000f6a..cd76107ec 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

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:208

    Son güncelleme:

    \ 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 47e401554..3c3d7c12e 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

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:213

    Son güncelleme:

    \ 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 931c5ed76..130042b8b 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

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:117

    Son güncelleme:

    \ 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 d92ecff51..f5f48ec45 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

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:69

    Son güncelleme:

    \ 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 46f3bb601..16cb5c96b 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

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:111

    Son güncelleme:

    \ 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 502fdd29b..f07cacf85 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

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:89

    Son güncelleme:

    \ 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 80c1f69b7..91bd71863 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

    Son güncelleme:

    \ No newline at end of file +

    src/types/core.ts:16

    Son güncelleme:

    \ 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 7590d8ea3..8eb12319d 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

    Son güncelleme:

    \ No newline at end of file +

    src/core/presences.ts:28

    Son güncelleme:

    \ 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 cc19ed0c3..99cee512a 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

    Son güncelleme:

    \ No newline at end of file +

    src/core/presences.ts:37

    Son güncelleme:

    \ 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 4a34ac520..a05d504ce 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

    Son güncelleme:

    \ No newline at end of file +

    src/core/presences.ts:9

    Son güncelleme:

    \ 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 10c0b8773..da879edae 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

    Son güncelleme:

    \ No newline at end of file +

    src/core/presences.ts:17

    Son güncelleme:

    \ 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 ae0ba82b0..ace9793ab 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

    Son güncelleme:

    \ No newline at end of file +

    src/sern.ts:26

    Son güncelleme:

    \ No newline at end of file diff --git a/tr/v3/api/readme/index.html b/tr/v3/api/readme/index.html index 94788186f..a82e46b2f 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
  • -

    Son güncelleme:

    \ No newline at end of file +

    Son güncelleme:

    \ 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 00b9e18f3..af5a8d4a0 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

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-plugin.ts:76

    Son güncelleme:

    \ 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 c223a83e4..4626d429a 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

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-plugin.ts:77

    Son güncelleme:

    \ 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 da5f769c5..ddb508206 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

    Son güncelleme:

    \ No newline at end of file +

    src/types/utility.ts:16

    Son güncelleme:

    \ 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 441ea3a95..6d53eb196 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

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:132

    Son güncelleme:

    \ 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 d26939093..6813d713e 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

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:131

    Son güncelleme:

    \ 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 ff7ee47ba..54a553723 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

    Son güncelleme:

    \ No newline at end of file +

    src/types/ioc.ts:17

    Son güncelleme:

    \ 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 a38e9eb04..f822792b2 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

    Son güncelleme:

    \ No newline at end of file +

    src/core/contracts/logging.ts:11

    Son güncelleme:

    \ 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 345b996af..d56c9bf24 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

    Son güncelleme:

    \ No newline at end of file +

    src/types/utility.ts:26

    Son güncelleme:

    \ 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 6ea31b243..ca71f8e4d 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

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-plugin.ts:51

    Son güncelleme:

    \ 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 1845f6229..6c03e050b 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

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:200

    Son güncelleme:

    \ 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 f3d624839..116f43f76 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

    Son güncelleme:

    \ No newline at end of file +

    src/types/ioc.ts:7

    Son güncelleme:

    \ 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 de9952aa2..5781c0e3d 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

    Son güncelleme:

    \ No newline at end of file +

    src/types/utility.ts:14

    Son güncelleme:

    \ 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 ef28e934c..14e0ad82b 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

    Son güncelleme:

    \ No newline at end of file +

    src/types/ioc.ts:12

    Son güncelleme:

    \ 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 d5a6b09cd..5867fa0f0 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

    Son güncelleme:

    \ No newline at end of file +

    src/core/create-plugins.ts:69

    Son güncelleme:

    \ No newline at end of file diff --git a/tr/v3/cli/about/index.html b/tr/v3/cli/about/index.html index ca68caaae..423508e36 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 a88c46e11..007fc02fe 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 b60bcbcfa..1f6ebd0f2 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;
    • The clear command will prompt you to confirm the action. You can bypass this by using the -y flag.
    • The clear command will automatically read a .env file in the working directory. If you need to override this, you can use the -e flag to supply a path to a different .env file.
    • -
    \ 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 4023ea550..f18a9fa09 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 f07d9ee16..1d67169f5 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 2a853da61..a376c790f 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 a5e936f25..945e715af 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 dbab25e65..76e56f32f 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 af4130dc6..bdccd6b0b 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 4887c7ea4..5dfc90f53 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 930bbe13a..ead382db2 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 ad1bee8aa..5e4f5d2ca 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 f1e24f6d9..4c7ae31d1 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 f2b661e47..c407f018a 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 b46d52025..9e6352e00 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 1a4bdbdc1..e0ffb9d0c 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 8944223b6..4b14fa4c5 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 7bb2371ff..80f12d847 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 d081ad13d..28354b534 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;
    • Use Service for single dependency.
    • Use Services for multiple dependencies.
    • -
    \ 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 15a56b335..a0a6cd532 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:

    • Dizinsrc -
      • Dizincommands/
      • Dizinevents/
      • Dizinplugins/
      • dependencies.d.ts
      • index.ts
    • .env
    • .gitignore
    • bun.lockb
    • package.json
    • README.md
    • sern.config.json
    • tsconfig.json
    \ No newline at end of file +
    • Dizincommands/
    • Dizinevents/
    • Dizinplugins/
    • dependencies.d.ts
    • index.ts
  • .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 5f71d3e93..e8b44425a 100644 --- a/tr/v4/api/classes/context/index.html +++ b/tr/v4/api/classes/context/index.html @@ -53,7 +53,7 @@ Message and ChatInputCommandInteraction

    Returns

    null | TextBasedChannel

    Source

    -

    src/core/structures/context.ts:43

    +

    src/core/structures/context.ts:43


    channelId

    @@ -62,7 +62,7 @@ Message and ChatInputCommandInteraction

    Returns

    string

    Source

    -

    src/core/structures/context.ts:47

    +

    src/core/structures/context.ts:47


    client

    @@ -71,7 +71,7 @@ Message and ChatInputCommandInteraction

    Returns

    Client<boolean>

    Source

    -

    src/core/structures/context.ts:107

    +

    src/core/structures/context.ts:107


    createdTimestamp

    @@ -80,7 +80,7 @@ Message and ChatInputCommandInteraction

    Returns

    number

    Source

    -

    src/core/structures/context.ts:67

    +

    src/core/structures/context.ts:67


    guild

    @@ -89,7 +89,7 @@ Message and ChatInputCommandInteraction

    Returns

    null | Guild

    Source

    -

    src/core/structures/context.ts:71

    +

    src/core/structures/context.ts:71


    guildId

    @@ -98,7 +98,7 @@ Message and ChatInputCommandInteraction

    Returns

    null | string

    Source

    -

    src/core/structures/context.ts:75

    +

    src/core/structures/context.ts:75


    id

    @@ -107,7 +107,7 @@ Message and ChatInputCommandInteraction

    Returns

    string

    Source

    -

    src/core/structures/context.ts:39

    +

    src/core/structures/context.ts:39


    inGuild

    @@ -116,7 +116,7 @@ Message and ChatInputCommandInteraction

    Returns

    boolean

    Source

    -

    src/core/structures/context.ts:111

    +

    src/core/structures/context.ts:111


    interaction

    @@ -125,7 +125,7 @@ Message and ChatInputCommandInteraction

    Returns

    ChatInputCommandInteraction<CacheType>

    Source

    -

    src/core/structures/context.ts:99

    +

    src/core/structures/context.ts:99


    member

    @@ -134,7 +134,7 @@ Message and ChatInputCommandInteraction

    Returns

    null | GuildMember | APIInteractionGuildMember

    Source

    -

    src/core/structures/context.ts:81

    +

    src/core/structures/context.ts:81


    message

    @@ -143,7 +143,7 @@ Message and ChatInputCommandInteraction

    Returns

    Message<boolean>

    Source

    -

    src/core/structures/context.ts:85

    +

    src/core/structures/context.ts:85


    options

    @@ -152,7 +152,7 @@ Message and ChatInputCommandInteraction

    Returns

    string[] | Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused">

    Source

    -

    src/core/structures/context.ts:25

    +

    src/core/structures/context.ts:25


    prefix

    @@ -161,7 +161,7 @@ Message and ChatInputCommandInteraction

    Returns

    undefined | string

    Source

    -

    src/core/structures/context.ts:36

    +

    src/core/structures/context.ts:36


    user

    @@ -172,7 +172,7 @@ else, interaction.user

    Returns

    User

    Source

    -

    src/core/structures/context.ts:55

    +

    src/core/structures/context.ts:55


    userId

    @@ -181,7 +181,7 @@ else, interaction.user

    Returns

    string

    Source

    -

    src/core/structures/context.ts:63

    +

    src/core/structures/context.ts:63

    Methods

    isMessage()

    @@ -190,7 +190,7 @@ else, interaction.user

    Returns

    this is Context & Object

    Source

    -

    src/core/structures/context.ts:91

    +

    src/core/structures/context.ts:91


    isSlash()

    @@ -199,7 +199,7 @@ else, interaction.user

    Returns

    this is Context & Object

    Source

    -

    src/core/structures/context.ts:95

    +

    src/core/structures/context.ts:95


    reply()

    @@ -210,7 +210,7 @@ else, interaction.user

    Returns

    Promise<Message<boolean>>

    Source

    -

    src/core/structures/context.ts:115

    +

    src/core/structures/context.ts:115


    wrap()

    @@ -222,4 +222,4 @@ else, interaction.user

    Returns

    Context

    Source

    -

    src/core/structures/context.ts:124

    Son güncelleme:

    \ No newline at end of file +

    src/core/structures/context.ts:124

    Son güncelleme:

    \ 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 746ff3609..71b40bd9f 100644 --- a/tr/v4/api/enumerations/commandtype/index.html +++ b/tr/v4/api/enumerations/commandtype/index.html @@ -52,81 +52,81 @@ A bitfield that discriminates command modules

    Both: 3

    Source

    -

    src/core/structures/enums.ts:20

    +

    src/core/structures/enums.ts:20


    Button

    Button: 16

    Source

    -

    src/core/structures/enums.ts:23

    +

    src/core/structures/enums.ts:23


    ChannelSelect

    ChannelSelect: 1024

    Source

    -

    src/core/structures/enums.ts:29

    +

    src/core/structures/enums.ts:29


    CtxMsg

    CtxMsg: 8

    Source

    -

    src/core/structures/enums.ts:22

    +

    src/core/structures/enums.ts:22


    CtxUser

    CtxUser: 4

    Source

    -

    src/core/structures/enums.ts:21

    +

    src/core/structures/enums.ts:21


    MentionableSelect

    MentionableSelect: 512

    Source

    -

    src/core/structures/enums.ts:28

    +

    src/core/structures/enums.ts:28


    Modal: 64

    Source

    -

    src/core/structures/enums.ts:25

    +

    src/core/structures/enums.ts:25


    RoleSelect

    RoleSelect: 256

    Source

    -

    src/core/structures/enums.ts:27

    +

    src/core/structures/enums.ts:27


    Slash

    Slash: 2

    Source

    -

    src/core/structures/enums.ts:19

    +

    src/core/structures/enums.ts:19


    StringSelect

    StringSelect: 32

    Source

    -

    src/core/structures/enums.ts:24

    +

    src/core/structures/enums.ts:24


    Text

    Text: 1

    Source

    -

    src/core/structures/enums.ts:18

    +

    src/core/structures/enums.ts:18


    UserSelect

    UserSelect: 128

    Source

    -

    src/core/structures/enums.ts:26

    Son güncelleme:

    \ No newline at end of file +

    src/core/structures/enums.ts:26

    Son güncelleme:

    \ 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 7ebf2e0aa..b90f9342f 100644 --- a/tr/v4/api/enumerations/eventtype/index.html +++ b/tr/v4/api/enumerations/eventtype/index.html @@ -51,7 +51,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    The EventType for handling discord events

    Source

    -

    src/core/structures/enums.ts:51

    +

    src/core/structures/enums.ts:51


    External

    @@ -60,7 +60,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    The EventType for handling external events. Could be for example, process events, database events

    Source

    -

    src/core/structures/enums.ts:60

    +

    src/core/structures/enums.ts:60


    Sern

    @@ -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

    Son güncelleme:

    \ No newline at end of file +

    src/core/structures/enums.ts:55

    Son güncelleme:

    \ 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 5db0732ee..ecd5f6187 100644 --- a/tr/v4/api/enumerations/payloadtype/index.html +++ b/tr/v4/api/enumerations/payloadtype/index.html @@ -50,18 +50,18 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Failure: "failure"

    Source

    -

    src/core/structures/enums.ts:93

    +

    src/core/structures/enums.ts:93


    Success

    Success: "success"

    Source

    -

    src/core/structures/enums.ts:92

    +

    src/core/structures/enums.ts:92


    Warning

    Warning: "warning"

    Source

    -

    src/core/structures/enums.ts:94

    Son güncelleme:

    \ No newline at end of file +

    src/core/structures/enums.ts:94

    Son güncelleme:

    \ 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 91167c2b1..e55dff55d 100644 --- a/tr/v4/api/enumerations/plugintype/index.html +++ b/tr/v4/api/enumerations/plugintype/index.html @@ -51,7 +51,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    The PluginType for EventPlugins

    Source

    -

    src/core/structures/enums.ts:85

    +

    src/core/structures/enums.ts:85


    Init

    @@ -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

    Son güncelleme:

    \ No newline at end of file +

    src/core/structures/enums.ts:81

    Son güncelleme:

    \ 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 5d267d99c..6d714ec31 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

    Son güncelleme:

    \ No newline at end of file +

    src/core/plugin.ts:120

    Son güncelleme:

    \ 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 478a3fc4f..77c93285d 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

    Son güncelleme:

    \ No newline at end of file +

    src/core/plugin.ts:62

    Son güncelleme:

    \ 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 1b8301e20..4b7bbfdb5 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

    Son güncelleme:

    \ No newline at end of file +

    src/core/modules.ts:47

    Son güncelleme:

    \ 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 585ba4a7b..66a57b567 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

    Son güncelleme:

    \ No newline at end of file +

    src/core/modules.ts:97

    Son güncelleme:

    \ 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 42538d9f7..edf781f89 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

    Son güncelleme:

    \ No newline at end of file +

    src/core/plugin.ts:15

    Son güncelleme:

    \ 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 6d1c932cd..28cf72326 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

    Son güncelleme:

    \ No newline at end of file +

    src/core/modules.ts:83

    Son güncelleme:

    \ 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 5d97d7f83..2a91fbbde 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

    Son güncelleme:

    \ No newline at end of file +

    src/core/ioc.ts:63

    Son güncelleme:

    \ 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 c645e6488..4af2f1afa 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

    Son güncelleme:

    \ No newline at end of file +

    src/core/plugin.ts:6

    Son güncelleme:

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

    See

    https://crontab.guru/ for testing and creating cron patterns

    Source

    -

    src/core/modules.ts:132

    Son güncelleme:

    \ No newline at end of file +

    src/core/modules.ts:132

    Son güncelleme:

    \ 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 07c90e264..e0b655c68 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

    Son güncelleme:

    \ No newline at end of file +

    src/core/ioc.ts:93

    Son güncelleme:

    \ 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 37019fb66..a800524cf 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

    Son güncelleme:

    \ No newline at end of file +

    src/core/ioc.ts:103

    Son güncelleme:

    \ 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 af0b79837..7efc91b06 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

    Son güncelleme:

    \ No newline at end of file +

    src/core/ioc.ts:112

    Son güncelleme:

    \ 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 0f3d48077..79e6705ae 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

    Son güncelleme:

    \ No newline at end of file +

    src/core/ioc.ts:123

    Son güncelleme:

    \ 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 43083d994..1d5465459 100644 --- a/tr/v4/api/interfaces/bothcommand/index.html +++ b/tr/v4/api/interfaces/bothcommand/index.html @@ -58,7 +58,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.description

    Source

    -

    src/types/core-modules.ts:325

    +

    src/types/core-modules.ts:325


    execute()

    @@ -72,7 +72,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:327

    +

    src/types/core-modules.ts:327


    locals

    @@ -119,7 +119,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -136,7 +136,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -145,7 +145,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:123

    +

    src/types/core-modules.ts:123


    onEvent

    @@ -154,14 +154,14 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    options?

    optional options: SernOptionsData[]

    Source

    -

    src/types/core-modules.ts:326

    +

    src/types/core-modules.ts:326


    plugins

    @@ -170,7 +170,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -179,4 +179,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:324

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:324

    Son güncelleme:

    \ 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 434ce4af8..2626fc23b 100644 --- a/tr/v4/api/interfaces/buttoncommand/index.html +++ b/tr/v4/api/interfaces/buttoncommand/index.html @@ -55,7 +55,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    execute()

    @@ -69,7 +69,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:241

    +

    src/types/core-modules.ts:241


    locals

    @@ -116,7 +116,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -133,7 +133,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -142,7 +142,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:123

    +

    src/types/core-modules.ts:123


    onEvent

    @@ -151,7 +151,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    plugins

    @@ -160,7 +160,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -169,4 +169,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:240

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:240

    Son güncelleme:

    \ 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 4e6cfd5b8..eac38ff32 100644 --- a/tr/v4/api/interfaces/channelselectcommand/index.html +++ b/tr/v4/api/interfaces/channelselectcommand/index.html @@ -55,7 +55,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    execute()

    @@ -69,7 +69,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:255

    +

    src/types/core-modules.ts:255


    locals

    @@ -116,7 +116,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -133,7 +133,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -142,7 +142,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:123

    +

    src/types/core-modules.ts:123


    onEvent

    @@ -151,7 +151,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    plugins

    @@ -160,7 +160,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -169,4 +169,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:254

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:254

    Son güncelleme:

    \ 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 ad9010614..1d415de98 100644 --- a/tr/v4/api/interfaces/commandmoduledefs/index.html +++ b/tr/v4/api/interfaces/commandmoduledefs/index.html @@ -47,81 +47,81 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    1: TextCommand

    Source

    -

    src/types/core-modules.ts:354

    +

    src/types/core-modules.ts:354


    1024

    1024: ChannelSelectCommand

    Source

    -

    src/types/core-modules.ts:362

    +

    src/types/core-modules.ts:362


    128

    128: UserSelectCommand

    Source

    -

    src/types/core-modules.ts:364

    +

    src/types/core-modules.ts:364


    16

    16: ButtonCommand

    Source

    -

    src/types/core-modules.ts:359

    +

    src/types/core-modules.ts:359


    2

    2: SlashCommand

    Source

    -

    src/types/core-modules.ts:355

    +

    src/types/core-modules.ts:355


    256

    256: RoleSelectCommand

    Source

    -

    src/types/core-modules.ts:361

    +

    src/types/core-modules.ts:361


    3

    3: BothCommand

    Source

    -

    src/types/core-modules.ts:356

    +

    src/types/core-modules.ts:356


    32

    32: StringSelectCommand

    Source

    -

    src/types/core-modules.ts:360

    +

    src/types/core-modules.ts:360


    4

    4: ContextMenuUser

    Source

    -

    src/types/core-modules.ts:358

    +

    src/types/core-modules.ts:358


    512

    512: MentionableSelectCommand

    Source

    -

    src/types/core-modules.ts:363

    +

    src/types/core-modules.ts:363


    64

    64: ModalSubmitCommand

    Source

    -

    src/types/core-modules.ts:365

    +

    src/types/core-modules.ts:365


    8

    8: ContextMenuMsg

    Source

    -

    src/types/core-modules.ts:357

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:357

    Son güncelleme:

    \ 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 edb0d24ee..bf869fe80 100644 --- a/tr/v4/api/interfaces/contextmenumsg/index.html +++ b/tr/v4/api/interfaces/contextmenumsg/index.html @@ -55,7 +55,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    execute()

    @@ -69,7 +69,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:234

    +

    src/types/core-modules.ts:234


    locals

    @@ -116,7 +116,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -133,7 +133,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -142,7 +142,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:123

    +

    src/types/core-modules.ts:123


    onEvent

    @@ -151,7 +151,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    plugins

    @@ -160,7 +160,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -169,4 +169,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:233

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:233

    Son güncelleme:

    \ 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 e8036e83c..9119757e1 100644 --- a/tr/v4/api/interfaces/contextmenuuser/index.html +++ b/tr/v4/api/interfaces/contextmenuuser/index.html @@ -55,7 +55,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    execute()

    @@ -69,7 +69,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:227

    +

    src/types/core-modules.ts:227


    locals

    @@ -116,7 +116,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -133,7 +133,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -142,7 +142,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:123

    +

    src/types/core-modules.ts:123


    onEvent

    @@ -151,7 +151,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    plugins

    @@ -160,7 +160,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -169,4 +169,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:226

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:226

    Son güncelleme:

    \ 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 9c82363da..cc3b0b939 100644 --- a/tr/v4/api/interfaces/controlplugin/index.html +++ b/tr/v4/api/interfaces/controlplugin/index.html @@ -59,7 +59,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Plugin.execute

    Source

    -

    src/types/core-plugin.ts:44

    +

    src/types/core-plugin.ts:44


    type

    @@ -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

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-plugin.ts:52

    Son güncelleme:

    \ 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 25ad3b469..c93d0a29c 100644 --- a/tr/v4/api/interfaces/coredependencies/index.html +++ b/tr/v4/api/interfaces/coredependencies/index.html @@ -48,7 +48,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    discord.js client.

    Source

    -

    src/core/ioc.ts:140

    +

    src/core/ioc.ts:140


    @sern/emitter

    @@ -57,7 +57,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    sern emitter listens to events that happen throughout the handler. some include module.register, module.activate.

    Source

    -

    src/core/ioc.ts:145

    +

    src/core/ioc.ts:145


    @sern/errors

    @@ -66,7 +66,7 @@ the handler. some include module.register, module.activate.

    An error handler which is the final step before the sern process actually crashes.

    Source

    -

    src/core/ioc.ts:150

    +

    src/core/ioc.ts:150


    @sern/logger?

    @@ -74,7 +74,7 @@ the sern process actually crashes.

    Optional logger. Performs … logging

    Source

    -

    src/core/ioc.ts:154

    +

    src/core/ioc.ts:154


    @sern/modules

    @@ -83,11 +83,11 @@ the sern process actually crashes.

    Readonly module store. sern stores these by module.meta.id -> Module

    Source

    -

    src/core/ioc.ts:159

    +

    src/core/ioc.ts:159


    @sern/scheduler

    @sern/scheduler: TaskScheduler

    Source

    -

    src/core/ioc.ts:161

    Son güncelleme:

    \ No newline at end of file +

    src/core/ioc.ts:161

    Son güncelleme:

    \ 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 44fd446ed..1205f21e9 100644 --- a/tr/v4/api/interfaces/discordeventcommand/index.html +++ b/tr/v4/api/interfaces/discordeventcommand/index.html @@ -57,7 +57,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    locals

    @@ -104,7 +104,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -121,7 +121,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -130,7 +130,7 @@ to attach metadata or configuration to modules.

    Overrides

    Module.name

    Source

    -

    src/types/core-modules.ts:297

    +

    src/types/core-modules.ts:297


    onEvent

    @@ -139,7 +139,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    plugins

    @@ -148,7 +148,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -157,7 +157,7 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:298

    +

    src/types/core-modules.ts:298

    Methods

    execute()

    @@ -170,4 +170,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:299

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:299

    Son güncelleme:

    \ 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 3d4246a4c..996611ab2 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

    Son güncelleme:

    \ No newline at end of file +

    src/core/interfaces.ts:17

    Son güncelleme:

    \ 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 703d346e3..b74e98d02 100644 --- a/tr/v4/api/interfaces/emitter/index.html +++ b/tr/v4/api/interfaces/emitter/index.html @@ -52,7 +52,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    this

    Source

    -

    src/core/interfaces.ts:22

    +

    src/core/interfaces.ts:22


    emit()

    @@ -64,7 +64,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    boolean

    Source

    -

    src/core/interfaces.ts:24

    +

    src/core/interfaces.ts:24


    removeListener()

    @@ -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

    Son güncelleme:

    \ No newline at end of file +

    src/core/interfaces.ts:23

    Son güncelleme:

    \ 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 746cae9de..a02abb2ae 100644 --- a/tr/v4/api/interfaces/errorhandling/index.html +++ b/tr/v4/api/interfaces/errorhandling/index.html @@ -54,7 +54,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    never

    Source

    -

    src/core/interfaces.ts:36

    +

    src/core/interfaces.ts:36


    updateAlive()

    @@ -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

    Son güncelleme:

    \ No newline at end of file +

    src/core/interfaces.ts:41

    Son güncelleme:

    \ 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 a025c36a8..b2083fd56 100644 --- a/tr/v4/api/interfaces/eventmoduledefs/index.html +++ b/tr/v4/api/interfaces/eventmoduledefs/index.html @@ -49,18 +49,18 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    0: DiscordEventCommand<T>

    Source

    -

    src/types/core-modules.ts:370

    +

    src/types/core-modules.ts:370


    1

    1: SernEventCommand<keyof SernEventsMapping>

    Source

    -

    src/types/core-modules.ts:369

    +

    src/types/core-modules.ts:369


    2

    2: ExternalEventCommand

    Source

    -

    src/types/core-modules.ts:371

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:371

    Son güncelleme:

    \ 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 00cdf138d..f4ca45c6d 100644 --- a/tr/v4/api/interfaces/externaleventcommand/index.html +++ b/tr/v4/api/interfaces/externaleventcommand/index.html @@ -55,14 +55,14 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    emitter

    emitter: keyof Dependencies

    Source

    -

    src/types/core-modules.ts:217

    +

    src/types/core-modules.ts:217


    locals

    @@ -109,7 +109,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -126,7 +126,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -135,7 +135,7 @@ to attach metadata or configuration to modules.

    Overrides

    Module.name

    Source

    -

    src/types/core-modules.ts:216

    +

    src/types/core-modules.ts:216


    onEvent

    @@ -144,7 +144,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    plugins

    @@ -153,7 +153,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -162,7 +162,7 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:218

    +

    src/types/core-modules.ts:218

    Methods

    execute()

    @@ -175,4 +175,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:219

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:219

    Son güncelleme:

    \ 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 9780ccb1d..cee4d6c76 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

    Son güncelleme:

    \ No newline at end of file +

    src/core/interfaces.ts:9

    Son güncelleme:

    \ 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 fb679b681..a537b920c 100644 --- a/tr/v4/api/interfaces/initplugin/index.html +++ b/tr/v4/api/interfaces/initplugin/index.html @@ -59,7 +59,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Plugin.execute

    Source

    -

    src/types/core-plugin.ts:49

    +

    src/types/core-plugin.ts:49


    type

    @@ -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

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-plugin.ts:48

    Son güncelleme:

    \ 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 2a25b87b5..b0eb7d7c7 100644 --- a/tr/v4/api/interfaces/logging/index.html +++ b/tr/v4/api/interfaces/logging/index.html @@ -55,7 +55,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    void

    Source

    -

    src/core/interfaces.ts:52

    +

    src/core/interfaces.ts:52


    error()

    @@ -66,7 +66,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    void

    Source

    -

    src/core/interfaces.ts:49

    +

    src/core/interfaces.ts:49


    info()

    @@ -77,7 +77,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    void

    Source

    -

    src/core/interfaces.ts:51

    +

    src/core/interfaces.ts:51


    warning()

    @@ -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

    Son güncelleme:

    \ No newline at end of file +

    src/core/interfaces.ts:50

    Son güncelleme:

    \ 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 43827a38c..b59db0932 100644 --- a/tr/v4/api/interfaces/mentionableselectcommand/index.html +++ b/tr/v4/api/interfaces/mentionableselectcommand/index.html @@ -55,7 +55,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    execute()

    @@ -69,7 +69,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:269

    +

    src/types/core-modules.ts:269


    locals

    @@ -116,7 +116,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -133,7 +133,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -142,7 +142,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:123

    +

    src/types/core-modules.ts:123


    onEvent

    @@ -151,7 +151,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    plugins

    @@ -160,7 +160,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -169,4 +169,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:268

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:268

    Son güncelleme:

    \ 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 acf3d493e..56bf79605 100644 --- a/tr/v4/api/interfaces/modalsubmitcommand/index.html +++ b/tr/v4/api/interfaces/modalsubmitcommand/index.html @@ -55,7 +55,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    execute()

    @@ -69,7 +69,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:283

    +

    src/types/core-modules.ts:283


    locals

    @@ -116,7 +116,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -133,7 +133,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -142,7 +142,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:123

    +

    src/types/core-modules.ts:123


    onEvent

    @@ -151,7 +151,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    plugins

    @@ -160,7 +160,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -169,4 +169,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:282

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:282

    Son güncelleme:

    \ 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 45cb62ffa..ac81a9a21 100644 --- a/tr/v4/api/interfaces/module/index.html +++ b/tr/v4/api/interfaces/module/index.html @@ -67,7 +67,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    optional description: string

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    locals

    @@ -112,7 +112,7 @@ to attach metadata or configuration to modules.

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -127,35 +127,35 @@ to attach metadata or configuration to modules.

    id: string

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    optional name: string

    Source

    -

    src/types/core-modules.ts:123

    +

    src/types/core-modules.ts:123


    onEvent

    onEvent: ControlPlugin<any[]>[]

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    plugins

    plugins: InitPlugin<any[]>[]

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    type: CommandType | EventType

    Source

    -

    src/types/core-modules.ts:122

    +

    src/types/core-modules.ts:122

    Methods

    execute()

    @@ -166,4 +166,4 @@ to attach metadata or configuration to modules.

    Returns

    any

    Source

    -

    src/types/core-modules.ts:200

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:200

    Son güncelleme:

    \ 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 6fcb8af36..cdb9ecd41 100644 --- a/tr/v4/api/interfaces/plugin/index.html +++ b/tr/v4/api/interfaces/plugin/index.html @@ -58,11 +58,11 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    PluginResult

    Source

    -

    src/types/core-plugin.ts:44

    +

    src/types/core-plugin.ts:44


    type

    type: PluginType

    Source

    -

    src/types/core-plugin.ts:43

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-plugin.ts:43

    Son güncelleme:

    \ 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 b83cc9cab..19afb962c 100644 --- a/tr/v4/api/interfaces/roleselectcommand/index.html +++ b/tr/v4/api/interfaces/roleselectcommand/index.html @@ -55,7 +55,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    execute()

    @@ -69,7 +69,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:262

    +

    src/types/core-modules.ts:262


    locals

    @@ -116,7 +116,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -133,7 +133,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -142,7 +142,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:123

    +

    src/types/core-modules.ts:123


    onEvent

    @@ -151,7 +151,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    plugins

    @@ -160,7 +160,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -169,4 +169,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:261

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:261

    Son güncelleme:

    \ No newline at end of file diff --git a/tr/v4/api/interfaces/scheduledtask/index.html b/tr/v4/api/interfaces/scheduledtask/index.html index 8b4977739..3b3424020 100644 --- a/tr/v4/api/interfaces/scheduledtask/index.html +++ b/tr/v4/api/interfaces/scheduledtask/index.html @@ -49,21 +49,21 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    optional name: string

    Source

    -

    src/types/core-modules.ts:455

    +

    src/types/core-modules.ts:455


    timezone?

    optional timezone: string

    Source

    -

    src/types/core-modules.ts:457

    +

    src/types/core-modules.ts:457


    trigger

    trigger: string | Date

    Source

    -

    src/types/core-modules.ts:456

    +

    src/types/core-modules.ts:456

    Methods

    execute()

    @@ -75,4 +75,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    Awaitable<void>

    Source

    -

    src/types/core-modules.ts:458

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:458

    Son güncelleme:

    \ No newline at end of file diff --git a/tr/v4/api/interfaces/sdt/index.html b/tr/v4/api/interfaces/sdt/index.html index 6efb1c1b5..b1f1639bd 100644 --- a/tr/v4/api/interfaces/sdt/index.html +++ b/tr/v4/api/interfaces/sdt/index.html @@ -73,7 +73,7 @@ passed through the plugin pipeline to command modules.

    Instance of application dependencies

    Source

    -

    src/types/core-modules.ts:87

    +

    src/types/core-modules.ts:87


    module

    @@ -97,7 +97,7 @@ passed through the plugin pipeline to command modules.

    name: string

    Source

    -

    src/types/core-modules.ts:109

    +

    src/types/core-modules.ts:109


    params?

    @@ -105,7 +105,7 @@ passed through the plugin pipeline to command modules.

    Optional parameters passed to the command

    Source

    -

    src/types/core-modules.ts:104

    +

    src/types/core-modules.ts:104


    state

    @@ -113,7 +113,7 @@ passed through the plugin pipeline to command modules.

    Accumulated state data passed between plugins

    Source

    -

    src/types/core-modules.ts:79

    +

    src/types/core-modules.ts:79


    type

    @@ -121,4 +121,4 @@ passed through the plugin pipeline to command modules.

    Command type identifier

    Source

    -

    src/types/core-modules.ts:95

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:95

    Son güncelleme:

    \ 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 aed77d3aa..84da4211a 100644 --- a/tr/v4/api/interfaces/sernautocompletedata/index.html +++ b/tr/v4/api/interfaces/sernautocompletedata/index.html @@ -51,14 +51,14 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    autocomplete: true

    Source

    -

    src/types/core-modules.ts:376

    +

    src/types/core-modules.ts:376


    command

    command: AutocompleteCommand

    Source

    -

    src/types/core-modules.ts:381

    +

    src/types/core-modules.ts:381


    description

    @@ -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:377

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:377

    Son güncelleme:

    \ 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 0c9c158b1..f210cffc9 100644 --- a/tr/v4/api/interfaces/serneventcommand/index.html +++ b/tr/v4/api/interfaces/serneventcommand/index.html @@ -57,7 +57,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    locals

    @@ -104,7 +104,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -121,7 +121,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -130,7 +130,7 @@ to attach metadata or configuration to modules.

    Overrides

    Module.name

    Source

    -

    src/types/core-modules.ts:208

    +

    src/types/core-modules.ts:208


    onEvent

    @@ -139,7 +139,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    plugins

    @@ -148,7 +148,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -157,7 +157,7 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:209

    +

    src/types/core-modules.ts:209

    Methods

    execute()

    @@ -170,4 +170,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:210

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:210

    Son güncelleme:

    \ 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 e574cc819..32fe6e0ab 100644 --- a/tr/v4/api/interfaces/serneventsmapping/index.html +++ b/tr/v4/api/interfaces/serneventsmapping/index.html @@ -47,32 +47,32 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    error: [object]

    Source

    -

    src/types/utility.ts:12

    +

    src/types/utility.ts:12


    module.activate

    module.activate: [Payload]

    Source

    -

    src/types/utility.ts:11

    +

    src/types/utility.ts:11


    module.register

    module.register: [Payload]

    Source

    -

    src/types/utility.ts:10

    +

    src/types/utility.ts:10


    modulesLoaded

    modulesLoaded: [undefined?]

    Source

    -

    src/types/utility.ts:14

    +

    src/types/utility.ts:14


    warning

    warning: [Payload]

    Source

    -

    src/types/utility.ts:13

    Son güncelleme:

    \ No newline at end of file +

    src/types/utility.ts:13

    Son güncelleme:

    \ 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 c0cd134f1..2f1acdc08 100644 --- a/tr/v4/api/interfaces/sernsubcommanddata/index.html +++ b/tr/v4/api/interfaces/sernsubcommanddata/index.html @@ -87,7 +87,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    optional options: SernOptionsData[]

    Source

    -

    src/types/core-modules.ts:417

    +

    src/types/core-modules.ts:417


    required?

    @@ -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:416

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:416

    Son güncelleme:

    \ 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 8f7a5265c..8e6682885 100644 --- a/tr/v4/api/interfaces/sernsubcommandgroupdata/index.html +++ b/tr/v4/api/interfaces/sernsubcommandgroupdata/index.html @@ -96,7 +96,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    optional options: SernSubCommandData[]

    Source

    -

    src/types/core-modules.ts:422

    +

    src/types/core-modules.ts:422


    required?

    @@ -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:421

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:421

    Son güncelleme:

    \ 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 13cba8097..946914164 100644 --- a/tr/v4/api/interfaces/slashcommand/index.html +++ b/tr/v4/api/interfaces/slashcommand/index.html @@ -58,7 +58,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.description

    Source

    -

    src/types/core-modules.ts:315

    +

    src/types/core-modules.ts:315


    execute()

    @@ -72,7 +72,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:317

    +

    src/types/core-modules.ts:317


    locals

    @@ -119,7 +119,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -136,7 +136,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -145,7 +145,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:123

    +

    src/types/core-modules.ts:123


    onEvent

    @@ -154,14 +154,14 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    options?

    optional options: SernOptionsData[]

    Source

    -

    src/types/core-modules.ts:316

    +

    src/types/core-modules.ts:316


    plugins

    @@ -170,7 +170,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -179,4 +179,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:314

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:314

    Son güncelleme:

    \ 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 1f9ff69b3..3be9eb752 100644 --- a/tr/v4/api/interfaces/stringselectcommand/index.html +++ b/tr/v4/api/interfaces/stringselectcommand/index.html @@ -55,7 +55,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    execute()

    @@ -69,7 +69,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:248

    +

    src/types/core-modules.ts:248


    locals

    @@ -116,7 +116,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -133,7 +133,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -142,7 +142,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:123

    +

    src/types/core-modules.ts:123


    onEvent

    @@ -151,7 +151,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    plugins

    @@ -160,7 +160,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -169,4 +169,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:247

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:247

    Son güncelleme:

    \ 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 f8df038c6..952a6f902 100644 --- a/tr/v4/api/interfaces/textcommand/index.html +++ b/tr/v4/api/interfaces/textcommand/index.html @@ -58,7 +58,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    execute()

    @@ -72,7 +72,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:307

    +

    src/types/core-modules.ts:307


    locals

    @@ -119,7 +119,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -136,7 +136,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -145,7 +145,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:123

    +

    src/types/core-modules.ts:123


    onEvent

    @@ -154,7 +154,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    plugins

    @@ -163,7 +163,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -172,4 +172,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:306

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:306

    Son güncelleme:

    \ 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 9376b37be..b368dd2c1 100644 --- a/tr/v4/api/interfaces/userselectcommand/index.html +++ b/tr/v4/api/interfaces/userselectcommand/index.html @@ -55,7 +55,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    execute()

    @@ -69,7 +69,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:276

    +

    src/types/core-modules.ts:276


    locals

    @@ -116,7 +116,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -133,7 +133,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -142,7 +142,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:123

    +

    src/types/core-modules.ts:123


    onEvent

    @@ -151,7 +151,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    plugins

    @@ -160,7 +160,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -169,4 +169,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:275

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:275

    Son güncelleme:

    \ No newline at end of file diff --git a/tr/v4/api/interfaces/wrapper/index.html b/tr/v4/api/interfaces/wrapper/index.html index af4c37ff1..ea7d1388e 100644 --- a/tr/v4/api/interfaces/wrapper/index.html +++ b/tr/v4/api/interfaces/wrapper/index.html @@ -59,7 +59,7 @@ they were declared. Order of modules in each directory is not guaranteed

    Example

    1
    commands: ["./dist/commands"]

    Source

    -

    src/types/utility.ts:46

    +

    src/types/utility.ts:46


    defaultPrefix?

    @@ -72,7 +72,7 @@ will be disabled.

    Example

    1
    defaultPrefix: "?"

    Source

    -

    src/types/utility.ts:65

    +

    src/types/utility.ts:65


    events?

    @@ -87,7 +87,7 @@ Order of modules in each directory is not guaranteed.

    Example

    1
    events: ["./dist/events"]

    Source

    -

    src/types/utility.ts:77

    +

    src/types/utility.ts:77


    handleModuleErrors?

    @@ -100,7 +100,7 @@ during module execution, preventing crashes and providing error logging.

    Default

    1
    false

    Source

    -

    src/types/utility.ts:55

    +

    src/types/utility.ts:55


    tasks?

    @@ -115,4 +115,4 @@ Order of modules in each directory is not guaranteed.

    Example

    1
    tasks: ["./dist/tasks"]

    Source

    -

    src/types/utility.ts:89

    Son güncelleme:

    \ No newline at end of file +

    src/types/utility.ts:89

    Son güncelleme:

    \ No newline at end of file diff --git a/tr/v4/api/namespaces/presence/interfaces/result/index.html b/tr/v4/api/namespaces/presence/interfaces/result/index.html index 0f340b01a..15563392b 100644 --- a/tr/v4/api/namespaces/presence/interfaces/result/index.html +++ b/tr/v4/api/namespaces/presence/interfaces/result/index.html @@ -47,39 +47,39 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    optional activities: ActivitiesOptions[]

    Source

    -

    src/core/presences.ts:59

    +

    src/core/presences.ts:59


    afk?

    optional afk: boolean

    Source

    -

    src/core/presences.ts:58

    +

    src/core/presences.ts:58


    onRepeat?

    optional onRepeat: PresenceReduce

    Source

    -

    src/core/presences.ts:62

    +

    src/core/presences.ts:62


    repeat?

    optional repeat: number | [Emitter, string]

    Source

    -

    src/core/presences.ts:61

    +

    src/core/presences.ts:61


    shardId?

    optional shardId: number[]

    Source

    -

    src/core/presences.ts:60

    +

    src/core/presences.ts:60


    status?

    optional status: Status

    Source

    -

    src/core/presences.ts:57

    Son güncelleme:

    \ No newline at end of file +

    src/core/presences.ts:57

    Son güncelleme:

    \ No newline at end of file diff --git a/tr/v4/api/namespaces/presence/type-aliases/config/index.html b/tr/v4/api/namespaces/presence/type-aliases/config/index.html index b66ae08f2..b53104d28 100644 --- a/tr/v4/api/namespaces/presence/type-aliases/config/index.html +++ b/tr/v4/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:50

    Son güncelleme:

    \ No newline at end of file +

    src/core/presences.ts:50

    Son güncelleme:

    \ 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 593be72f8..cff1c1130 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

    Son güncelleme:

    \ No newline at end of file +

    src/sern.ts:32

    Son güncelleme:

    \ No newline at end of file diff --git a/tr/v4/api/readme/index.html b/tr/v4/api/readme/index.html index 050d8157a..04f05de0e 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
  • -

    Son güncelleme:

    \ No newline at end of file +

    Son güncelleme:

    \ 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 6861a5812..b54dfc16b 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

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-plugin.ts:55

    Son güncelleme:

    \ 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 d7a39d46d..faa4bad1d 100644 --- a/tr/v4/api/type-aliases/commandmodule/index.html +++ b/tr/v4/api/type-aliases/commandmodule/index.html @@ -47,4 +47,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Since

    1.0.0

    Source

    -

    src/types/core-modules.ts:337

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:337

    Son güncelleme:

    \ 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 3a6526160..04c01c2ef 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

    Son güncelleme:

    \ No newline at end of file +

    src/core/plugin.ts:137

    Son güncelleme:

    \ 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 ed5d16101..390aa8c0d 100644 --- a/tr/v4/api/type-aliases/eventmodule/index.html +++ b/tr/v4/api/type-aliases/eventmodule/index.html @@ -47,4 +47,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Since

    1.0.0

    Source

    -

    src/types/core-modules.ts:332

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:332

    Son güncelleme:

    \ 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 99f63f2da..84b59dd2e 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

    Son güncelleme:

    \ No newline at end of file +

    src/core/interfaces.ts:55

    Son güncelleme:

    \ 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 bd42f3734..7c84b4799 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

    Son güncelleme:

    \ No newline at end of file +

    src/types/utility.ts:17

    Son güncelleme:

    \ 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 6712d71c2..048174db4 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

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-plugin.ts:36

    Son güncelleme:

    \ 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 131fc24a3..e2560b5b7 100644 --- a/tr/v4/api/type-aliases/sernoptionsdata/index.html +++ b/tr/v4/api/type-aliases/sernoptionsdata/index.html @@ -48,4 +48,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:408

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:408

    Son güncelleme:

    \ 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 143bece02..5bf735c54 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

    Son güncelleme:

    \ No newline at end of file +

    src/core/plugin.ts:131

    Son güncelleme:

    \ 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 8d4fe6cea..676dbe8fb 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

    Son güncelleme:

    \ No newline at end of file +

    src/core/presences.ts:9

    Son güncelleme:

    \ No newline at end of file diff --git a/tr/v4/cli/about/index.html b/tr/v4/cli/about/index.html index f170ccc6f..6468555ff 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 8fb76e180..ab8799001 100644 --- a/tr/v4/cli/build/index.html +++ b/tr/v4/cli/build/index.html @@ -41,9 +41,9 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem; StarlightThemeProvider.updatePickers();

    Build

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

    Terminal window
    Usage: sern build [options]
    +

    Build

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

    Terminal window
    Usage: sern build [options]
    Build your bot
    -
    Options:
    -f --format [fmt] The module system of your application. `cjs` or `esm` (default: "esm")
    -m --mode [mode] the mode for sern to build in. `production` or `development` (default: "development")
    -W --suppress-warnings suppress experimental warning
    -p --project [filePath] build with this sern.build file
    -h, --help display help for command
    +
    Options:
    -f --format [fmt] The module system of your application. `cjs` or `esm` (default: "esm")
    -m --mode [mode] the mode for sern to build in. `production` or `development` (default: "development")
    -w --watch
    --watch-command [cmd] the command for sern to watch. if watch is not enabled, an error is thrown (default: "")
    -W --suppress-warnings suppress experimental warning
    -p --project [filePath] build with the provided sern.build file
    -e --env path to .env file
    --source-maps Whether to add source-maps to configuration (default: false)
    --tsconfig [filePath] Use this tsconfig
    -h, --help display help for command

    Guiding Principles

    When designing the sern build command, our aim was to make building bot applications as simple as possible for the majority of developers. The setup process has been streamlined, and most of the configuration details have been handled for you.

    Here are some key points to keep in mind:

    @@ -71,9 +71,6 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Zero Configuration: Building your bot application without additional configuration. The CLI handles most of the setup for you.

  • -

    Experimental Image Support: We’ve introduced experimental support for top-level imports of PNG and JPG files, making it easier to include images in your bot application.

    -
  • -
  • Compile Time Constants: Customize your build with constants such as __DEV__, __PROD__, allowing you to tailor your application to different production stages.

  • @@ -94,10 +91,19 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    sern.build.js

    The sern.build.js file is for any extra configuration you may need, such as adding esbuild plugins.

    The CLI was intentionally made to be installed globally, and we can’t provide typings at a project level. If you need typings, here they are:

    -
    1
    type BuildOptions = {
    2
    /**
    3
    * Define __VERSION__
    4
    * This option is a quick switch to defining the __VERSION__ constant which will be a string of the version provided in
    5
    * cwd's package.json
    6
    */
    7
    defineVersion?: boolean;
    8
    /**
    9
    * default = esm
    10
    */
    11
    format?: "cjs" | "esm";
    12
    /**
    13
    * extra esbuild plugins to build with sern.
    14
    */
    15
    esbuildPlugins?: esbuild.Plugin[];
    16
    /**
    17
    * https://esbuild.github.io/api/#drop-labels
    18
    **/
    19
    dropLabels?: string[];
    20
    /**
    21
    * https://esbuild.github.io/api/#define
    22
    **/
    23
    define?: Record<string, string>;
    24
    /**
    25
    * Path to tsconfig
    26
    **/
    27
    tsconfig?: string;
    28
    /**
    29
    * default = 'development'
    30
    */
    31
    mode: "production" | "development";
    32
    /**
    33
    * will search for env file. If none exists,
    34
    * default to .env.
    35
    */
    36
    env?: string;
    37
    };
    +
    1
    type BuildOptions = {
    2
    /**
    3
    * Define __VERSION__
    4
    * This option is a quick switch to defining the __VERSION__ constant which will be a string of the version provided in
    5
    * cwd's package.json
    6
    */
    7
    defineVersion?: boolean;
    8
    /**
    9
    * default = esm
    10
    */
    11
    format?: "cjs" | "esm";
    12
    /**
    13
    * extra esbuild plugins to build with sern.
    14
    */
    15
    esbuildPlugins?: esbuild.Plugin[];
    16
    /**
    17
    * https://esbuild.github.io/api/#drop-labels
    18
    **/
    19
    dropLabels?: string[];
    20
    /**
    21
    * https://esbuild.github.io/api/#define
    22
    **/
    23
    define?: Record<string, string>;
    24
    /**
    25
    * Path to tsconfig
    26
    **/
    27
    tsconfig?: string;
    28
    /**
    29
    * default = 'development'
    30
    */
    31
    mode: "production" | "development";
    32
    /**
    33
    * will search for env file. If none exists,
    34
    * default to .env.
    35
    */
    36
    env?: string;
    37
    +
    38
    // options for watch
    39
    watch?: {
    40
    /**
    41
    * command to run.
    42
    * defaults to your package
    43
    * manager's start command.
    44
    */
    45
    command?: string;
    46
    }
    47
    };

    Usage

    Terminal window
    sern build

    (that was easy)

    +

    sern build —watch

    +

    the watch flag needs a start command. Depending on the lock file in your project, sern will run this command to reload your project. the build command checks in this order:

    +
    1
    // custom defined watchCommand
    2
    if(watchCommand) return watchCommand
    3
    // npm
    4
    if (pathExistsSync('package-lock.json')) return 'npm start';
    5
    // yarn
    6
    if (pathExistsSync('yarn.lock')) return 'yarn start';
    7
    // pnpm
    8
    if (pathExistsSync('pnpm-lock.yaml')) return 'pnpm start';
    9
    // bun 1.1
    10
    if (pathExistsSync('bun.lockb')) return 'bun start';
    11
    // bun 1.2
    12
    if (pathExistsSync('bun.lock')) return 'bun start';
    + + + +

    Adapting Older Projects

    Change your tsconfig.json to extend our generated one, ./.sern/tsconfig.json.

    1
    {
    2
    "extends": "./.sern/tsconfig.json",
    3
    "compilerOptions": {
    4
    // all of your old fields
    5
    }
    6
    }
    @@ -113,4 +119,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 4dfb14df7..1d59b71d8 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;
    • The clear command will prompt you to confirm the action. You can bypass this by using the -y flag.
    • The clear command will automatically read a .env file in the working directory. If you need to override this, you can use the -e flag to supply a path to a different .env file.
    • -
    \ 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 16eb3e6ca..02aedeaa5 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 85f3868b5..3a2d805d1 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 683ef45da..4e22ac728 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 ca5681113..c987f3d30 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 49ac14485..cd853f4f2 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 8f5d1faa0..dc9927f56 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 6687a4476..39a4efc47 100644 --- a/tr/v4/reference/error-handling/index.html +++ b/tr/v4/reference/error-handling/index.html @@ -56,4 +56,4 @@ set handleModuleErrors<

    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 c2805fa5e..748cfe3b5 100644 --- a/tr/v4/reference/getting-started/index.html +++ b/tr/v4/reference/getting-started/index.html @@ -54,4 +54,4 @@ If you’re not familiar with how to get a bot token, you can follow the tutoria

    Step 4: Run the bot!

    A development command inside the CLI is in the works. For now, you have to restart the bot manually for your changes to take effect.

    Terminal window
    npm run build && npm start
    -

    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/v4/reference/goal/index.html b/tr/v4/reference/goal/index.html index da6626fa2..c4264c53d 100644 --- a/tr/v4/reference/goal/index.html +++ b/tr/v4/reference/goal/index.html @@ -53,4 +53,4 @@ Some advocate to build your own abstractions, use clunky archaic codeba
  • Concise: Too much code is a liability. With sern, write less for more. 🤯
  • Our community

    -

    As of 01/23/2025, our discord is considered small, but it is no excuse for helping those who want to build bots with us. Feel free to join us!

    \ No newline at end of file +

    As of 01/23/2025, our discord is considered small, but it is no excuse for helping those who want to build bots with us. Feel free to join us!

    \ No newline at end of file diff --git a/tr/v4/reference/modules/index.html b/tr/v4/reference/modules/index.html index 9c20cb0d5..3469e13ef 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 7759a1cc1..f75a64eac 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 fa8b858d1..902f55a89 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 4c81c1706..36231f4f1 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 +
    • 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 diff --git a/tr/v4/reference/tasks/index.html b/tr/v4/reference/tasks/index.html index c28b66ec9..d35e1588d 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 4b8b2474c..58c9c1a8a 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 d6b5876be..4850e19f4 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 9e45e1bf8..05d4b5653 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 01177bd5e..7fff1b238 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 f2beb5ca6..c61aa32fa 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 5c6215b69..015b49823 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 5f56c75e3..ef29e18af 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 c730ebe0b..eb6e0ebe0 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

    Last updated:

    \ No newline at end of file +

    src/core/structures/context.ts:113

    Last updated:

    \ No newline at end of file diff --git a/v3/api/classes/modulestore/index.html b/v3/api/classes/modulestore/index.html index a0c038716..1d6edb114 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

    Last updated:

    \ No newline at end of file +

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

    Last updated:

    \ No newline at end of file diff --git a/v3/api/enumerations/commandtype/index.html b/v3/api/enumerations/commandtype/index.html index a6d8e513e..e8c51ea1c 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

    Last updated:

    \ No newline at end of file +

    src/core/structures/enums.ts:26

    Last updated:

    \ No newline at end of file diff --git a/v3/api/enumerations/eventtype/index.html b/v3/api/enumerations/eventtype/index.html index 302129ce7..0238af33b 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

    Last updated:

    \ No newline at end of file +

    src/core/structures/enums.ts:55

    Last updated:

    \ No newline at end of file diff --git a/v3/api/enumerations/payloadtype/index.html b/v3/api/enumerations/payloadtype/index.html index 7d2a662b1..7199ea217 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

    Last updated:

    \ No newline at end of file +

    src/core/structures/enums.ts:102

    Last updated:

    \ No newline at end of file diff --git a/v3/api/enumerations/plugintype/index.html b/v3/api/enumerations/plugintype/index.html index 09c61e89b..2ee4200c7 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

    Last updated:

    \ No newline at end of file +

    src/core/structures/enums.ts:81

    Last updated:

    \ No newline at end of file diff --git a/v3/api/functions/commandcontrolplugin/index.html b/v3/api/functions/commandcontrolplugin/index.html index d456f7b31..0a12cb16a 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

    Last updated:

    \ No newline at end of file +

    src/core/create-plugins.ts:37

    Last updated:

    \ No newline at end of file diff --git a/v3/api/functions/commandinitplugin/index.html b/v3/api/functions/commandinitplugin/index.html index f8711d611..6276d7c5a 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

    Last updated:

    \ No newline at end of file +

    src/core/create-plugins.ts:28

    Last updated:

    \ No newline at end of file diff --git a/v3/api/functions/commandmodule/index.html b/v3/api/functions/commandmodule/index.html index 53e991f54..56ac9645c 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

    Last updated:

    \ No newline at end of file +

    src/core/modules.ts:19

    Last updated:

    \ No newline at end of file diff --git a/v3/api/functions/discordevent/index.html b/v3/api/functions/discordevent/index.html index 83a614d0f..6ae5710e9 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

    Last updated:

    \ No newline at end of file +

    src/core/modules.ts:47

    Last updated:

    \ No newline at end of file diff --git a/v3/api/functions/discordeventcontrolplugin/index.html b/v3/api/functions/discordeventcontrolplugin/index.html index 1a3c956f2..30a6c4ead 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

    Last updated:

    \ No newline at end of file +

    src/core/create-plugins.ts:58

    Last updated:

    \ No newline at end of file diff --git a/v3/api/functions/eventcontrolplugin/index.html b/v3/api/functions/eventcontrolplugin/index.html index f1f258b03..295de45d0 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

    Last updated:

    \ No newline at end of file +

    src/core/create-plugins.ts:46

    Last updated:

    \ No newline at end of file diff --git a/v3/api/functions/eventinitplugin/index.html b/v3/api/functions/eventinitplugin/index.html index eacd0727a..76fe065d0 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

    Last updated:

    \ No newline at end of file +

    src/core/create-plugins.ts:19

    Last updated:

    \ No newline at end of file diff --git a/v3/api/functions/eventmodule/index.html b/v3/api/functions/eventmodule/index.html index 8f6648537..b0743d018 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

    Last updated:

    \ No newline at end of file +

    src/core/modules.ts:32

    Last updated:

    \ No newline at end of file diff --git a/v3/api/functions/makedependencies/index.html b/v3/api/functions/makedependencies/index.html index 0e1ed0bb8..282e8bc70 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

    Last updated:

    \ No newline at end of file +

    src/core/ioc/base.ts:144

    Last updated:

    \ No newline at end of file diff --git a/v3/api/functions/makeplugin/index.html b/v3/api/functions/makeplugin/index.html index 97ccef45b..b29e7ae5c 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

    Last updated:

    \ No newline at end of file +

    src/core/create-plugins.ts:6

    Last updated:

    \ No newline at end of file diff --git a/v3/api/functions/service/index.html b/v3/api/functions/service/index.html index 968dc15b3..c420c6632 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

    Last updated:

    \ No newline at end of file +

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

    Last updated:

    \ No newline at end of file diff --git a/v3/api/functions/services/index.html b/v3/api/functions/services/index.html index bc5fa82b5..7b59fa95b 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

    Last updated:

    \ No newline at end of file +

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

    Last updated:

    \ No newline at end of file diff --git a/v3/api/functions/single/index.html b/v3/api/functions/single/index.html index 98c9551e8..6d12e91d8 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

    Last updated:

    \ No newline at end of file +

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

    Last updated:

    \ No newline at end of file diff --git a/v3/api/functions/transient/index.html b/v3/api/functions/transient/index.html index 986fca255..e42b1a4e4 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

    Last updated:

    \ No newline at end of file +

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

    Last updated:

    \ No newline at end of file diff --git a/v3/api/interfaces/bothcommand/index.html b/v3/api/interfaces/bothcommand/index.html index a05070923..6e330bd2b 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

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:124

    Last updated:

    \ No newline at end of file diff --git a/v3/api/interfaces/buttoncommand/index.html b/v3/api/interfaces/buttoncommand/index.html index 41c624386..42cd21902 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

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:64

    Last updated:

    \ No newline at end of file diff --git a/v3/api/interfaces/channelselectcommand/index.html b/v3/api/interfaces/channelselectcommand/index.html index 78d86d4c6..06cf0169c 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

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:74

    Last updated:

    \ No newline at end of file diff --git a/v3/api/interfaces/commandmoduledefs/index.html b/v3/api/interfaces/commandmoduledefs/index.html index 7d65f3acf..d4fc59a73 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

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:153

    Last updated:

    \ No newline at end of file diff --git a/v3/api/interfaces/contextmenumsg/index.html b/v3/api/interfaces/contextmenumsg/index.html index 529cf77d7..ccae54a42 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

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:59

    Last updated:

    \ No newline at end of file diff --git a/v3/api/interfaces/contextmenuuser/index.html b/v3/api/interfaces/contextmenuuser/index.html index 2f4255f3b..2cdea4618 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

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:54

    Last updated:

    \ No newline at end of file diff --git a/v3/api/interfaces/controller/index.html b/v3/api/interfaces/controller/index.html index 780a70c7a..63dc4724d 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

    Last updated:

    \ No newline at end of file +

    src/types/core-plugin.ts:60

    Last updated:

    \ No newline at end of file diff --git a/v3/api/interfaces/controlplugin/index.html b/v3/api/interfaces/controlplugin/index.html index f4614e32d..e52ae3358 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

    Last updated:

    \ No newline at end of file +

    src/types/core-plugin.ts:72

    Last updated:

    \ No newline at end of file diff --git a/v3/api/interfaces/coredependencies/index.html b/v3/api/interfaces/coredependencies/index.html index 2943fbbe2..db12e1dc7 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

    Last updated:

    \ No newline at end of file +

    src/types/ioc.ts:34

    Last updated:

    \ No newline at end of file diff --git a/v3/api/interfaces/coremodulestore/index.html b/v3/api/interfaces/coremodulestore/index.html index 6f467bdc5..4a40cf0cd 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

    Last updated:

    \ No newline at end of file +

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

    Last updated:

    \ No newline at end of file diff --git a/v3/api/interfaces/discordeventcommand/index.html b/v3/api/interfaces/discordeventcommand/index.html index 986b5da3b..dc2ffbbf5 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

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:108

    Last updated:

    \ No newline at end of file diff --git a/v3/api/interfaces/disposable/index.html b/v3/api/interfaces/disposable/index.html index 25a857efa..c201be980 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

    Last updated:

    \ No newline at end of file +

    src/core/contracts/hooks.ts:15

    Last updated:

    \ No newline at end of file diff --git a/v3/api/interfaces/emitter/index.html b/v3/api/interfaces/emitter/index.html index 842a4c4b8..68590315f 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

    Last updated:

    \ No newline at end of file +

    src/core/contracts/emitter.ts:7

    Last updated:

    \ No newline at end of file diff --git a/v3/api/interfaces/errorhandling/index.html b/v3/api/interfaces/errorhandling/index.html index 7654eda27..d00e04bab 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

    Last updated:

    \ No newline at end of file +

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

    Last updated:

    \ No newline at end of file diff --git a/v3/api/interfaces/eventmoduledefs/index.html b/v3/api/interfaces/eventmoduledefs/index.html index c7131b4ab..14c2fc668 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

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:167

    Last updated:

    \ No newline at end of file diff --git a/v3/api/interfaces/externaleventcommand/index.html b/v3/api/interfaces/externaleventcommand/index.html index 92fba1fb4..5dd10c235 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

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:50

    Last updated:

    \ No newline at end of file diff --git a/v3/api/interfaces/init/index.html b/v3/api/interfaces/init/index.html index 8e01f79d4..1c8d4f503 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

    Last updated:

    \ No newline at end of file +

    src/core/contracts/hooks.ts:7

    Last updated:

    \ No newline at end of file diff --git a/v3/api/interfaces/initplugin/index.html b/v3/api/interfaces/initplugin/index.html index b5eefde63..051f93b3a 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

    Last updated:

    \ No newline at end of file +

    src/types/core-plugin.ts:68

    Last updated:

    \ No newline at end of file diff --git a/v3/api/interfaces/logging/index.html b/v3/api/interfaces/logging/index.html index a3ec48186..129654419 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

    Last updated:

    \ No newline at end of file +

    src/core/contracts/logging.ts:6

    Last updated:

    \ No newline at end of file diff --git a/v3/api/interfaces/mentionableselectcommand/index.html b/v3/api/interfaces/mentionableselectcommand/index.html index 46adc0fef..3cba787e4 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

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:84

    Last updated:

    \ No newline at end of file diff --git a/v3/api/interfaces/modalsubmitcommand/index.html b/v3/api/interfaces/modalsubmitcommand/index.html index 08d156162..283a5ba57 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

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:94

    Last updated:

    \ No newline at end of file diff --git a/v3/api/interfaces/plugin/index.html b/v3/api/interfaces/plugin/index.html index ebe07421b..c3767941d 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

    Last updated:

    \ No newline at end of file +

    src/types/core-plugin.ts:63

    Last updated:

    \ No newline at end of file diff --git a/v3/api/interfaces/roleselectcommand/index.html b/v3/api/interfaces/roleselectcommand/index.html index 85e602b19..1c7c120dc 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

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:79

    Last updated:

    \ No newline at end of file diff --git a/v3/api/interfaces/sernautocompletedata/index.html b/v3/api/interfaces/sernautocompletedata/index.html index 5437caa85..85efc45b1 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

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:173

    Last updated:

    \ No newline at end of file diff --git a/v3/api/interfaces/serneventcommand/index.html b/v3/api/interfaces/serneventcommand/index.html index c50890c6d..8d8bb2579 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

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:44

    Last updated:

    \ No newline at end of file diff --git a/v3/api/interfaces/serneventsmapping/index.html b/v3/api/interfaces/serneventsmapping/index.html index d70b1a436..21261d150 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

    Last updated:

    \ No newline at end of file +

    src/types/utility.ts:22

    Last updated:

    \ No newline at end of file diff --git a/v3/api/interfaces/sernsubcommanddata/index.html b/v3/api/interfaces/sernsubcommanddata/index.html index db9782be7..976f935cf 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

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:208

    Last updated:

    \ No newline at end of file diff --git a/v3/api/interfaces/sernsubcommandgroupdata/index.html b/v3/api/interfaces/sernsubcommandgroupdata/index.html index 68628878a..265d1be1b 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

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:213

    Last updated:

    \ No newline at end of file diff --git a/v3/api/interfaces/slashcommand/index.html b/v3/api/interfaces/slashcommand/index.html index c2ceb4904..bff6f60fa 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

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:117

    Last updated:

    \ No newline at end of file diff --git a/v3/api/interfaces/stringselectcommand/index.html b/v3/api/interfaces/stringselectcommand/index.html index c8474f01f..513e6e697 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

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:69

    Last updated:

    \ No newline at end of file diff --git a/v3/api/interfaces/textcommand/index.html b/v3/api/interfaces/textcommand/index.html index c298367a1..b2f8b5111 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

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:111

    Last updated:

    \ No newline at end of file diff --git a/v3/api/interfaces/userselectcommand/index.html b/v3/api/interfaces/userselectcommand/index.html index 593fffab6..681cf5269 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

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:89

    Last updated:

    \ No newline at end of file diff --git a/v3/api/interfaces/wrapper/index.html b/v3/api/interfaces/wrapper/index.html index 5611847b5..6edbe7cab 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

    Last updated:

    \ No newline at end of file +

    src/types/core.ts:16

    Last updated:

    \ 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 5b425ab0c..e46d1526e 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

    Last updated:

    \ No newline at end of file +

    src/core/presences.ts:28

    Last updated:

    \ 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 02b8206f2..7a867d271 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

    Last updated:

    \ No newline at end of file +

    src/core/presences.ts:37

    Last updated:

    \ 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 de4991a80..57dc7ac02 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

    Last updated:

    \ No newline at end of file +

    src/core/presences.ts:9

    Last updated:

    \ 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 e4e92bdb1..0501c2113 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

    Last updated:

    \ No newline at end of file +

    src/core/presences.ts:17

    Last updated:

    \ 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 6c054b21a..bbea886a7 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

    Last updated:

    \ No newline at end of file +

    src/sern.ts:26

    Last updated:

    \ No newline at end of file diff --git a/v3/api/readme/index.html b/v3/api/readme/index.html index 21b6286c7..f8ae11660 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
  • -

    Last updated:

    \ No newline at end of file +

    Last updated:

    \ 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 a8f0da1a4..5dca18f85 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

    Last updated:

    \ No newline at end of file +

    src/types/core-plugin.ts:76

    Last updated:

    \ 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 0c8132cd2..b57f79314 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

    Last updated:

    \ No newline at end of file +

    src/types/core-plugin.ts:77

    Last updated:

    \ 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 8b2e44b93..55834c7f1 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

    Last updated:

    \ No newline at end of file +

    src/types/utility.ts:16

    Last updated:

    \ 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 ae970dd20..06db6d85b 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

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:132

    Last updated:

    \ 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 b472f916c..1e9fda4b6 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

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:131

    Last updated:

    \ 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 37cea1513..97243627c 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

    Last updated:

    \ No newline at end of file +

    src/types/ioc.ts:17

    Last updated:

    \ 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 34cf2bad8..4d32a41c8 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

    Last updated:

    \ No newline at end of file +

    src/core/contracts/logging.ts:11

    Last updated:

    \ 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 2e0a9415e..2938dad3d 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

    Last updated:

    \ No newline at end of file +

    src/types/utility.ts:26

    Last updated:

    \ 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 ff5ecddbf..d3b0ef6e8 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

    Last updated:

    \ No newline at end of file +

    src/types/core-plugin.ts:51

    Last updated:

    \ 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 906e3e112..b940f9bea 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

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:200

    Last updated:

    \ 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 317f954ed..51ad98a23 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

    Last updated:

    \ No newline at end of file +

    src/types/ioc.ts:7

    Last updated:

    \ 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 1700959d4..8d98a1186 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

    Last updated:

    \ No newline at end of file +

    src/types/utility.ts:14

    Last updated:

    \ 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 01a269267..87049bfa7 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

    Last updated:

    \ No newline at end of file +

    src/types/ioc.ts:12

    Last updated:

    \ No newline at end of file diff --git a/v3/api/variables/controller/index.html b/v3/api/variables/controller/index.html index 9614d9453..a3d82b720 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

    Last updated:

    \ No newline at end of file +

    src/core/create-plugins.ts:69

    Last updated:

    \ No newline at end of file diff --git a/v3/cli/about/index.html b/v3/cli/about/index.html index 9bd282fa8..7b05f28b9 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 8350456d4..fbb486461 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 39f11314e..20547453a 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;
    • The clear command will prompt you to confirm the action. You can bypass this by using the -y flag.
    • The clear command will automatically read a .env file in the working directory. If you need to override this, you can use the -e flag to supply a path to a different .env file.
    • -
    \ 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 2d8af5204..cc3a57815 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 6d5e014f2..ee2b87076 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 75d26827d..88a6c7324 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 7e863fc6c..462d2dc31 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 45e07e1a6..58cda7e7a 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 afdffff9e..66930ef75 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 2019bde0e..e36b49f80 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 20c31ee0b..64df3d1c3 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 efa35c00f..48ee9b163 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 be75e6d13..9fae11dc4 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 c49ef00a9..372c59569 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 450d7b4d9..f4902def6 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 8e9e7a28d..6045e454e 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 7e6e8fcb4..e0b70d360 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 067c8fdc3..a273eacb7 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 8f4e2e3f4..2992bc3d5 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;
    • Use Service for single dependency.
    • Use Services for multiple dependencies.
    • -
    \ 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 8176e631e..f050d68b3 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:

    • Directorysrc -
      • Directorycommands/
      • Directoryevents/
      • Directoryplugins/
      • dependencies.d.ts
      • index.ts
    • .env
    • .gitignore
    • bun.lockb
    • package.json
    • README.md
    • sern.config.json
    • tsconfig.json
    \ No newline at end of file +
    • Directorycommands/
    • Directoryevents/
    • Directoryplugins/
    • dependencies.d.ts
    • index.ts
  • .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 668923306..672edad82 100644 --- a/v4/api/classes/context/index.html +++ b/v4/api/classes/context/index.html @@ -53,7 +53,7 @@ Message and ChatInputCommandInteraction

    Returns

    null | TextBasedChannel

    Source

    -

    src/core/structures/context.ts:43

    +

    src/core/structures/context.ts:43


    channelId

    @@ -62,7 +62,7 @@ Message and ChatInputCommandInteraction

    Returns

    string

    Source

    -

    src/core/structures/context.ts:47

    +

    src/core/structures/context.ts:47


    client

    @@ -71,7 +71,7 @@ Message and ChatInputCommandInteraction

    Returns

    Client<boolean>

    Source

    -

    src/core/structures/context.ts:107

    +

    src/core/structures/context.ts:107


    createdTimestamp

    @@ -80,7 +80,7 @@ Message and ChatInputCommandInteraction

    Returns

    number

    Source

    -

    src/core/structures/context.ts:67

    +

    src/core/structures/context.ts:67


    guild

    @@ -89,7 +89,7 @@ Message and ChatInputCommandInteraction

    Returns

    null | Guild

    Source

    -

    src/core/structures/context.ts:71

    +

    src/core/structures/context.ts:71


    guildId

    @@ -98,7 +98,7 @@ Message and ChatInputCommandInteraction

    Returns

    null | string

    Source

    -

    src/core/structures/context.ts:75

    +

    src/core/structures/context.ts:75


    id

    @@ -107,7 +107,7 @@ Message and ChatInputCommandInteraction

    Returns

    string

    Source

    -

    src/core/structures/context.ts:39

    +

    src/core/structures/context.ts:39


    inGuild

    @@ -116,7 +116,7 @@ Message and ChatInputCommandInteraction

    Returns

    boolean

    Source

    -

    src/core/structures/context.ts:111

    +

    src/core/structures/context.ts:111


    interaction

    @@ -125,7 +125,7 @@ Message and ChatInputCommandInteraction

    Returns

    ChatInputCommandInteraction<CacheType>

    Source

    -

    src/core/structures/context.ts:99

    +

    src/core/structures/context.ts:99


    member

    @@ -134,7 +134,7 @@ Message and ChatInputCommandInteraction

    Returns

    null | GuildMember | APIInteractionGuildMember

    Source

    -

    src/core/structures/context.ts:81

    +

    src/core/structures/context.ts:81


    message

    @@ -143,7 +143,7 @@ Message and ChatInputCommandInteraction

    Returns

    Message<boolean>

    Source

    -

    src/core/structures/context.ts:85

    +

    src/core/structures/context.ts:85


    options

    @@ -152,7 +152,7 @@ Message and ChatInputCommandInteraction

    Returns

    string[] | Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused">

    Source

    -

    src/core/structures/context.ts:25

    +

    src/core/structures/context.ts:25


    prefix

    @@ -161,7 +161,7 @@ Message and ChatInputCommandInteraction

    Returns

    undefined | string

    Source

    -

    src/core/structures/context.ts:36

    +

    src/core/structures/context.ts:36


    user

    @@ -172,7 +172,7 @@ else, interaction.user

    Returns

    User

    Source

    -

    src/core/structures/context.ts:55

    +

    src/core/structures/context.ts:55


    userId

    @@ -181,7 +181,7 @@ else, interaction.user

    Returns

    string

    Source

    -

    src/core/structures/context.ts:63

    +

    src/core/structures/context.ts:63

    Methods

    isMessage()

    @@ -190,7 +190,7 @@ else, interaction.user

    Returns

    this is Context & Object

    Source

    -

    src/core/structures/context.ts:91

    +

    src/core/structures/context.ts:91


    isSlash()

    @@ -199,7 +199,7 @@ else, interaction.user

    Returns

    this is Context & Object

    Source

    -

    src/core/structures/context.ts:95

    +

    src/core/structures/context.ts:95


    reply()

    @@ -210,7 +210,7 @@ else, interaction.user

    Returns

    Promise<Message<boolean>>

    Source

    -

    src/core/structures/context.ts:115

    +

    src/core/structures/context.ts:115


    wrap()

    @@ -222,4 +222,4 @@ else, interaction.user

    Returns

    Context

    Source

    -

    src/core/structures/context.ts:124

    Last updated:

    \ No newline at end of file +

    src/core/structures/context.ts:124

    Last updated:

    \ No newline at end of file diff --git a/v4/api/enumerations/commandtype/index.html b/v4/api/enumerations/commandtype/index.html index 770c18177..4175d9ce3 100644 --- a/v4/api/enumerations/commandtype/index.html +++ b/v4/api/enumerations/commandtype/index.html @@ -52,81 +52,81 @@ A bitfield that discriminates command modules

    Both: 3

    Source

    -

    src/core/structures/enums.ts:20

    +

    src/core/structures/enums.ts:20


    Button

    Button: 16

    Source

    -

    src/core/structures/enums.ts:23

    +

    src/core/structures/enums.ts:23


    ChannelSelect

    ChannelSelect: 1024

    Source

    -

    src/core/structures/enums.ts:29

    +

    src/core/structures/enums.ts:29


    CtxMsg

    CtxMsg: 8

    Source

    -

    src/core/structures/enums.ts:22

    +

    src/core/structures/enums.ts:22


    CtxUser

    CtxUser: 4

    Source

    -

    src/core/structures/enums.ts:21

    +

    src/core/structures/enums.ts:21


    MentionableSelect

    MentionableSelect: 512

    Source

    -

    src/core/structures/enums.ts:28

    +

    src/core/structures/enums.ts:28


    Modal: 64

    Source

    -

    src/core/structures/enums.ts:25

    +

    src/core/structures/enums.ts:25


    RoleSelect

    RoleSelect: 256

    Source

    -

    src/core/structures/enums.ts:27

    +

    src/core/structures/enums.ts:27


    Slash

    Slash: 2

    Source

    -

    src/core/structures/enums.ts:19

    +

    src/core/structures/enums.ts:19


    StringSelect

    StringSelect: 32

    Source

    -

    src/core/structures/enums.ts:24

    +

    src/core/structures/enums.ts:24


    Text

    Text: 1

    Source

    -

    src/core/structures/enums.ts:18

    +

    src/core/structures/enums.ts:18


    UserSelect

    UserSelect: 128

    Source

    -

    src/core/structures/enums.ts:26

    Last updated:

    \ No newline at end of file +

    src/core/structures/enums.ts:26

    Last updated:

    \ No newline at end of file diff --git a/v4/api/enumerations/eventtype/index.html b/v4/api/enumerations/eventtype/index.html index f1bb30bfb..e3f6c8be9 100644 --- a/v4/api/enumerations/eventtype/index.html +++ b/v4/api/enumerations/eventtype/index.html @@ -51,7 +51,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    The EventType for handling discord events

    Source

    -

    src/core/structures/enums.ts:51

    +

    src/core/structures/enums.ts:51


    External

    @@ -60,7 +60,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    The EventType for handling external events. Could be for example, process events, database events

    Source

    -

    src/core/structures/enums.ts:60

    +

    src/core/structures/enums.ts:60


    Sern

    @@ -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

    Last updated:

    \ No newline at end of file +

    src/core/structures/enums.ts:55

    Last updated:

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

    Failure: "failure"

    Source

    -

    src/core/structures/enums.ts:93

    +

    src/core/structures/enums.ts:93


    Success

    Success: "success"

    Source

    -

    src/core/structures/enums.ts:92

    +

    src/core/structures/enums.ts:92


    Warning

    Warning: "warning"

    Source

    -

    src/core/structures/enums.ts:94

    Last updated:

    \ No newline at end of file +

    src/core/structures/enums.ts:94

    Last updated:

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

    The PluginType for EventPlugins

    Source

    -

    src/core/structures/enums.ts:85

    +

    src/core/structures/enums.ts:85


    Init

    @@ -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

    Last updated:

    \ No newline at end of file +

    src/core/structures/enums.ts:81

    Last updated:

    \ No newline at end of file diff --git a/v4/api/functions/commandcontrolplugin/index.html b/v4/api/functions/commandcontrolplugin/index.html index bd653a3b4..0a1efa848 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

    Last updated:

    \ No newline at end of file +

    src/core/plugin.ts:120

    Last updated:

    \ No newline at end of file diff --git a/v4/api/functions/commandinitplugin/index.html b/v4/api/functions/commandinitplugin/index.html index 19cea10fd..922c042ec 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

    Last updated:

    \ No newline at end of file +

    src/core/plugin.ts:62

    Last updated:

    \ No newline at end of file diff --git a/v4/api/functions/commandmodule/index.html b/v4/api/functions/commandmodule/index.html index c177d2cae..2f50965b0 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

    Last updated:

    \ No newline at end of file +

    src/core/modules.ts:47

    Last updated:

    \ No newline at end of file diff --git a/v4/api/functions/discordevent/index.html b/v4/api/functions/discordevent/index.html index 7d9a76def..016d4811f 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

    Last updated:

    \ No newline at end of file +

    src/core/modules.ts:97

    Last updated:

    \ No newline at end of file diff --git a/v4/api/functions/eventinitplugin/index.html b/v4/api/functions/eventinitplugin/index.html index 18f5d5f99..d3ab2090e 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

    Last updated:

    \ No newline at end of file +

    src/core/plugin.ts:15

    Last updated:

    \ No newline at end of file diff --git a/v4/api/functions/eventmodule/index.html b/v4/api/functions/eventmodule/index.html index 15b10bdbe..fda7da622 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

    Last updated:

    \ No newline at end of file +

    src/core/modules.ts:83

    Last updated:

    \ No newline at end of file diff --git a/v4/api/functions/makedependencies/index.html b/v4/api/functions/makedependencies/index.html index 949e35d72..a02ed9b04 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

    Last updated:

    \ No newline at end of file +

    src/core/ioc.ts:63

    Last updated:

    \ No newline at end of file diff --git a/v4/api/functions/makeplugin/index.html b/v4/api/functions/makeplugin/index.html index d188bc13a..f9154b294 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

    Last updated:

    \ No newline at end of file +

    src/core/plugin.ts:6

    Last updated:

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

    See

    https://crontab.guru/ for testing and creating cron patterns

    Source

    -

    src/core/modules.ts:132

    Last updated:

    \ No newline at end of file +

    src/core/modules.ts:132

    Last updated:

    \ No newline at end of file diff --git a/v4/api/functions/service/index.html b/v4/api/functions/service/index.html index 7e5c7e132..2e95db08a 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

    Last updated:

    \ No newline at end of file +

    src/core/ioc.ts:93

    Last updated:

    \ No newline at end of file diff --git a/v4/api/functions/services/index.html b/v4/api/functions/services/index.html index cbfb70c90..788c57694 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

    Last updated:

    \ No newline at end of file +

    src/core/ioc.ts:103

    Last updated:

    \ No newline at end of file diff --git a/v4/api/functions/single/index.html b/v4/api/functions/single/index.html index 4d0b3df43..1f20c5eab 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

    Last updated:

    \ No newline at end of file +

    src/core/ioc.ts:112

    Last updated:

    \ No newline at end of file diff --git a/v4/api/functions/transient/index.html b/v4/api/functions/transient/index.html index 292ee8aea..56e2c7150 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

    Last updated:

    \ No newline at end of file +

    src/core/ioc.ts:123

    Last updated:

    \ No newline at end of file diff --git a/v4/api/interfaces/bothcommand/index.html b/v4/api/interfaces/bothcommand/index.html index e54b1ced8..758a26d6a 100644 --- a/v4/api/interfaces/bothcommand/index.html +++ b/v4/api/interfaces/bothcommand/index.html @@ -58,7 +58,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.description

    Source

    -

    src/types/core-modules.ts:325

    +

    src/types/core-modules.ts:325


    execute()

    @@ -72,7 +72,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:327

    +

    src/types/core-modules.ts:327


    locals

    @@ -119,7 +119,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -136,7 +136,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -145,7 +145,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:123

    +

    src/types/core-modules.ts:123


    onEvent

    @@ -154,14 +154,14 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    options?

    optional options: SernOptionsData[]

    Source

    -

    src/types/core-modules.ts:326

    +

    src/types/core-modules.ts:326


    plugins

    @@ -170,7 +170,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -179,4 +179,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:324

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:324

    Last updated:

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

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    execute()

    @@ -69,7 +69,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:241

    +

    src/types/core-modules.ts:241


    locals

    @@ -116,7 +116,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -133,7 +133,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -142,7 +142,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:123

    +

    src/types/core-modules.ts:123


    onEvent

    @@ -151,7 +151,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    plugins

    @@ -160,7 +160,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -169,4 +169,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:240

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:240

    Last updated:

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

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    execute()

    @@ -69,7 +69,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:255

    +

    src/types/core-modules.ts:255


    locals

    @@ -116,7 +116,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -133,7 +133,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -142,7 +142,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:123

    +

    src/types/core-modules.ts:123


    onEvent

    @@ -151,7 +151,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    plugins

    @@ -160,7 +160,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -169,4 +169,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:254

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:254

    Last updated:

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

    1: TextCommand

    Source

    -

    src/types/core-modules.ts:354

    +

    src/types/core-modules.ts:354


    1024

    1024: ChannelSelectCommand

    Source

    -

    src/types/core-modules.ts:362

    +

    src/types/core-modules.ts:362


    128

    128: UserSelectCommand

    Source

    -

    src/types/core-modules.ts:364

    +

    src/types/core-modules.ts:364


    16

    16: ButtonCommand

    Source

    -

    src/types/core-modules.ts:359

    +

    src/types/core-modules.ts:359


    2

    2: SlashCommand

    Source

    -

    src/types/core-modules.ts:355

    +

    src/types/core-modules.ts:355


    256

    256: RoleSelectCommand

    Source

    -

    src/types/core-modules.ts:361

    +

    src/types/core-modules.ts:361


    3

    3: BothCommand

    Source

    -

    src/types/core-modules.ts:356

    +

    src/types/core-modules.ts:356


    32

    32: StringSelectCommand

    Source

    -

    src/types/core-modules.ts:360

    +

    src/types/core-modules.ts:360


    4

    4: ContextMenuUser

    Source

    -

    src/types/core-modules.ts:358

    +

    src/types/core-modules.ts:358


    512

    512: MentionableSelectCommand

    Source

    -

    src/types/core-modules.ts:363

    +

    src/types/core-modules.ts:363


    64

    64: ModalSubmitCommand

    Source

    -

    src/types/core-modules.ts:365

    +

    src/types/core-modules.ts:365


    8

    8: ContextMenuMsg

    Source

    -

    src/types/core-modules.ts:357

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:357

    Last updated:

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

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    execute()

    @@ -69,7 +69,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:234

    +

    src/types/core-modules.ts:234


    locals

    @@ -116,7 +116,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -133,7 +133,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -142,7 +142,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:123

    +

    src/types/core-modules.ts:123


    onEvent

    @@ -151,7 +151,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    plugins

    @@ -160,7 +160,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -169,4 +169,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:233

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:233

    Last updated:

    \ No newline at end of file diff --git a/v4/api/interfaces/contextmenuuser/index.html b/v4/api/interfaces/contextmenuuser/index.html index 61e8e1e2c..9acd44661 100644 --- a/v4/api/interfaces/contextmenuuser/index.html +++ b/v4/api/interfaces/contextmenuuser/index.html @@ -55,7 +55,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    execute()

    @@ -69,7 +69,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:227

    +

    src/types/core-modules.ts:227


    locals

    @@ -116,7 +116,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -133,7 +133,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -142,7 +142,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:123

    +

    src/types/core-modules.ts:123


    onEvent

    @@ -151,7 +151,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    plugins

    @@ -160,7 +160,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -169,4 +169,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:226

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:226

    Last updated:

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

    Inherited from

    Plugin.execute

    Source

    -

    src/types/core-plugin.ts:44

    +

    src/types/core-plugin.ts:44


    type

    @@ -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

    Last updated:

    \ No newline at end of file +

    src/types/core-plugin.ts:52

    Last updated:

    \ No newline at end of file diff --git a/v4/api/interfaces/coredependencies/index.html b/v4/api/interfaces/coredependencies/index.html index c2a212f8b..019ad28a2 100644 --- a/v4/api/interfaces/coredependencies/index.html +++ b/v4/api/interfaces/coredependencies/index.html @@ -48,7 +48,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    discord.js client.

    Source

    -

    src/core/ioc.ts:140

    +

    src/core/ioc.ts:140


    @sern/emitter

    @@ -57,7 +57,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    sern emitter listens to events that happen throughout the handler. some include module.register, module.activate.

    Source

    -

    src/core/ioc.ts:145

    +

    src/core/ioc.ts:145


    @sern/errors

    @@ -66,7 +66,7 @@ the handler. some include module.register, module.activate.

    An error handler which is the final step before the sern process actually crashes.

    Source

    -

    src/core/ioc.ts:150

    +

    src/core/ioc.ts:150


    @sern/logger?

    @@ -74,7 +74,7 @@ the sern process actually crashes.

    Optional logger. Performs … logging

    Source

    -

    src/core/ioc.ts:154

    +

    src/core/ioc.ts:154


    @sern/modules

    @@ -83,11 +83,11 @@ the sern process actually crashes.

    Readonly module store. sern stores these by module.meta.id -> Module

    Source

    -

    src/core/ioc.ts:159

    +

    src/core/ioc.ts:159


    @sern/scheduler

    @sern/scheduler: TaskScheduler

    Source

    -

    src/core/ioc.ts:161

    Last updated:

    \ No newline at end of file +

    src/core/ioc.ts:161

    Last updated:

    \ No newline at end of file diff --git a/v4/api/interfaces/discordeventcommand/index.html b/v4/api/interfaces/discordeventcommand/index.html index b55759a93..254a33bb9 100644 --- a/v4/api/interfaces/discordeventcommand/index.html +++ b/v4/api/interfaces/discordeventcommand/index.html @@ -57,7 +57,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    locals

    @@ -104,7 +104,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -121,7 +121,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -130,7 +130,7 @@ to attach metadata or configuration to modules.

    Overrides

    Module.name

    Source

    -

    src/types/core-modules.ts:297

    +

    src/types/core-modules.ts:297


    onEvent

    @@ -139,7 +139,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    plugins

    @@ -148,7 +148,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -157,7 +157,7 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:298

    +

    src/types/core-modules.ts:298

    Methods

    execute()

    @@ -170,4 +170,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:299

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:299

    Last updated:

    \ No newline at end of file diff --git a/v4/api/interfaces/disposable/index.html b/v4/api/interfaces/disposable/index.html index fe9b36885..609455d58 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

    Last updated:

    \ No newline at end of file +

    src/core/interfaces.ts:17

    Last updated:

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

    Returns

    this

    Source

    -

    src/core/interfaces.ts:22

    +

    src/core/interfaces.ts:22


    emit()

    @@ -64,7 +64,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    boolean

    Source

    -

    src/core/interfaces.ts:24

    +

    src/core/interfaces.ts:24


    removeListener()

    @@ -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

    Last updated:

    \ No newline at end of file +

    src/core/interfaces.ts:23

    Last updated:

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

    Returns

    never

    Source

    -

    src/core/interfaces.ts:36

    +

    src/core/interfaces.ts:36


    updateAlive()

    @@ -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

    Last updated:

    \ No newline at end of file +

    src/core/interfaces.ts:41

    Last updated:

    \ No newline at end of file diff --git a/v4/api/interfaces/eventmoduledefs/index.html b/v4/api/interfaces/eventmoduledefs/index.html index 6071b4dbc..79545ad7e 100644 --- a/v4/api/interfaces/eventmoduledefs/index.html +++ b/v4/api/interfaces/eventmoduledefs/index.html @@ -49,18 +49,18 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    0: DiscordEventCommand<T>

    Source

    -

    src/types/core-modules.ts:370

    +

    src/types/core-modules.ts:370


    1

    1: SernEventCommand<keyof SernEventsMapping>

    Source

    -

    src/types/core-modules.ts:369

    +

    src/types/core-modules.ts:369


    2

    2: ExternalEventCommand

    Source

    -

    src/types/core-modules.ts:371

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:371

    Last updated:

    \ No newline at end of file diff --git a/v4/api/interfaces/externaleventcommand/index.html b/v4/api/interfaces/externaleventcommand/index.html index 2351d6c65..460329ee2 100644 --- a/v4/api/interfaces/externaleventcommand/index.html +++ b/v4/api/interfaces/externaleventcommand/index.html @@ -55,14 +55,14 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    emitter

    emitter: keyof Dependencies

    Source

    -

    src/types/core-modules.ts:217

    +

    src/types/core-modules.ts:217


    locals

    @@ -109,7 +109,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -126,7 +126,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -135,7 +135,7 @@ to attach metadata or configuration to modules.

    Overrides

    Module.name

    Source

    -

    src/types/core-modules.ts:216

    +

    src/types/core-modules.ts:216


    onEvent

    @@ -144,7 +144,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    plugins

    @@ -153,7 +153,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -162,7 +162,7 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:218

    +

    src/types/core-modules.ts:218

    Methods

    execute()

    @@ -175,4 +175,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:219

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:219

    Last updated:

    \ No newline at end of file diff --git a/v4/api/interfaces/init/index.html b/v4/api/interfaces/init/index.html index 531719503..1c5096396 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

    Last updated:

    \ No newline at end of file +

    src/core/interfaces.ts:9

    Last updated:

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

    Overrides

    Plugin.execute

    Source

    -

    src/types/core-plugin.ts:49

    +

    src/types/core-plugin.ts:49


    type

    @@ -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

    Last updated:

    \ No newline at end of file +

    src/types/core-plugin.ts:48

    Last updated:

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

    Returns

    void

    Source

    -

    src/core/interfaces.ts:52

    +

    src/core/interfaces.ts:52


    error()

    @@ -66,7 +66,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    void

    Source

    -

    src/core/interfaces.ts:49

    +

    src/core/interfaces.ts:49


    info()

    @@ -77,7 +77,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    void

    Source

    -

    src/core/interfaces.ts:51

    +

    src/core/interfaces.ts:51


    warning()

    @@ -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

    Last updated:

    \ No newline at end of file +

    src/core/interfaces.ts:50

    Last updated:

    \ No newline at end of file diff --git a/v4/api/interfaces/mentionableselectcommand/index.html b/v4/api/interfaces/mentionableselectcommand/index.html index 5b447e311..74247e6ab 100644 --- a/v4/api/interfaces/mentionableselectcommand/index.html +++ b/v4/api/interfaces/mentionableselectcommand/index.html @@ -55,7 +55,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    execute()

    @@ -69,7 +69,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:269

    +

    src/types/core-modules.ts:269


    locals

    @@ -116,7 +116,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -133,7 +133,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -142,7 +142,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:123

    +

    src/types/core-modules.ts:123


    onEvent

    @@ -151,7 +151,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    plugins

    @@ -160,7 +160,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -169,4 +169,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:268

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:268

    Last updated:

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

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    execute()

    @@ -69,7 +69,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:283

    +

    src/types/core-modules.ts:283


    locals

    @@ -116,7 +116,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -133,7 +133,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -142,7 +142,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:123

    +

    src/types/core-modules.ts:123


    onEvent

    @@ -151,7 +151,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    plugins

    @@ -160,7 +160,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -169,4 +169,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:282

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:282

    Last updated:

    \ No newline at end of file diff --git a/v4/api/interfaces/module/index.html b/v4/api/interfaces/module/index.html index c856ebebb..41a9b969f 100644 --- a/v4/api/interfaces/module/index.html +++ b/v4/api/interfaces/module/index.html @@ -67,7 +67,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    optional description: string

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    locals

    @@ -112,7 +112,7 @@ to attach metadata or configuration to modules.

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -127,35 +127,35 @@ to attach metadata or configuration to modules.

    id: string

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    optional name: string

    Source

    -

    src/types/core-modules.ts:123

    +

    src/types/core-modules.ts:123


    onEvent

    onEvent: ControlPlugin<any[]>[]

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    plugins

    plugins: InitPlugin<any[]>[]

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    type: CommandType | EventType

    Source

    -

    src/types/core-modules.ts:122

    +

    src/types/core-modules.ts:122

    Methods

    execute()

    @@ -166,4 +166,4 @@ to attach metadata or configuration to modules.

    Returns

    any

    Source

    -

    src/types/core-modules.ts:200

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:200

    Last updated:

    \ No newline at end of file diff --git a/v4/api/interfaces/plugin/index.html b/v4/api/interfaces/plugin/index.html index 194cc1939..06077a608 100644 --- a/v4/api/interfaces/plugin/index.html +++ b/v4/api/interfaces/plugin/index.html @@ -58,11 +58,11 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    PluginResult

    Source

    -

    src/types/core-plugin.ts:44

    +

    src/types/core-plugin.ts:44


    type

    type: PluginType

    Source

    -

    src/types/core-plugin.ts:43

    Last updated:

    \ No newline at end of file +

    src/types/core-plugin.ts:43

    Last updated:

    \ No newline at end of file diff --git a/v4/api/interfaces/roleselectcommand/index.html b/v4/api/interfaces/roleselectcommand/index.html index 623ea87a0..8e5ecc1a5 100644 --- a/v4/api/interfaces/roleselectcommand/index.html +++ b/v4/api/interfaces/roleselectcommand/index.html @@ -55,7 +55,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    execute()

    @@ -69,7 +69,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:262

    +

    src/types/core-modules.ts:262


    locals

    @@ -116,7 +116,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -133,7 +133,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -142,7 +142,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:123

    +

    src/types/core-modules.ts:123


    onEvent

    @@ -151,7 +151,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    plugins

    @@ -160,7 +160,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -169,4 +169,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:261

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:261

    Last updated:

    \ No newline at end of file diff --git a/v4/api/interfaces/scheduledtask/index.html b/v4/api/interfaces/scheduledtask/index.html index e31aecbb2..e0766c415 100644 --- a/v4/api/interfaces/scheduledtask/index.html +++ b/v4/api/interfaces/scheduledtask/index.html @@ -49,21 +49,21 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    optional name: string

    Source

    -

    src/types/core-modules.ts:455

    +

    src/types/core-modules.ts:455


    timezone?

    optional timezone: string

    Source

    -

    src/types/core-modules.ts:457

    +

    src/types/core-modules.ts:457


    trigger

    trigger: string | Date

    Source

    -

    src/types/core-modules.ts:456

    +

    src/types/core-modules.ts:456

    Methods

    execute()

    @@ -75,4 +75,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    Awaitable<void>

    Source

    -

    src/types/core-modules.ts:458

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:458

    Last updated:

    \ No newline at end of file diff --git a/v4/api/interfaces/sdt/index.html b/v4/api/interfaces/sdt/index.html index 41c962f78..db069c567 100644 --- a/v4/api/interfaces/sdt/index.html +++ b/v4/api/interfaces/sdt/index.html @@ -73,7 +73,7 @@ passed through the plugin pipeline to command modules.

    Instance of application dependencies

    Source

    -

    src/types/core-modules.ts:87

    +

    src/types/core-modules.ts:87


    module

    @@ -97,7 +97,7 @@ passed through the plugin pipeline to command modules.

    name: string

    Source

    -

    src/types/core-modules.ts:109

    +

    src/types/core-modules.ts:109


    params?

    @@ -105,7 +105,7 @@ passed through the plugin pipeline to command modules.

    Optional parameters passed to the command

    Source

    -

    src/types/core-modules.ts:104

    +

    src/types/core-modules.ts:104


    state

    @@ -113,7 +113,7 @@ passed through the plugin pipeline to command modules.

    Accumulated state data passed between plugins

    Source

    -

    src/types/core-modules.ts:79

    +

    src/types/core-modules.ts:79


    type

    @@ -121,4 +121,4 @@ passed through the plugin pipeline to command modules.

    Command type identifier

    Source

    -

    src/types/core-modules.ts:95

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:95

    Last updated:

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

    autocomplete: true

    Source

    -

    src/types/core-modules.ts:376

    +

    src/types/core-modules.ts:376


    command

    command: AutocompleteCommand

    Source

    -

    src/types/core-modules.ts:381

    +

    src/types/core-modules.ts:381


    description

    @@ -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:377

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:377

    Last updated:

    \ No newline at end of file diff --git a/v4/api/interfaces/serneventcommand/index.html b/v4/api/interfaces/serneventcommand/index.html index 5648e3539..be326ae8f 100644 --- a/v4/api/interfaces/serneventcommand/index.html +++ b/v4/api/interfaces/serneventcommand/index.html @@ -57,7 +57,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    locals

    @@ -104,7 +104,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -121,7 +121,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -130,7 +130,7 @@ to attach metadata or configuration to modules.

    Overrides

    Module.name

    Source

    -

    src/types/core-modules.ts:208

    +

    src/types/core-modules.ts:208


    onEvent

    @@ -139,7 +139,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    plugins

    @@ -148,7 +148,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -157,7 +157,7 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:209

    +

    src/types/core-modules.ts:209

    Methods

    execute()

    @@ -170,4 +170,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:210

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:210

    Last updated:

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

    error: [object]

    Source

    -

    src/types/utility.ts:12

    +

    src/types/utility.ts:12


    module.activate

    module.activate: [Payload]

    Source

    -

    src/types/utility.ts:11

    +

    src/types/utility.ts:11


    module.register

    module.register: [Payload]

    Source

    -

    src/types/utility.ts:10

    +

    src/types/utility.ts:10


    modulesLoaded

    modulesLoaded: [undefined?]

    Source

    -

    src/types/utility.ts:14

    +

    src/types/utility.ts:14


    warning

    warning: [Payload]

    Source

    -

    src/types/utility.ts:13

    Last updated:

    \ No newline at end of file +

    src/types/utility.ts:13

    Last updated:

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

    optional options: SernOptionsData[]

    Source

    -

    src/types/core-modules.ts:417

    +

    src/types/core-modules.ts:417


    required?

    @@ -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:416

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:416

    Last updated:

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

    optional options: SernSubCommandData[]

    Source

    -

    src/types/core-modules.ts:422

    +

    src/types/core-modules.ts:422


    required?

    @@ -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:421

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:421

    Last updated:

    \ No newline at end of file diff --git a/v4/api/interfaces/slashcommand/index.html b/v4/api/interfaces/slashcommand/index.html index dc9b2658d..92742f5e2 100644 --- a/v4/api/interfaces/slashcommand/index.html +++ b/v4/api/interfaces/slashcommand/index.html @@ -58,7 +58,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.description

    Source

    -

    src/types/core-modules.ts:315

    +

    src/types/core-modules.ts:315


    execute()

    @@ -72,7 +72,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:317

    +

    src/types/core-modules.ts:317


    locals

    @@ -119,7 +119,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -136,7 +136,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -145,7 +145,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:123

    +

    src/types/core-modules.ts:123


    onEvent

    @@ -154,14 +154,14 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    options?

    optional options: SernOptionsData[]

    Source

    -

    src/types/core-modules.ts:316

    +

    src/types/core-modules.ts:316


    plugins

    @@ -170,7 +170,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -179,4 +179,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:314

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:314

    Last updated:

    \ No newline at end of file diff --git a/v4/api/interfaces/stringselectcommand/index.html b/v4/api/interfaces/stringselectcommand/index.html index 3f3587665..50777ff28 100644 --- a/v4/api/interfaces/stringselectcommand/index.html +++ b/v4/api/interfaces/stringselectcommand/index.html @@ -55,7 +55,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    execute()

    @@ -69,7 +69,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:248

    +

    src/types/core-modules.ts:248


    locals

    @@ -116,7 +116,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -133,7 +133,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -142,7 +142,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:123

    +

    src/types/core-modules.ts:123


    onEvent

    @@ -151,7 +151,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    plugins

    @@ -160,7 +160,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -169,4 +169,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:247

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:247

    Last updated:

    \ No newline at end of file diff --git a/v4/api/interfaces/textcommand/index.html b/v4/api/interfaces/textcommand/index.html index 03ee6dd98..655f93c75 100644 --- a/v4/api/interfaces/textcommand/index.html +++ b/v4/api/interfaces/textcommand/index.html @@ -58,7 +58,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    execute()

    @@ -72,7 +72,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:307

    +

    src/types/core-modules.ts:307


    locals

    @@ -119,7 +119,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -136,7 +136,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -145,7 +145,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:123

    +

    src/types/core-modules.ts:123


    onEvent

    @@ -154,7 +154,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    plugins

    @@ -163,7 +163,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -172,4 +172,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:306

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:306

    Last updated:

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

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    execute()

    @@ -69,7 +69,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:276

    +

    src/types/core-modules.ts:276


    locals

    @@ -116,7 +116,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:199

    +

    src/types/core-modules.ts:199


    meta

    @@ -133,7 +133,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    name?

    @@ -142,7 +142,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:123

    +

    src/types/core-modules.ts:123


    onEvent

    @@ -151,7 +151,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:124

    +

    src/types/core-modules.ts:124


    plugins

    @@ -160,7 +160,7 @@ to attach metadata or configuration to modules.

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:125

    +

    src/types/core-modules.ts:125


    type

    @@ -169,4 +169,4 @@ to attach metadata or configuration to modules.

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:275

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:275

    Last updated:

    \ No newline at end of file diff --git a/v4/api/interfaces/wrapper/index.html b/v4/api/interfaces/wrapper/index.html index ffc02cbf4..7f9f41c01 100644 --- a/v4/api/interfaces/wrapper/index.html +++ b/v4/api/interfaces/wrapper/index.html @@ -59,7 +59,7 @@ they were declared. Order of modules in each directory is not guaranteed

    Example

    1
    commands: ["./dist/commands"]

    Source

    -

    src/types/utility.ts:46

    +

    src/types/utility.ts:46


    defaultPrefix?

    @@ -72,7 +72,7 @@ will be disabled.

    Example

    1
    defaultPrefix: "?"

    Source

    -

    src/types/utility.ts:65

    +

    src/types/utility.ts:65


    events?

    @@ -87,7 +87,7 @@ Order of modules in each directory is not guaranteed.

    Example

    1
    events: ["./dist/events"]

    Source

    -

    src/types/utility.ts:77

    +

    src/types/utility.ts:77


    handleModuleErrors?

    @@ -100,7 +100,7 @@ during module execution, preventing crashes and providing error logging.

    Default

    1
    false

    Source

    -

    src/types/utility.ts:55

    +

    src/types/utility.ts:55


    tasks?

    @@ -115,4 +115,4 @@ Order of modules in each directory is not guaranteed.

    Example

    1
    tasks: ["./dist/tasks"]

    Source

    -

    src/types/utility.ts:89

    Last updated:

    \ No newline at end of file +

    src/types/utility.ts:89

    Last updated:

    \ No newline at end of file diff --git a/v4/api/namespaces/presence/interfaces/result/index.html b/v4/api/namespaces/presence/interfaces/result/index.html index 9d2fc4ab6..74205c904 100644 --- a/v4/api/namespaces/presence/interfaces/result/index.html +++ b/v4/api/namespaces/presence/interfaces/result/index.html @@ -47,39 +47,39 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    optional activities: ActivitiesOptions[]

    Source

    -

    src/core/presences.ts:59

    +

    src/core/presences.ts:59


    afk?

    optional afk: boolean

    Source

    -

    src/core/presences.ts:58

    +

    src/core/presences.ts:58


    onRepeat?

    optional onRepeat: PresenceReduce

    Source

    -

    src/core/presences.ts:62

    +

    src/core/presences.ts:62


    repeat?

    optional repeat: number | [Emitter, string]

    Source

    -

    src/core/presences.ts:61

    +

    src/core/presences.ts:61


    shardId?

    optional shardId: number[]

    Source

    -

    src/core/presences.ts:60

    +

    src/core/presences.ts:60


    status?

    optional status: Status

    Source

    -

    src/core/presences.ts:57

    Last updated:

    \ No newline at end of file +

    src/core/presences.ts:57

    Last updated:

    \ No newline at end of file diff --git a/v4/api/namespaces/presence/type-aliases/config/index.html b/v4/api/namespaces/presence/type-aliases/config/index.html index 617cfd783..9107548b2 100644 --- a/v4/api/namespaces/presence/type-aliases/config/index.html +++ b/v4/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:50

    Last updated:

    \ No newline at end of file +

    src/core/presences.ts:50

    Last updated:

    \ 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 15faec5dc..3c2ea46d1 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

    Last updated:

    \ No newline at end of file +

    src/sern.ts:32

    Last updated:

    \ No newline at end of file diff --git a/v4/api/readme/index.html b/v4/api/readme/index.html index 478c1f9cd..a65ed8b6d 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
  • -

    Last updated:

    \ No newline at end of file +

    Last updated:

    \ 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 8ba971c83..fd8ab2526 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

    Last updated:

    \ No newline at end of file +

    src/types/core-plugin.ts:55

    Last updated:

    \ 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 1d0a9e976..3ab750110 100644 --- a/v4/api/type-aliases/commandmodule/index.html +++ b/v4/api/type-aliases/commandmodule/index.html @@ -47,4 +47,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Since

    1.0.0

    Source

    -

    src/types/core-modules.ts:337

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:337

    Last updated:

    \ 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 f4224c2ac..e6a8dfeb3 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

    Last updated:

    \ No newline at end of file +

    src/core/plugin.ts:137

    Last updated:

    \ 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 73e87d6ac..c1c53d7ac 100644 --- a/v4/api/type-aliases/eventmodule/index.html +++ b/v4/api/type-aliases/eventmodule/index.html @@ -47,4 +47,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Since

    1.0.0

    Source

    -

    src/types/core-modules.ts:332

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:332

    Last updated:

    \ 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 cf69973b5..d37519294 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

    Last updated:

    \ No newline at end of file +

    src/core/interfaces.ts:55

    Last updated:

    \ 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 032e83c0b..838b12fcf 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

    Last updated:

    \ No newline at end of file +

    src/types/utility.ts:17

    Last updated:

    \ 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 c6d0a0343..e2e8a636b 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

    Last updated:

    \ No newline at end of file +

    src/types/core-plugin.ts:36

    Last updated:

    \ 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 9fb22fee4..6b8e20abd 100644 --- a/v4/api/type-aliases/sernoptionsdata/index.html +++ b/v4/api/type-aliases/sernoptionsdata/index.html @@ -48,4 +48,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:408

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:408

    Last updated:

    \ No newline at end of file diff --git a/v4/api/variables/controller/index.html b/v4/api/variables/controller/index.html index 47e2261be..21f05dcdc 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

    Last updated:

    \ No newline at end of file +

    src/core/plugin.ts:131

    Last updated:

    \ No newline at end of file diff --git a/v4/api/variables/presence/index.html b/v4/api/variables/presence/index.html index 0d00db50a..d4a75c67f 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

    Last updated:

    \ No newline at end of file +

    src/core/presences.ts:9

    Last updated:

    \ No newline at end of file diff --git a/v4/cli/about/index.html b/v4/cli/about/index.html index 5282a663c..7d53162c4 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 ca198caca..e6600d87b 100644 --- a/v4/cli/build/index.html +++ b/v4/cli/build/index.html @@ -41,9 +41,9 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem; StarlightThemeProvider.updatePickers();

    Build

    Terminal window
    Usage: sern build [options]
    +

    Build

    Terminal window
    Usage: sern build [options]
    Build your bot
    -
    Options:
    -f --format [fmt] The module system of your application. `cjs` or `esm` (default: "esm")
    -m --mode [mode] the mode for sern to build in. `production` or `development` (default: "development")
    -W --suppress-warnings suppress experimental warning
    -p --project [filePath] build with this sern.build file
    -h, --help display help for command
    +
    Options:
    -f --format [fmt] The module system of your application. `cjs` or `esm` (default: "esm")
    -m --mode [mode] the mode for sern to build in. `production` or `development` (default: "development")
    -w --watch
    --watch-command [cmd] the command for sern to watch. if watch is not enabled, an error is thrown (default: "")
    -W --suppress-warnings suppress experimental warning
    -p --project [filePath] build with the provided sern.build file
    -e --env path to .env file
    --source-maps Whether to add source-maps to configuration (default: false)
    --tsconfig [filePath] Use this tsconfig
    -h, --help display help for command

    Guiding Principles

    When designing the sern build command, our aim was to make building bot applications as simple as possible for the majority of developers. The setup process has been streamlined, and most of the configuration details have been handled for you.

    Here are some key points to keep in mind:

    @@ -71,9 +71,6 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Zero Configuration: Building your bot application without additional configuration. The CLI handles most of the setup for you.

  • -

    Experimental Image Support: We’ve introduced experimental support for top-level imports of PNG and JPG files, making it easier to include images in your bot application.

    -
  • -
  • Compile Time Constants: Customize your build with constants such as __DEV__, __PROD__, allowing you to tailor your application to different production stages.

  • @@ -94,10 +91,19 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    sern.build.js

    The sern.build.js file is for any extra configuration you may need, such as adding esbuild plugins.

    The CLI was intentionally made to be installed globally, and we can’t provide typings at a project level. If you need typings, here they are:

    -
    1
    type BuildOptions = {
    2
    /**
    3
    * Define __VERSION__
    4
    * This option is a quick switch to defining the __VERSION__ constant which will be a string of the version provided in
    5
    * cwd's package.json
    6
    */
    7
    defineVersion?: boolean;
    8
    /**
    9
    * default = esm
    10
    */
    11
    format?: "cjs" | "esm";
    12
    /**
    13
    * extra esbuild plugins to build with sern.
    14
    */
    15
    esbuildPlugins?: esbuild.Plugin[];
    16
    /**
    17
    * https://esbuild.github.io/api/#drop-labels
    18
    **/
    19
    dropLabels?: string[];
    20
    /**
    21
    * https://esbuild.github.io/api/#define
    22
    **/
    23
    define?: Record<string, string>;
    24
    /**
    25
    * Path to tsconfig
    26
    **/
    27
    tsconfig?: string;
    28
    /**
    29
    * default = 'development'
    30
    */
    31
    mode: "production" | "development";
    32
    /**
    33
    * will search for env file. If none exists,
    34
    * default to .env.
    35
    */
    36
    env?: string;
    37
    };
    +
    1
    type BuildOptions = {
    2
    /**
    3
    * Define __VERSION__
    4
    * This option is a quick switch to defining the __VERSION__ constant which will be a string of the version provided in
    5
    * cwd's package.json
    6
    */
    7
    defineVersion?: boolean;
    8
    /**
    9
    * default = esm
    10
    */
    11
    format?: "cjs" | "esm";
    12
    /**
    13
    * extra esbuild plugins to build with sern.
    14
    */
    15
    esbuildPlugins?: esbuild.Plugin[];
    16
    /**
    17
    * https://esbuild.github.io/api/#drop-labels
    18
    **/
    19
    dropLabels?: string[];
    20
    /**
    21
    * https://esbuild.github.io/api/#define
    22
    **/
    23
    define?: Record<string, string>;
    24
    /**
    25
    * Path to tsconfig
    26
    **/
    27
    tsconfig?: string;
    28
    /**
    29
    * default = 'development'
    30
    */
    31
    mode: "production" | "development";
    32
    /**
    33
    * will search for env file. If none exists,
    34
    * default to .env.
    35
    */
    36
    env?: string;
    37
    +
    38
    // options for watch
    39
    watch?: {
    40
    /**
    41
    * command to run.
    42
    * defaults to your package
    43
    * manager's start command.
    44
    */
    45
    command?: string;
    46
    }
    47
    };

    Usage

    Terminal window
    sern build

    (that was easy)

    +

    sern build —watch

    +

    the watch flag needs a start command. Depending on the lock file in your project, sern will run this command to reload your project. the build command checks in this order:

    +
    1
    // custom defined watchCommand
    2
    if(watchCommand) return watchCommand
    3
    // npm
    4
    if (pathExistsSync('package-lock.json')) return 'npm start';
    5
    // yarn
    6
    if (pathExistsSync('yarn.lock')) return 'yarn start';
    7
    // pnpm
    8
    if (pathExistsSync('pnpm-lock.yaml')) return 'pnpm start';
    9
    // bun 1.1
    10
    if (pathExistsSync('bun.lockb')) return 'bun start';
    11
    // bun 1.2
    12
    if (pathExistsSync('bun.lock')) return 'bun start';
    + + + +

    Adapting Older Projects

    Change your tsconfig.json to extend our generated one, ./.sern/tsconfig.json.

    1
    {
    2
    "extends": "./.sern/tsconfig.json",
    3
    "compilerOptions": {
    4
    // all of your old fields
    5
    }
    6
    }
    @@ -113,4 +119,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 f525493af..1702278a4 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;
    • The clear command will prompt you to confirm the action. You can bypass this by using the -y flag.
    • The clear command will automatically read a .env file in the working directory. If you need to override this, you can use the -e flag to supply a path to a different .env file.
    • -
    \ 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 cfc6f510f..85edc9e98 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 36505b8b8..e45c4d8ac 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 473f1ded1..983f83c1b 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 c7446c630..76712af0a 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 65c4caf73..bf7cd3e48 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 d92dfba68..86dfe1cf9 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 bb64ab72c..3ab682eb1 100644 --- a/v4/reference/error-handling/index.html +++ b/v4/reference/error-handling/index.html @@ -56,4 +56,4 @@ set handleModuleErrors<

    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 a89de56a6..2d8b251e0 100644 --- a/v4/reference/getting-started/index.html +++ b/v4/reference/getting-started/index.html @@ -54,4 +54,4 @@ If you’re not familiar with how to get a bot token, you can follow the tutoria

    Step 4: Run the bot!

    A development command inside the CLI is in the works. For now, you have to restart the bot manually for your changes to take effect.

    Terminal window
    npm run build && npm start
    -

    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/v4/reference/goal/index.html b/v4/reference/goal/index.html index 69437f346..9a4c45870 100644 --- a/v4/reference/goal/index.html +++ b/v4/reference/goal/index.html @@ -53,4 +53,4 @@ Some advocate to build your own abstractions, use clunky archaic codeba
  • Concise: Too much code is a liability. With sern, write less for more. 🤯
  • Our community

    -

    As of 01/23/2025, our discord is considered small, but it is no excuse for helping those who want to build bots with us. Feel free to join us!

    \ No newline at end of file +

    As of 01/23/2025, our discord is considered small, but it is no excuse for helping those who want to build bots with us. Feel free to join us!

    \ No newline at end of file diff --git a/v4/reference/modules/index.html b/v4/reference/modules/index.html index 8d5c3db28..535a0a193 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 120ef97d8..2428076ff 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 25badc1fe..e4dc915a8 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 696769ebd..372383d6d 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 +
    • 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 diff --git a/v4/reference/tasks/index.html b/v4/reference/tasks/index.html index bf42eda07..2ab690ee6 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 c844ccaa6..7f41445fc 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 dcafa8635..d9076e216 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 9283191b3..45f9d36fd 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 8c240e2b9..ad6302001 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 b4a4cea09..4240ab714 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 bfdcf4627..8ef7771ca 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 55cc1c5b8..50372cbea 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