diff --git a/blog/1.2.0/index.html b/blog/1.2.0/index.html index 4e5c757a4..ea89572e1 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 52a552962..172683b12 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 bfa9027ac..6f20fe19d 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 9963e8df6..39cde2616 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 a57e3d6cd..1b5a91429 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 790a59b89..5c22b79c8 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 586377c49..1e7ee3e8c 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 df5af4fdb..d5bf916db 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 aa090e3df..a0d9c52e4 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 ec7eef22c..34c31a6da 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 b5125df51..7f04a4123 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 75d57689e..cf3f46a41 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 88ee6a218..25f2cb942 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

    -
    Vinci

    Vinci

    The discord bot for Mara Turing

    man-nomic

    man-nomic

    Displays LLM model information

    Ava

    Ava

    Plays Gensokyo Radio and KNGI (shut down)

    aiproj

    aiproj

    Perform semantic searches on your discord servers

    sern Community

    sern Community

    The bot used to manage sern Community

    Bask

    Bask

    A discord music bot

    +
    Ava

    Ava

    Plays Gensokyo Radio and KNGI (shut down)

    sern Community

    sern Community

    The bot used to manage sern Community

    aiproj

    aiproj

    Perform semantic searches on your discord servers

    man-nomic

    man-nomic

    Displays LLM model information

    Vinci

    Vinci

    The discord bot for Mara Turing

    Bask

    Bask

    A discord music 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 384cf7a63..de9e58a51 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 9c493707f..8aa3eff3b 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 a47a30bdf..be27b63e1 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 c133163f1..c203ee960 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 178ad6155..31cdefa75 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 e65bdfb25..2c26e7858 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 c587ef81f..28ec2c972 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 8c2a8aab7..404768d1e 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 6cb17da53..001989863 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 fae33013b..3a8aa7167 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 3eb9320c1..ad01a20ad 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 5b9a06780..56eed83c1 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 85aea9f0f..f9558efcf 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 c0a3d0a3d..6e7beabcc 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 25054d255..05ac6b7ac 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 1136c8e7b..587f2f86e 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 0371c6bb8..bf3190411 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 90a9fb00f..f3208a601 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 12dc47630..7c2d21cf4 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 cfad9d85c..c673600fa 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 94d80b2d1..7e140140b 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 7dbf64bb0..30b832904 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 e49408791..92f079c08 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 6b547a9ef..597db7ff4 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 662488c7f..ae9668575 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 339f9a5d8..b3bd3c546 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 576026652..c447e95f2 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 9c73b160a..22a43df2e 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 ad554cc45..517b9e043 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 9beaf6631..da44bb45d 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 29443e456..789ab4cdb 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 96663fea3..2672f804b 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 af42e1f48..56950bfa5 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 df04ef9fa..5a259c8a8 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 63aec7a71..f12e8a399 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 e334fe67d..0ecdaeb36 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 3f0f7e31c..3275a72af 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 6f8434f68..40a615cf4 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 427067589..ab1f868ae 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 605262885..04ea1e4f3 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 a8ab585bf..d815abff9 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 29357b61a..5b9215395 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 78104072d..c4cefb52d 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 53160a8db..51e094eaf 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 829ee72da..2f8849357 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 148ce6f06..b5e09aa79 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 979fb33c7..436ec754c 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 5e2055430..cc97e6117 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 3ea0c53cd..c7871365d 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 b6179aa60..c05d2b478 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 525eccac8..cbe53aa5b 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 447656bc7..ef796cecd 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 6cf28dffe..11f035d55 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 911ff161d..375275182 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 022f02e7a..bb64a361e 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 3f4ea0f0e..0fb671151 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 f55f2b590..785531d76 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 cdc2be56b..e005eece3 100644 --- a/es/v3/api/namespaces/sern/functions/init/index.html +++ b/es/v3/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: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 6e3618cc0..59a51199a 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 cb25854fe..42d51e41b 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 3d394a0a4..ee75489ed 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 4f89337c4..80d7cc2ad 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 43cba6bc7..846ccfbd4 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 d110e9a28..abc2d87f4 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 de3770798..e2d099654 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 f84cbc56d..62fdb2fb6 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 8c78dff45..fb955e9de 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 0a163d863..8580b035e 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 7519bde28..17a0eb94c 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 cb2e02bb7..3c0fd27fc 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 e92602065..4ba563520 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 9e7c67327..6e8b6991c 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 056cbda81..8c0873ec4 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 33403646a..122912486 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 c34795126..50419876e 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 e51b6114d..4c1814f05 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 5b9260407..f91f5a131 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 861b85fa2..3d4ce2c4d 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 ae6b57fb2..a02f4b3d4 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 e80ec9261..2d61092d3 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 eab687487..2e2635401 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 72457da06..a0a502bd9 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 e4eebd9b5..170e71c4f 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 eff3bc965..27b862a71 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 d5498cd11..48b7fbef6 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 2bb1fb593..c83f8d2e6 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 1e8e4094c..65d6680e9 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 616dcae5e..06e797d26 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 959fdc73f..2c55eb2c9 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 9d15b8098..4d4e7abc4 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 bae07b56e..650914ec1 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 e1435cfac..ff4710985 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 efa84e895..b48028781 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 b3cb4dd39..deadc9f57 100644 --- a/es/v4/api/classes/context/index.html +++ b/es/v4/api/classes/context/index.html @@ -57,7 +57,7 @@ Message and ChatInputCommandInteraction

    Returns

    null | TextBasedChannel

    Source

    -

    src/core/structures/context.ts:49

    +

    src/core/structures/context.ts:49


    channelId

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

    Returns

    string

    Source

    -

    src/core/structures/context.ts:53

    +

    src/core/structures/context.ts:53


    client

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

    Returns

    Client<boolean>

    Source

    -

    src/core/structures/context.ts:108

    +

    src/core/structures/context.ts:108


    createdTimestamp

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

    Returns

    number

    Source

    -

    src/core/structures/context.ts:73

    +

    src/core/structures/context.ts:73


    guild

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

    Returns

    null | Guild

    Source

    -

    src/core/structures/context.ts:79

    +

    src/core/structures/context.ts:79


    guildId

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

    Returns

    null | string

    Source

    -

    src/core/structures/context.ts:85

    +

    src/core/structures/context.ts:85


    id

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

    Returns

    string

    Source

    -

    src/core/structures/context.ts:43

    +

    src/core/structures/context.ts:43


    inGuild

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

    Returns

    boolean

    Source

    -

    src/core/structures/context.ts:114

    +

    src/core/structures/context.ts:114


    interaction

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

    Returns

    ChatInputCommandInteraction<CacheType>

    Source

    -

    src/core/structures/context.ts:103

    +

    src/core/structures/context.ts:103


    member

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

    Returns

    null | GuildMember | APIInteractionGuildMember

    Source

    -

    src/core/structures/context.ts:93

    +

    src/core/structures/context.ts:93


    message

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

    Returns

    Message<boolean>

    Source

    -

    src/core/structures/context.ts:99

    +

    src/core/structures/context.ts:99


    options

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

    Returns

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

    Source

    -

    src/core/structures/context.ts:26

    +

    src/core/structures/context.ts:26


    prefix

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

    Returns

    undefined | string

    Source

    -

    src/core/structures/context.ts:40

    +

    src/core/structures/context.ts:40


    user

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

    Returns

    User

    Source

    -

    src/core/structures/context.ts:63

    +

    src/core/structures/context.ts:63


    userId

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

    Returns

    string

    Source

    -

    src/core/structures/context.ts:69

    +

    src/core/structures/context.ts:69

    Methods

    isMessage()

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

    Inherited from

    CoreContext.isMessage

    Source

    -

    src/core/structures/core-context.ts:11

    +

    src/core/structures/core-context.ts:11


    isSlash()

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

    Inherited from

    CoreContext.isSlash

    Source

    -

    src/core/structures/core-context.ts:15

    +

    src/core/structures/core-context.ts:15


    reply()

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

    Returns

    Promise<Message<boolean>>

    Source

    -

    src/core/structures/context.ts:120

    +

    src/core/structures/context.ts:120


    wrap()

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

    Returns

    Context

    Source

    -

    src/core/structures/context.ts:129

    Última actualización:

    \ No newline at end of file +

    src/core/structures/context.ts:129

    Ú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 b6d1fb49e..d7d9ec550 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 fb8e7ba93..28b62f502 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 f35adef3f..231ba119d 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 32ab01dac..ff64656ce 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 7f433e985..9ca1b52f5 100644 --- a/es/v4/api/functions/commandcontrolplugin/index.html +++ b/es/v4/api/functions/commandcontrolplugin/index.html @@ -53,4 +53,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Since

    2.5.0

    Source

    -

    src/core/plugin.ts:28

    Última actualización:

    \ No newline at end of file +

    src/core/plugin.ts:28

    Ú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 242220ee2..ac5239089 100644 --- a/es/v4/api/functions/commandinitplugin/index.html +++ b/es/v4/api/functions/commandinitplugin/index.html @@ -53,4 +53,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Since

    2.5.0

    Source

    -

    src/core/plugin.ts:20

    Última actualización:

    \ No newline at end of file +

    src/core/plugin.ts:20

    Ú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 5622724ef..9ab4c5951 100644 --- a/es/v4/api/functions/commandmodule/index.html +++ b/es/v4/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:16

    Última actualización:

    \ No newline at end of file +

    src/core/modules.ts:16

    Ú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 9719e5c93..58467ace7 100644 --- a/es/v4/api/functions/discordevent/index.html +++ b/es/v4/api/functions/discordevent/index.html @@ -57,4 +57,4 @@ where typings can be very bad.

    Returns

    Module

    Source

    -

    src/core/modules.ts:42

    Última actualización:

    \ No newline at end of file +

    src/core/modules.ts:42

    Ú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 82e77de26..238f2136d 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:14

    Última actualización:

    \ No newline at end of file +

    src/core/plugin.ts:14

    Ú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 159695b69..6547293d9 100644 --- a/es/v4/api/functions/eventmodule/index.html +++ b/es/v4/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:29

    Última actualización:

    \ No newline at end of file +

    src/core/modules.ts:29

    Ú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 4a5d91303..b6e8dafd3 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 0998f7aae..eb64210c8 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:5

    Última actualización:

    \ No newline at end of file +

    src/core/plugin.ts:5

    Ú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 05ae1da70..b3b7c1ebd 100644 --- a/es/v4/api/functions/scheduledtask/index.html +++ b/es/v4/api/functions/scheduledtask/index.html @@ -49,4 +49,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    ScheduledTask

    Source

    -

    src/core/modules.ts:50

    \ No newline at end of file +

    src/core/modules.ts:50

    \ 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 7346c5b1b..d4fcc14ba 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 4f675dd44..2d51ce5d1 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 b1c79bcba..ec5469eb2 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 0c270263d..43404e54f 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 0920d5169..60645b754 100644 --- a/es/v4/api/interfaces/bothcommand/index.html +++ b/es/v4/api/interfaces/bothcommand/index.html @@ -53,7 +53,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.description

    Source

    -

    src/types/core-modules.ts:133

    +

    src/types/core-modules.ts:133


    execute()

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

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:135

    +

    src/types/core-modules.ts:135


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:36

    +

    src/types/core-modules.ts:36


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    options?

    optional options: SernOptionsData[]

    Source

    -

    src/types/core-modules.ts:134

    +

    src/types/core-modules.ts:134


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

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

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:132

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:132

    Ú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 dce72684c..5a52e6bf3 100644 --- a/es/v4/api/interfaces/buttoncommand/index.html +++ b/es/v4/api/interfaces/buttoncommand/index.html @@ -53,7 +53,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:39

    +

    src/types/core-modules.ts:39


    execute()

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

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:75

    +

    src/types/core-modules.ts:75


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:36

    +

    src/types/core-modules.ts:36


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

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

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:74

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:74

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

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:39

    +

    src/types/core-modules.ts:39


    execute()

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

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:85

    +

    src/types/core-modules.ts:85


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:36

    +

    src/types/core-modules.ts:36


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

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

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:84

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:84

    Ú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 18242cc2b..4805894e0 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:156

    +

    src/types/core-modules.ts:156


    1024

    1024: ChannelSelectCommand

    Source

    -

    src/types/core-modules.ts:164

    +

    src/types/core-modules.ts:164


    128

    128: UserSelectCommand

    Source

    -

    src/types/core-modules.ts:166

    +

    src/types/core-modules.ts:166


    16

    16: ButtonCommand

    Source

    -

    src/types/core-modules.ts:161

    +

    src/types/core-modules.ts:161


    2

    2: SlashCommand

    Source

    -

    src/types/core-modules.ts:157

    +

    src/types/core-modules.ts:157


    256

    256: RoleSelectCommand

    Source

    -

    src/types/core-modules.ts:163

    +

    src/types/core-modules.ts:163


    3

    3: BothCommand

    Source

    -

    src/types/core-modules.ts:158

    +

    src/types/core-modules.ts:158


    32

    32: StringSelectCommand

    Source

    -

    src/types/core-modules.ts:162

    +

    src/types/core-modules.ts:162


    4

    4: ContextMenuUser

    Source

    -

    src/types/core-modules.ts:160

    +

    src/types/core-modules.ts:160


    512

    512: MentionableSelectCommand

    Source

    -

    src/types/core-modules.ts:165

    +

    src/types/core-modules.ts:165


    64

    64: ModalSubmitCommand

    Source

    -

    src/types/core-modules.ts:167

    +

    src/types/core-modules.ts:167


    8

    8: ContextMenuMsg

    Source

    -

    src/types/core-modules.ts:159

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:159

    Ú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 89d8235a5..907257f5e 100644 --- a/es/v4/api/interfaces/contextmenumsg/index.html +++ b/es/v4/api/interfaces/contextmenumsg/index.html @@ -53,7 +53,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:39

    +

    src/types/core-modules.ts:39


    execute()

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

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:70

    +

    src/types/core-modules.ts:70


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:36

    +

    src/types/core-modules.ts:36


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

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

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:69

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:69

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

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:39

    +

    src/types/core-modules.ts:39


    execute()

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

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:65

    +

    src/types/core-modules.ts:65


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:36

    +

    src/types/core-modules.ts:36


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

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

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:64

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:64

    Ú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 ca225d165..c92726a13 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:43

    +

    src/types/core-plugin.ts:43


    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:51

    Última actualización:

    \ No newline at end of file +

    src/types/core-plugin.ts:51

    Ú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 fa558b3ae..b7458a20e 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/dependencyconfiguration/index.html b/es/v4/api/interfaces/dependencyconfiguration/index.html index 098d25064..6056300a1 100644 --- a/es/v4/api/interfaces/dependencyconfiguration/index.html +++ b/es/v4/api/interfaces/dependencyconfiguration/index.html @@ -54,4 +54,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    Container

    Source

    -

    src/index.ts:71

    \ No newline at end of file +

    src/index.ts:71

    \ 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 9402cf81d..91b7f1ea7 100644 --- a/es/v4/api/interfaces/discordeventcommand/index.html +++ b/es/v4/api/interfaces/discordeventcommand/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:39

    +

    src/types/core-modules.ts:39


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Overrides

    Module.name

    Source

    -

    src/types/core-modules.ts:115

    +

    src/types/core-modules.ts:115


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

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

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:116

    +

    src/types/core-modules.ts:116

    Methods

    execute()

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

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:117

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:117

    Ú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 a9ac3caca..ba6192bf1 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 725ca4487..4036e501a 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 c7a30d5ab..8ff567317 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 29e773dfa..b61f51c55 100644 --- a/es/v4/api/interfaces/eventmoduledefs/index.html +++ b/es/v4/api/interfaces/eventmoduledefs/index.html @@ -47,18 +47,18 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    0: DiscordEventCommand<keyof ClientEvents>

    Source

    -

    src/types/core-modules.ts:172

    +

    src/types/core-modules.ts:172


    1

    1: SernEventCommand<keyof SernEventsMapping>

    Source

    -

    src/types/core-modules.ts:171

    +

    src/types/core-modules.ts:171


    2

    2: ExternalEventCommand

    Source

    -

    src/types/core-modules.ts:173

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:173

    Ú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 507a6079e..ee25c11ff 100644 --- a/es/v4/api/interfaces/externaleventcommand/index.html +++ b/es/v4/api/interfaces/externaleventcommand/index.html @@ -53,14 +53,14 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:39

    +

    src/types/core-modules.ts:39


    emitter

    emitter: keyof Dependencies

    Source

    -

    src/types/core-modules.ts:57

    +

    src/types/core-modules.ts:57


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Overrides

    Module.name

    Source

    -

    src/types/core-modules.ts:56

    +

    src/types/core-modules.ts:56


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

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

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:58

    +

    src/types/core-modules.ts:58

    Methods

    execute()

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

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:59

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:59

    Ú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 33c0702e8..735dbaa5e 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 530fb798a..d896ab30f 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:48

    +

    src/types/core-plugin.ts:48


    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:47

    Última actualización:

    \ No newline at end of file +

    src/types/core-plugin.ts:47

    Ú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 31c2278c7..00aff1fe4 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 7a8681024..1dc2fbd73 100644 --- a/es/v4/api/interfaces/mentionableselectcommand/index.html +++ b/es/v4/api/interfaces/mentionableselectcommand/index.html @@ -53,7 +53,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:39

    +

    src/types/core-modules.ts:39


    execute()

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

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:95

    +

    src/types/core-modules.ts:95


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:36

    +

    src/types/core-modules.ts:36


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

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

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:94

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:94

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

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:39

    +

    src/types/core-modules.ts:39


    execute()

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

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:105

    +

    src/types/core-modules.ts:105


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:36

    +

    src/types/core-modules.ts:36


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

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

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:104

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:104

    Ú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 9257fbe58..03092665f 100644 --- a/es/v4/api/interfaces/module/index.html +++ b/es/v4/api/interfaces/module/index.html @@ -65,14 +65,14 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    optional description: string

    Source

    -

    src/types/core-modules.ts:39

    +

    src/types/core-modules.ts:39


    locals

    locals: Record<string, unknown>

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    id: string

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

    optional name: string

    Source

    -

    src/types/core-modules.ts:36

    +

    src/types/core-modules.ts:36


    onEvent

    onEvent: ControlPlugin<any[]>[]

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    plugins

    plugins: InitPlugin<any[]>[]

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

    type: CommandType | EventType

    Source

    -

    src/types/core-modules.ts:35

    +

    src/types/core-modules.ts:35

    Methods

    execute()

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

    Returns

    any

    Source

    -

    src/types/core-modules.ts:45

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:45

    Ú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 ebe66d5e7..2a1f26133 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:43

    +

    src/types/core-plugin.ts:43


    type

    type: PluginType

    Source

    -

    src/types/core-plugin.ts:42

    Última actualización:

    \ No newline at end of file +

    src/types/core-plugin.ts:42

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

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:39

    +

    src/types/core-modules.ts:39


    execute()

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

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:90

    +

    src/types/core-modules.ts:90


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:36

    +

    src/types/core-modules.ts:36


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

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

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:89

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:89

    Ú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 e3543ec93..22366d0b0 100644 --- a/es/v4/api/interfaces/scheduledtask/index.html +++ b/es/v4/api/interfaces/scheduledtask/index.html @@ -47,29 +47,30 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    optional name: string

    Source

    -

    src/types/core-modules.ts:248

    +

    src/types/core-modules.ts:252


    timezone?

    optional timezone: string

    Source

    -

    src/types/core-modules.ts:250

    +

    src/types/core-modules.ts:254


    trigger

    trigger: string | Date

    Source

    -

    src/types/core-modules.ts:249

    +

    src/types/core-modules.ts:253

    Methods

    execute()

    -

    execute(tasks): Awaitable<void>

    +

    execute(tasks, sdt): Awaitable<void>

    Parameters

    tasks: ScheduledTaskContext

    +

    sdt: TaskAttrs

    Returns

    Awaitable<void>

    Source

    -

    src/types/core-modules.ts:251

    \ No newline at end of file +

    src/types/core-modules.ts:255

    \ No newline at end of file diff --git a/es/v4/api/interfaces/sernautocompletedata/index.html b/es/v4/api/interfaces/sernautocompletedata/index.html index a0e426c78..12f80e4df 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:178

    +

    src/types/core-modules.ts:178


    command

    command: AutocompleteCommand

    Source

    -

    src/types/core-modules.ts:183

    +

    src/types/core-modules.ts:183


    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:179

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:179

    Ú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 fa58b6818..75f103171 100644 --- a/es/v4/api/interfaces/serneventcommand/index.html +++ b/es/v4/api/interfaces/serneventcommand/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:39

    +

    src/types/core-modules.ts:39


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Overrides

    Module.name

    Source

    -

    src/types/core-modules.ts:50

    +

    src/types/core-modules.ts:50


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

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

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:51

    +

    src/types/core-modules.ts:51

    Methods

    execute()

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

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:52

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:52

    Ú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 26249ec8f..9e0bd0798 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:13

    +

    src/types/utility.ts:13


    module.activate

    module.activate: [Payload]

    Source

    -

    src/types/utility.ts:12

    +

    src/types/utility.ts:12


    module.register

    module.register: [Payload]

    Source

    -

    src/types/utility.ts:11

    +

    src/types/utility.ts:11


    modulesLoaded

    modulesLoaded: [undefined?]

    Source

    -

    src/types/utility.ts:15

    +

    src/types/utility.ts:15


    warning

    warning: [Payload]

    Source

    -

    src/types/utility.ts:14

    Última actualización:

    \ No newline at end of file +

    src/types/utility.ts:14

    Ú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 bd6d310bc..1296503a4 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:218

    +

    src/types/core-modules.ts:218


    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:217

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:217

    Ú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 b06e3d790..1bd71029f 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:223

    +

    src/types/core-modules.ts:223


    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:222

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:222

    Ú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 198eaa661..77d7950b5 100644 --- a/es/v4/api/interfaces/slashcommand/index.html +++ b/es/v4/api/interfaces/slashcommand/index.html @@ -53,7 +53,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.description

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    execute()

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

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:128

    +

    src/types/core-modules.ts:128


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:36

    +

    src/types/core-modules.ts:36


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    options?

    optional options: SernOptionsData[]

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

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

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:125

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:125

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

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:39

    +

    src/types/core-modules.ts:39


    execute()

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

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:80

    +

    src/types/core-modules.ts:80


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:36

    +

    src/types/core-modules.ts:36


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

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

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:79

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:79

    Ú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 891705cca..57722a981 100644 --- a/es/v4/api/interfaces/textcommand/index.html +++ b/es/v4/api/interfaces/textcommand/index.html @@ -53,7 +53,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:39

    +

    src/types/core-modules.ts:39


    execute()

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

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:121

    +

    src/types/core-modules.ts:121


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:36

    +

    src/types/core-modules.ts:36


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

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

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:120

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:120

    Ú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 17cb3a600..44cbce3c9 100644 --- a/es/v4/api/interfaces/userselectcommand/index.html +++ b/es/v4/api/interfaces/userselectcommand/index.html @@ -53,7 +53,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:39

    +

    src/types/core-modules.ts:39


    execute()

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

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:100

    +

    src/types/core-modules.ts:100


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:36

    +

    src/types/core-modules.ts:36


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

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

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:99

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:99

    Ú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 c38ea1167..d4168ea96 100644 --- a/es/v4/api/namespaces/presence/interfaces/result/index.html +++ b/es/v4/api/namespaces/presence/interfaces/result/index.html @@ -47,14 +47,14 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    optional activities: ActivitiesOptions[]

    Source

    -

    src/core/presences.ts:60

    +

    src/core/presences.ts:60


    afk?

    optional afk: boolean

    Source

    -

    src/core/presences.ts:59

    +

    src/core/presences.ts:59


    onRepeat()?

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

    Returns

    Result

    Source

    -

    src/core/presences.ts:63

    +

    src/core/presences.ts:63


    repeat?

    optional repeat: number | [Emitter, string]

    Source

    -

    src/core/presences.ts:62

    +

    src/core/presences.ts:62


    shardId?

    optional shardId: number[]

    Source

    -

    src/core/presences.ts:61

    +

    src/core/presences.ts:61


    status?

    optional status: Status

    Source

    -

    src/core/presences.ts:58

    \ No newline at end of file +

    src/core/presences.ts:58

    \ 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 b0f417907..411f268b7 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:51

    \ No newline at end of file +

    src/core/presences.ts:51

    \ 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 3ff9612db..ed48d6702 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:35

    Última actualización:

    \ No newline at end of file +

    src/sern.ts:35

    Ú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 c6eec8ff6..9ddb69a0e 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 fc5c319b0..9401d0a62 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:54

    Última actualización:

    \ No newline at end of file +

    src/types/core-plugin.ts:54

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

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

    Source

    -

    src/types/core-modules.ts:139

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:139

    Ú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 5a0737ee8..29d9e7562 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:45

    Última actualización:

    \ No newline at end of file +

    src/core/plugin.ts:45

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

    EventModule: DiscordEventCommand | SernEventCommand | ExternalEventCommand

    Source

    -

    src/types/core-modules.ts:138

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:138

    Ú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 cec8fa3c2..88f13d095 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 3fc92081e..25db6e2ea 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:18

    Última actualización:

    \ No newline at end of file +

    src/types/utility.ts:18

    Ú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 f084e89a6..01b53a0a3 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:35

    Última actualización:

    \ No newline at end of file +

    src/types/core-plugin.ts:35

    Última actualización:

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

    type: CommandType

    Source

    -

    src/types/core-modules.ts:25

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:25

    Ú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 5d25773e2..1748351c2 100644 --- a/es/v4/api/type-aliases/sernoptionsdata/index.html +++ b/es/v4/api/type-aliases/sernoptionsdata/index.html @@ -46,4 +46,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Type that replaces autocomplete with SernAutocompleteData

    Source

    -

    src/types/core-modules.ts:209

    Última actualización:

    \ No newline at end of file +

    src/types/core-modules.ts:209

    Ú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 6a51c3e64..49b8d9a53 100644 --- a/es/v4/api/variables/controller/index.html +++ b/es/v4/api/variables/controller/index.html @@ -65,4 +65,4 @@ The object passed into every plugin to control a command’s behavior

    Returns

    Err<undefined | string>

    Source

    -

    src/core/plugin.ts:39

    Última actualización:

    \ No newline at end of file +

    src/core/plugin.ts:39

    Ú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 1411344cc..e666aaaf8 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:10

    Última actualización:

    \ No newline at end of file +

    src/core/presences.ts:10

    Ú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 7e0824015..dbbe6d75c 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 0a6415057..4c3912cc9 100644 --- a/es/v4/cli/build/index.html +++ b/es/v4/cli/build/index.html @@ -113,4 +113,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

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

    process.env

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

    -
    DISCORD_TOKEN=<your token>
    1
    process.env.DISCORD_TOKEN; // string | undefined (not typesafe :()
    \ No newline at end of file +
    DISCORD_TOKEN=<your token>
    1
    process.env.DISCORD_TOKEN; // string | undefined (not typesafe :()
    \ No newline at end of file diff --git a/es/v4/cli/clear/index.html b/es/v4/cli/clear/index.html index 945c63cb4..28ffd7d20 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 9911c148c..a418ab5f1 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 9c0da5d67..e41fd2204 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 b1cdd572e..3ee8a065c 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 bd276a5d7..5a7a513b2 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 ab71333ec..f125e3df1 100644 --- a/es/v4/reference/config/index.html +++ b/es/v4/reference/config/index.html @@ -55,10 +55,14 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Optional

    events

    Supply a directory for sern to register event modules

    +
    1
    export const events = "./dist/events"

    tasks

    Supply a directory for sern to register scheduled tasks

    +
    1
    export const tasks = "./dist/tasks"

    defaultPrefix

    Supply a prefix for sern to enable text commands.

    +
    1
    export const defaultPrefix = "?"

    user defined

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

    -
    1
    export const OWNERS = ['182326315813306368']
    \ No newline at end of file +
    1
    export const OWNERS = ['182326315813306368']
    +

    If you use javascript + common.js, star imports do not work. Please export an object default and put your configuration there.

    1
    exports.default = {
    2
    commands : "./dist/commands",
    3
    }
    \ No newline at end of file diff --git a/es/v4/reference/dependencies/index.html b/es/v4/reference/dependencies/index.html index cc6f45845..0e82b78e3 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/getting-started/index.html b/es/v4/reference/getting-started/index.html index a1957ece1..85c498ca2 100644 --- a/es/v4/reference/getting-started/index.html +++ b/es/v4/reference/getting-started/index.html @@ -43,4 +43,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem; StarlightThemeProvider.updatePickers();

    Getting Started

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

    Terminal window
    npm create @sern/bot

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

    -

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

    \ No newline at end of file +

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

    \ No newline at end of file diff --git a/es/v4/reference/modules/index.html b/es/v4/reference/modules/index.html index 98e70130f..d0512b24f 100644 --- a/es/v4/reference/modules/index.html +++ b/es/v4/reference/modules/index.html @@ -77,9 +77,11 @@ You may not see your command instantly in Discord, if so, try refreshing.

    discord.js, EventType.Discord
  • yourself, EventType.External
  • +

    If you haven’t already, add the events directory to your config

    +
    1
    export const events="./dist/tasks";
    • Directorysrc/events/
      • messageCreate.js (right here, probably)

    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 98eff15d5..373e0039a 100644 --- a/es/v4/reference/plugins/index.html +++ b/es/v4/reference/plugins/index.html @@ -108,4 +108,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 f0864d4d3..2b913a404 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 87bc3d3aa..c242b6102 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 a5e08d37f..38b28fb59 100644 --- a/es/v4/reference/tasks/index.html +++ b/es/v4/reference/tasks/index.html @@ -46,4 +46,4 @@ If you haven’t already, add the tasks directory to you
    1
    export const tasks = "./dist/tasks"

    Defines a task that runs every minute.

    ./src/tasks/every-minute.js
    1
    import { scheduledTask } from "@sern/handler";
    2
    -
    3
    export default scheduledTask({
    4
    name: "* * * * *",
    5
    execute: (context) => {
    6
    console.log("cron cron")
    7
    }
    8
    })
    \ No newline at end of file +
    3
    export default scheduledTask({
    4
    name: "* * * * *",
    5
    execute: (context) => {
    6
    console.log("cron cron")
    7
    }
    8
    })
    \ No newline at end of file diff --git a/es/v4/snippets/command/index.html b/es/v4/snippets/command/index.html index 4a106dd7a..a4e687206 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 7c6a6212a..5521d7259 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 de87e748c..07b1f4689 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 e5fc982b9..1b074a54e 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 9c61db48f..874a59aae 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 efb7f4909..ceefa02a3 100644 --- a/es/v4/tools/publisher/index.html +++ b/es/v4/tools/publisher/index.html @@ -72,4 +72,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
    4
    export default commandModule( {
    5
    type: CommandType.Slash,
    6
    plugins: [
    7
    publishConfig({
    8
    integrationTypes: ['User'],
    9
    contexts: [1,2]
    10
    })
    11
    ],
    12
    description: `hello worl`,
    13
    execute: (ctx) => {
    14
    ctx.reply('pong')
    15
    }
    16
    })

    Example: command published in guild

    src/commands/ping.ts
    1
    import { commandModule, CommandType } from '@sern/handler'
    2
    import { publishConfig } from '@sern/publisher'
    3
    -
    4
    export default commandModule( {
    5
    type: CommandType.Slash,
    6
    plugins: [
    7
    publishConfig({
    8
    guildIds: ["889026545715400705"]
    9
    })
    10
    ],
    11
    description: `hello worl`,
    12
    execute: (ctx) => {
    13
    ctx.reply('pong')
    14
    }
    15
    })
    \ No newline at end of file +
    4
    export default commandModule( {
    5
    type: CommandType.Slash,
    6
    plugins: [
    7
    publishConfig({
    8
    guildIds: ["889026545715400705"]
    9
    })
    10
    ],
    11
    description: `hello worl`,
    12
    execute: (ctx) => {
    13
    ctx.reply('pong')
    14
    }
    15
    })
    \ 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 7865a54b0..024f2c610 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 b3aa95c8f..6b5b2feb7 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

    -
    aiproj

    aiproj

    Perform semantic searches on your discord servers

    Vinci

    Vinci

    The discord bot for Mara Turing

    man-nomic

    man-nomic

    Displays LLM model information

    sern Community

    sern Community

    The bot used to manage sern Community

    Ava

    Ava

    Plays Gensokyo Radio and KNGI (shut down)

    Bask

    Bask

    A discord music bot

    +
    man-nomic

    man-nomic

    Displays LLM model information

    sern Community

    sern Community

    The bot used to manage sern Community

    Ava

    Ava

    Plays Gensokyo Radio and KNGI (shut down)

    Bask

    Bask

    A discord music bot

    aiproj

    aiproj

    Perform semantic searches on your discord servers

    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_1aea358.pf_fragment b/pagefind/fragment/en_1aea358.pf_fragment new file mode 100644 index 000000000..2f3ea319c Binary files /dev/null and b/pagefind/fragment/en_1aea358.pf_fragment differ diff --git a/pagefind/fragment/en_1bc38e2.pf_fragment b/pagefind/fragment/en_1bc38e2.pf_fragment new file mode 100644 index 000000000..16af04466 Binary files /dev/null and b/pagefind/fragment/en_1bc38e2.pf_fragment differ diff --git a/pagefind/fragment/en_2250147.pf_fragment b/pagefind/fragment/en_2250147.pf_fragment new file mode 100644 index 000000000..e41032759 Binary files /dev/null and b/pagefind/fragment/en_2250147.pf_fragment differ diff --git a/pagefind/fragment/en_2321e95.pf_fragment b/pagefind/fragment/en_2321e95.pf_fragment deleted file mode 100644 index 8be11bcc9..000000000 Binary files a/pagefind/fragment/en_2321e95.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_235786a.pf_fragment b/pagefind/fragment/en_235786a.pf_fragment new file mode 100644 index 000000000..c35a26d19 Binary files /dev/null and b/pagefind/fragment/en_235786a.pf_fragment differ diff --git a/pagefind/fragment/en_2a1e6e2.pf_fragment b/pagefind/fragment/en_2a1e6e2.pf_fragment deleted file mode 100644 index 7fc636c54..000000000 Binary files a/pagefind/fragment/en_2a1e6e2.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_3dc7228.pf_fragment b/pagefind/fragment/en_314e303.pf_fragment similarity index 76% rename from pagefind/fragment/en_3dc7228.pf_fragment rename to pagefind/fragment/en_314e303.pf_fragment index af3e9998f..c7de33777 100644 Binary files a/pagefind/fragment/en_3dc7228.pf_fragment and b/pagefind/fragment/en_314e303.pf_fragment differ diff --git a/pagefind/fragment/en_3b2e27a.pf_fragment b/pagefind/fragment/en_3b2e27a.pf_fragment new file mode 100644 index 000000000..96521f03e Binary files /dev/null and b/pagefind/fragment/en_3b2e27a.pf_fragment differ diff --git a/pagefind/fragment/en_3d91efb.pf_fragment b/pagefind/fragment/en_3d91efb.pf_fragment deleted file mode 100644 index 28384f9bc..000000000 Binary files a/pagefind/fragment/en_3d91efb.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_593253f.pf_fragment b/pagefind/fragment/en_593253f.pf_fragment deleted file mode 100644 index 58baf33a8..000000000 Binary files a/pagefind/fragment/en_593253f.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_bb9b22b.pf_fragment b/pagefind/fragment/en_6243f8b.pf_fragment similarity index 90% rename from pagefind/fragment/en_bb9b22b.pf_fragment rename to pagefind/fragment/en_6243f8b.pf_fragment index fa04799e0..f9af290b0 100644 Binary files a/pagefind/fragment/en_bb9b22b.pf_fragment and b/pagefind/fragment/en_6243f8b.pf_fragment differ diff --git a/pagefind/fragment/en_6257f24.pf_fragment b/pagefind/fragment/en_6257f24.pf_fragment new file mode 100644 index 000000000..e1c4e0f45 Binary files /dev/null and b/pagefind/fragment/en_6257f24.pf_fragment differ diff --git a/pagefind/fragment/en_7293bb1.pf_fragment b/pagefind/fragment/en_7293bb1.pf_fragment new file mode 100644 index 000000000..52a9f894a Binary files /dev/null and b/pagefind/fragment/en_7293bb1.pf_fragment differ diff --git a/pagefind/fragment/en_773b9ac.pf_fragment b/pagefind/fragment/en_773b9ac.pf_fragment deleted file mode 100644 index 2adb37260..000000000 Binary files a/pagefind/fragment/en_773b9ac.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_7ab9597.pf_fragment b/pagefind/fragment/en_7ab9597.pf_fragment new file mode 100644 index 000000000..a05ea8e56 Binary files /dev/null and b/pagefind/fragment/en_7ab9597.pf_fragment differ diff --git a/pagefind/fragment/en_7cfd1d4.pf_fragment b/pagefind/fragment/en_7cfd1d4.pf_fragment deleted file mode 100644 index 62fec976e..000000000 Binary files a/pagefind/fragment/en_7cfd1d4.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_8a74113.pf_fragment b/pagefind/fragment/en_8a74113.pf_fragment deleted file mode 100644 index ac47467b9..000000000 Binary files a/pagefind/fragment/en_8a74113.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_99f1ed9.pf_fragment b/pagefind/fragment/en_99f1ed9.pf_fragment deleted file mode 100644 index 359ec507f..000000000 Binary files a/pagefind/fragment/en_99f1ed9.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_9cc82db.pf_fragment b/pagefind/fragment/en_9cc82db.pf_fragment deleted file mode 100644 index 540a2a25c..000000000 Binary files a/pagefind/fragment/en_9cc82db.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_a39b6b2.pf_fragment b/pagefind/fragment/en_a39b6b2.pf_fragment deleted file mode 100644 index e2387f6b0..000000000 Binary files a/pagefind/fragment/en_a39b6b2.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_ac08a9a.pf_fragment b/pagefind/fragment/en_ac08a9a.pf_fragment new file mode 100644 index 000000000..063c8c5d4 Binary files /dev/null and b/pagefind/fragment/en_ac08a9a.pf_fragment differ diff --git a/pagefind/fragment/en_b15ff9b.pf_fragment b/pagefind/fragment/en_b15ff9b.pf_fragment new file mode 100644 index 000000000..c803c0ec9 Binary files /dev/null and b/pagefind/fragment/en_b15ff9b.pf_fragment differ diff --git a/pagefind/fragment/en_b631c3d.pf_fragment b/pagefind/fragment/en_b631c3d.pf_fragment new file mode 100644 index 000000000..4bb78c292 Binary files /dev/null and b/pagefind/fragment/en_b631c3d.pf_fragment differ diff --git a/pagefind/fragment/en_b6594ee.pf_fragment b/pagefind/fragment/en_b6594ee.pf_fragment deleted file mode 100644 index ca72dee03..000000000 Binary files a/pagefind/fragment/en_b6594ee.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_b8d5283.pf_fragment b/pagefind/fragment/en_b8d5283.pf_fragment new file mode 100644 index 000000000..346e88a6a Binary files /dev/null and b/pagefind/fragment/en_b8d5283.pf_fragment differ diff --git a/pagefind/fragment/en_b96fcc5.pf_fragment b/pagefind/fragment/en_b96fcc5.pf_fragment new file mode 100644 index 000000000..007ec1578 Binary files /dev/null and b/pagefind/fragment/en_b96fcc5.pf_fragment differ diff --git a/pagefind/fragment/en_bb3e167.pf_fragment b/pagefind/fragment/en_bb3e167.pf_fragment deleted file mode 100644 index ced4e2b98..000000000 Binary files a/pagefind/fragment/en_bb3e167.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_c4f7f9a.pf_fragment b/pagefind/fragment/en_c4f7f9a.pf_fragment deleted file mode 100644 index b7425daa2..000000000 Binary files a/pagefind/fragment/en_c4f7f9a.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_cbc28ad.pf_fragment b/pagefind/fragment/en_cbc28ad.pf_fragment new file mode 100644 index 000000000..4d339c319 Binary files /dev/null and b/pagefind/fragment/en_cbc28ad.pf_fragment differ diff --git a/pagefind/fragment/en_ce6553b.pf_fragment b/pagefind/fragment/en_ce6553b.pf_fragment new file mode 100644 index 000000000..42235d8f1 Binary files /dev/null and b/pagefind/fragment/en_ce6553b.pf_fragment differ diff --git a/pagefind/fragment/en_d520c26.pf_fragment b/pagefind/fragment/en_d520c26.pf_fragment deleted file mode 100644 index e935750fc..000000000 Binary files a/pagefind/fragment/en_d520c26.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_dbfec26.pf_fragment b/pagefind/fragment/en_dbfec26.pf_fragment new file mode 100644 index 000000000..975a55158 Binary files /dev/null and b/pagefind/fragment/en_dbfec26.pf_fragment differ diff --git a/pagefind/fragment/en_f3fc52d.pf_fragment b/pagefind/fragment/en_f3fc52d.pf_fragment deleted file mode 100644 index 22689e073..000000000 Binary files a/pagefind/fragment/en_f3fc52d.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_fc3d743.pf_fragment b/pagefind/fragment/en_fc3d743.pf_fragment deleted file mode 100644 index 4de53415a..000000000 Binary files a/pagefind/fragment/en_fc3d743.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/es_1bfe3f3.pf_fragment b/pagefind/fragment/es_1bfe3f3.pf_fragment new file mode 100644 index 000000000..7567e6fee Binary files /dev/null and b/pagefind/fragment/es_1bfe3f3.pf_fragment differ diff --git a/pagefind/fragment/es_3cca503.pf_fragment b/pagefind/fragment/es_3cca503.pf_fragment new file mode 100644 index 000000000..fa7382821 Binary files /dev/null and b/pagefind/fragment/es_3cca503.pf_fragment differ diff --git a/pagefind/fragment/es_3e16125.pf_fragment b/pagefind/fragment/es_3e16125.pf_fragment new file mode 100644 index 000000000..337d43033 Binary files /dev/null and b/pagefind/fragment/es_3e16125.pf_fragment differ diff --git a/pagefind/fragment/es_4433221.pf_fragment b/pagefind/fragment/es_4433221.pf_fragment new file mode 100644 index 000000000..e18fba6aa Binary files /dev/null and b/pagefind/fragment/es_4433221.pf_fragment differ diff --git a/pagefind/fragment/es_446e6fc.pf_fragment b/pagefind/fragment/es_56ace0b.pf_fragment similarity index 88% rename from pagefind/fragment/es_446e6fc.pf_fragment rename to pagefind/fragment/es_56ace0b.pf_fragment index 09d7858f6..6402d3a2b 100644 Binary files a/pagefind/fragment/es_446e6fc.pf_fragment and b/pagefind/fragment/es_56ace0b.pf_fragment differ diff --git a/pagefind/fragment/es_56e1b61.pf_fragment b/pagefind/fragment/es_56e1b61.pf_fragment deleted file mode 100644 index 5d1ab5c44..000000000 Binary files a/pagefind/fragment/es_56e1b61.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/es_5db0c96.pf_fragment b/pagefind/fragment/es_5db0c96.pf_fragment new file mode 100644 index 000000000..3c5ad5ec6 Binary files /dev/null and b/pagefind/fragment/es_5db0c96.pf_fragment differ diff --git a/pagefind/fragment/es_5f6e1ff.pf_fragment b/pagefind/fragment/es_5f6e1ff.pf_fragment new file mode 100644 index 000000000..1922f7c99 Binary files /dev/null and b/pagefind/fragment/es_5f6e1ff.pf_fragment differ diff --git a/pagefind/fragment/es_699eed8.pf_fragment b/pagefind/fragment/es_699eed8.pf_fragment deleted file mode 100644 index 3e6c21134..000000000 Binary files a/pagefind/fragment/es_699eed8.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/es_78fd954.pf_fragment b/pagefind/fragment/es_78fd954.pf_fragment new file mode 100644 index 000000000..faca6b2f3 Binary files /dev/null and b/pagefind/fragment/es_78fd954.pf_fragment differ diff --git a/pagefind/fragment/es_88343cc.pf_fragment b/pagefind/fragment/es_88343cc.pf_fragment deleted file mode 100644 index 73844afa7..000000000 Binary files a/pagefind/fragment/es_88343cc.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/es_443f6d1.pf_fragment b/pagefind/fragment/es_8cc9776.pf_fragment similarity index 88% rename from pagefind/fragment/es_443f6d1.pf_fragment rename to pagefind/fragment/es_8cc9776.pf_fragment index 59960a0b3..dc5b0f98a 100644 Binary files a/pagefind/fragment/es_443f6d1.pf_fragment and b/pagefind/fragment/es_8cc9776.pf_fragment differ diff --git a/pagefind/fragment/es_91e96a9.pf_fragment b/pagefind/fragment/es_91e96a9.pf_fragment new file mode 100644 index 000000000..169798dcc Binary files /dev/null and b/pagefind/fragment/es_91e96a9.pf_fragment differ diff --git a/pagefind/fragment/es_9e5e1dc.pf_fragment b/pagefind/fragment/es_9e5e1dc.pf_fragment new file mode 100644 index 000000000..d4d25002f Binary files /dev/null and b/pagefind/fragment/es_9e5e1dc.pf_fragment differ diff --git a/pagefind/fragment/es_b279841.pf_fragment b/pagefind/fragment/es_b279841.pf_fragment deleted file mode 100644 index 92b52e1b2..000000000 Binary files a/pagefind/fragment/es_b279841.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/es_b92cfa9.pf_fragment b/pagefind/fragment/es_b92cfa9.pf_fragment deleted file mode 100644 index 0749e396d..000000000 Binary files a/pagefind/fragment/es_b92cfa9.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/es_cfdbb33.pf_fragment b/pagefind/fragment/es_cfdbb33.pf_fragment deleted file mode 100644 index 3977270f4..000000000 Binary files a/pagefind/fragment/es_cfdbb33.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/es_d25eee8.pf_fragment b/pagefind/fragment/es_d25eee8.pf_fragment deleted file mode 100644 index 7e2cd66d3..000000000 Binary files a/pagefind/fragment/es_d25eee8.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/es_d35e2f9.pf_fragment b/pagefind/fragment/es_d35e2f9.pf_fragment deleted file mode 100644 index 9a73230fc..000000000 Binary files a/pagefind/fragment/es_d35e2f9.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/es_d4bfa69.pf_fragment b/pagefind/fragment/es_d4bfa69.pf_fragment new file mode 100644 index 000000000..23f8e2658 Binary files /dev/null and b/pagefind/fragment/es_d4bfa69.pf_fragment differ diff --git a/pagefind/fragment/es_dc21a7f.pf_fragment b/pagefind/fragment/es_dc21a7f.pf_fragment deleted file mode 100644 index eaa93638e..000000000 Binary files a/pagefind/fragment/es_dc21a7f.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/es_fb951d4.pf_fragment b/pagefind/fragment/es_fb951d4.pf_fragment deleted file mode 100644 index c2294e668..000000000 Binary files a/pagefind/fragment/es_fb951d4.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/tr_23f3f03.pf_fragment b/pagefind/fragment/tr_23f3f03.pf_fragment deleted file mode 100644 index 560023442..000000000 Binary files a/pagefind/fragment/tr_23f3f03.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/tr_2812b4e.pf_fragment b/pagefind/fragment/tr_2812b4e.pf_fragment deleted file mode 100644 index 917e1caa1..000000000 Binary files a/pagefind/fragment/tr_2812b4e.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/tr_2dd866f.pf_fragment b/pagefind/fragment/tr_2dd866f.pf_fragment new file mode 100644 index 000000000..acf278822 Binary files /dev/null and b/pagefind/fragment/tr_2dd866f.pf_fragment differ diff --git a/pagefind/fragment/tr_379be06.pf_fragment b/pagefind/fragment/tr_379be06.pf_fragment new file mode 100644 index 000000000..c69231313 Binary files /dev/null and b/pagefind/fragment/tr_379be06.pf_fragment differ diff --git a/pagefind/fragment/tr_3955913.pf_fragment b/pagefind/fragment/tr_3955913.pf_fragment new file mode 100644 index 000000000..09d2d6d58 Binary files /dev/null and b/pagefind/fragment/tr_3955913.pf_fragment differ diff --git a/pagefind/fragment/tr_41ca1e7.pf_fragment b/pagefind/fragment/tr_41ca1e7.pf_fragment deleted file mode 100644 index 9b0e1eb3e..000000000 Binary files a/pagefind/fragment/tr_41ca1e7.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/tr_493a402.pf_fragment b/pagefind/fragment/tr_493a402.pf_fragment new file mode 100644 index 000000000..518fc6b2f Binary files /dev/null and b/pagefind/fragment/tr_493a402.pf_fragment differ diff --git a/pagefind/fragment/tr_4c2e661.pf_fragment b/pagefind/fragment/tr_4c2e661.pf_fragment new file mode 100644 index 000000000..1481a9e48 Binary files /dev/null and b/pagefind/fragment/tr_4c2e661.pf_fragment differ diff --git a/pagefind/fragment/tr_50bba55.pf_fragment b/pagefind/fragment/tr_50bba55.pf_fragment new file mode 100644 index 000000000..daf5fec21 Binary files /dev/null and b/pagefind/fragment/tr_50bba55.pf_fragment differ diff --git a/pagefind/fragment/tr_5559145.pf_fragment b/pagefind/fragment/tr_5559145.pf_fragment new file mode 100644 index 000000000..fc7616d38 Binary files /dev/null and b/pagefind/fragment/tr_5559145.pf_fragment differ diff --git a/pagefind/fragment/tr_5920edf.pf_fragment b/pagefind/fragment/tr_5920edf.pf_fragment new file mode 100644 index 000000000..b6c7276c1 Binary files /dev/null and b/pagefind/fragment/tr_5920edf.pf_fragment differ diff --git a/pagefind/fragment/tr_59509a3.pf_fragment b/pagefind/fragment/tr_59509a3.pf_fragment new file mode 100644 index 000000000..618a02431 Binary files /dev/null and b/pagefind/fragment/tr_59509a3.pf_fragment differ diff --git a/pagefind/fragment/tr_64faddc.pf_fragment b/pagefind/fragment/tr_64faddc.pf_fragment deleted file mode 100644 index 81849e8b2..000000000 Binary files a/pagefind/fragment/tr_64faddc.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/tr_6a47f13.pf_fragment b/pagefind/fragment/tr_6a47f13.pf_fragment deleted file mode 100644 index 8d6781298..000000000 Binary files a/pagefind/fragment/tr_6a47f13.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/tr_6ed1aa6.pf_fragment b/pagefind/fragment/tr_6ed1aa6.pf_fragment deleted file mode 100644 index 22296a83f..000000000 Binary files a/pagefind/fragment/tr_6ed1aa6.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/tr_96164be.pf_fragment b/pagefind/fragment/tr_96164be.pf_fragment new file mode 100644 index 000000000..13206b0a7 Binary files /dev/null and b/pagefind/fragment/tr_96164be.pf_fragment differ diff --git a/pagefind/fragment/tr_96874b6.pf_fragment b/pagefind/fragment/tr_96874b6.pf_fragment new file mode 100644 index 000000000..332bd62c6 Binary files /dev/null and b/pagefind/fragment/tr_96874b6.pf_fragment differ diff --git a/pagefind/fragment/tr_ac85122.pf_fragment b/pagefind/fragment/tr_ac85122.pf_fragment deleted file mode 100644 index aafad566e..000000000 Binary files a/pagefind/fragment/tr_ac85122.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/tr_b168e93.pf_fragment b/pagefind/fragment/tr_b168e93.pf_fragment deleted file mode 100644 index 914bcab25..000000000 Binary files a/pagefind/fragment/tr_b168e93.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/tr_c8efa2a.pf_fragment b/pagefind/fragment/tr_c8efa2a.pf_fragment deleted file mode 100644 index bba67646e..000000000 Binary files a/pagefind/fragment/tr_c8efa2a.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/tr_cc664e8.pf_fragment b/pagefind/fragment/tr_cc664e8.pf_fragment new file mode 100644 index 000000000..8ce4487f2 Binary files /dev/null and b/pagefind/fragment/tr_cc664e8.pf_fragment differ diff --git a/pagefind/fragment/tr_cdcd8e6.pf_fragment b/pagefind/fragment/tr_cdcd8e6.pf_fragment deleted file mode 100644 index e1d7f0865..000000000 Binary files a/pagefind/fragment/tr_cdcd8e6.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/tr_f718c46.pf_fragment b/pagefind/fragment/tr_f718c46.pf_fragment deleted file mode 100644 index 4d96e7bec..000000000 Binary files a/pagefind/fragment/tr_f718c46.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/tr_fadaa32.pf_fragment b/pagefind/fragment/tr_fadaa32.pf_fragment deleted file mode 100644 index 4ac2ff611..000000000 Binary files a/pagefind/fragment/tr_fadaa32.pf_fragment and /dev/null differ diff --git a/pagefind/index/en_645c2f6.pf_index b/pagefind/index/en_645c2f6.pf_index deleted file mode 100644 index 074f2d2c8..000000000 Binary files a/pagefind/index/en_645c2f6.pf_index and /dev/null differ diff --git a/pagefind/index/en_782f533.pf_index b/pagefind/index/en_782f533.pf_index deleted file mode 100644 index d81c4fff8..000000000 Binary files a/pagefind/index/en_782f533.pf_index and /dev/null differ diff --git a/pagefind/index/en_89f4231.pf_index b/pagefind/index/en_89f4231.pf_index new file mode 100644 index 000000000..01585a5a4 Binary files /dev/null and b/pagefind/index/en_89f4231.pf_index differ diff --git a/pagefind/index/en_affbebc.pf_index b/pagefind/index/en_affbebc.pf_index new file mode 100644 index 000000000..13909b4a9 Binary files /dev/null and b/pagefind/index/en_affbebc.pf_index differ diff --git a/pagefind/index/en_ccacf69.pf_index b/pagefind/index/en_ccacf69.pf_index new file mode 100644 index 000000000..11323f2ac Binary files /dev/null and b/pagefind/index/en_ccacf69.pf_index differ diff --git a/pagefind/index/en_d7d4423.pf_index b/pagefind/index/en_d7d4423.pf_index deleted file mode 100644 index 3f0a57c15..000000000 Binary files a/pagefind/index/en_d7d4423.pf_index and /dev/null differ diff --git a/pagefind/index/es_49d51ae.pf_index b/pagefind/index/es_49d51ae.pf_index deleted file mode 100644 index 8166af74a..000000000 Binary files a/pagefind/index/es_49d51ae.pf_index and /dev/null differ diff --git a/pagefind/index/es_4c36943.pf_index b/pagefind/index/es_4c36943.pf_index deleted file mode 100644 index be1d51938..000000000 Binary files a/pagefind/index/es_4c36943.pf_index and /dev/null differ diff --git a/pagefind/index/es_77503d4.pf_index b/pagefind/index/es_77503d4.pf_index new file mode 100644 index 000000000..9ef9920f6 Binary files /dev/null and b/pagefind/index/es_77503d4.pf_index differ diff --git a/pagefind/index/es_8aff6d6.pf_index b/pagefind/index/es_8aff6d6.pf_index new file mode 100644 index 000000000..df0ef24aa Binary files /dev/null and b/pagefind/index/es_8aff6d6.pf_index differ diff --git a/pagefind/index/es_a5e65fa.pf_index b/pagefind/index/es_a5e65fa.pf_index new file mode 100644 index 000000000..d068001ea Binary files /dev/null and b/pagefind/index/es_a5e65fa.pf_index differ diff --git a/pagefind/index/es_e4ff948.pf_index b/pagefind/index/es_e4ff948.pf_index deleted file mode 100644 index 912b6b2ec..000000000 Binary files a/pagefind/index/es_e4ff948.pf_index and /dev/null differ diff --git a/pagefind/index/tr_10dfea6.pf_index b/pagefind/index/tr_10dfea6.pf_index new file mode 100644 index 000000000..3f5c256d8 Binary files /dev/null and b/pagefind/index/tr_10dfea6.pf_index differ diff --git a/pagefind/index/tr_231ebd8.pf_index b/pagefind/index/tr_231ebd8.pf_index new file mode 100644 index 000000000..40ce74bc7 Binary files /dev/null and b/pagefind/index/tr_231ebd8.pf_index differ diff --git a/pagefind/index/tr_6bfd456.pf_index b/pagefind/index/tr_6bfd456.pf_index new file mode 100644 index 000000000..c884725d8 Binary files /dev/null and b/pagefind/index/tr_6bfd456.pf_index differ diff --git a/pagefind/index/tr_aa48cb1.pf_index b/pagefind/index/tr_aa48cb1.pf_index deleted file mode 100644 index 50b113d1c..000000000 Binary files a/pagefind/index/tr_aa48cb1.pf_index and /dev/null differ diff --git a/pagefind/index/tr_b622b10.pf_index b/pagefind/index/tr_b622b10.pf_index deleted file mode 100644 index 8e6681d81..000000000 Binary files a/pagefind/index/tr_b622b10.pf_index and /dev/null differ diff --git a/pagefind/index/tr_cf9c674.pf_index b/pagefind/index/tr_cf9c674.pf_index deleted file mode 100644 index 80543511c..000000000 Binary files a/pagefind/index/tr_cf9c674.pf_index and /dev/null differ diff --git a/pagefind/pagefind-entry.json b/pagefind/pagefind-entry.json index 8d5df3e0f..1cd387f5c 100644 --- a/pagefind/pagefind-entry.json +++ b/pagefind/pagefind-entry.json @@ -1 +1 @@ -{"version":"1.1.0","languages":{"es":{"hash":"es_23fe9098fd","wasm":"es","page_count":188},"en":{"hash":"en_97f66d6d3d","wasm":"en","page_count":190},"tr":{"hash":"tr_1762e44527","wasm":"tr","page_count":188}}} \ No newline at end of file +{"version":"1.1.0","languages":{"es":{"hash":"es_1622d8f74c","wasm":"es","page_count":188},"en":{"hash":"en_8eec57c68b","wasm":"en","page_count":190},"tr":{"hash":"tr_63e9b1d3c8","wasm":"tr","page_count":188}}} \ No newline at end of file diff --git a/pagefind/pagefind.en_8eec57c68b.pf_meta b/pagefind/pagefind.en_8eec57c68b.pf_meta new file mode 100644 index 000000000..2d22bdac4 Binary files /dev/null and b/pagefind/pagefind.en_8eec57c68b.pf_meta differ diff --git a/pagefind/pagefind.en_97f66d6d3d.pf_meta b/pagefind/pagefind.en_97f66d6d3d.pf_meta deleted file mode 100644 index 9333b13e8..000000000 Binary files a/pagefind/pagefind.en_97f66d6d3d.pf_meta and /dev/null differ diff --git a/pagefind/pagefind.es_1622d8f74c.pf_meta b/pagefind/pagefind.es_1622d8f74c.pf_meta new file mode 100644 index 000000000..0d0f10744 Binary files /dev/null and b/pagefind/pagefind.es_1622d8f74c.pf_meta differ diff --git a/pagefind/pagefind.es_23fe9098fd.pf_meta b/pagefind/pagefind.es_23fe9098fd.pf_meta deleted file mode 100644 index 3f1434633..000000000 Binary files a/pagefind/pagefind.es_23fe9098fd.pf_meta and /dev/null differ diff --git a/pagefind/pagefind.tr_1762e44527.pf_meta b/pagefind/pagefind.tr_1762e44527.pf_meta deleted file mode 100644 index f7f297ea0..000000000 Binary files a/pagefind/pagefind.tr_1762e44527.pf_meta and /dev/null differ diff --git a/pagefind/pagefind.tr_63e9b1d3c8.pf_meta b/pagefind/pagefind.tr_63e9b1d3c8.pf_meta new file mode 100644 index 000000000..8b1bcd634 Binary files /dev/null and b/pagefind/pagefind.tr_63e9b1d3c8.pf_meta differ diff --git a/plugins/index.html b/plugins/index.html index 6d83ca37a..69e735889 100644 --- a/plugins/index.html +++ b/plugins/index.html @@ -38,21 +38,21 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem; Skip to content
    sern

    Plugins

    -First time here? View plugins

    channelType

    This plugin checks if a channel is the specified type

    requirePermission

    This is perm check, it allows users to parse the permission you want and let the plugin do the rest. (check bot or user for that perm).

    publish

    It allows you to publish your application commands using the discord.js library with ease.

    \ No newline at end of file +mirror the execute method on the current module.

    src/commands/ping.ts
    1
    const myServer = "941002690211766332";
    2
    export default commandModule({
    3
    type: CommandType.Both,
    4
    plugins: [
    5
    //This plugin prevents this command module from executing in other servers except myServer
    6
    fromCallback((ctx, args) => ctx.guildId == myServer)
    7
    ],
    8
    execute: ctx => {
    9
    ctx.reply("I only respond in myServer!");
    10
    }
    11
    })

    serverOnly

    Checks if a command is available in a specific server.

    cooldown

    Allows you to set cooldowns (or “ratelimits”) for commands, limits user/channel/guild actions.

    \ 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 b70792409..f2a633370 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 6769d1ad5..82ec43c71 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 98b49df5e..80c0fbc33 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 9dd758535..c11079e17 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 43e4e5a02..882388bbf 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 888737db6..90495da1e 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 a3450910f..d24f25200 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

    -
    sern Community

    sern Community

    The bot used to manage sern Community

    Vinci

    Vinci

    The discord bot for Mara Turing

    aiproj

    aiproj

    Perform semantic searches on your discord servers

    Bask

    Bask

    A discord music bot

    Ava

    Ava

    Plays Gensokyo Radio and KNGI (shut down)

    man-nomic

    man-nomic

    Displays LLM model information

    +
    Vinci

    Vinci

    The discord bot for Mara Turing

    Bask

    Bask

    A discord music bot

    sern Community

    sern Community

    The bot used to manage sern Community

    Ava

    Ava

    Plays Gensokyo Radio and KNGI (shut down)

    man-nomic

    man-nomic

    Displays LLM model information

    aiproj

    aiproj

    Perform semantic searches on your discord servers

    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 b2af784ac..5255dc37c 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 611db63bc..69ad3a71c 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 737452ab1..d5f099732 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 bb788f8df..10101e7d4 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 b61964fd7..f9f9d58f7 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 3fa9d8902..fa076287e 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 cdafef805..b74f2f36c 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 3d2e0fd32..1369204ca 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 1554c6df6..5b0887868 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 776e8a4c1..ef24643c7 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 2faa9a716..ae56aa11e 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 83f7d9d07..7bb248ed4 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 c5981d9ea..a8acf305c 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 f0357cac4..d6e9160a7 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 1a2f34185..261e9e58d 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 b50c58755..97ca3007d 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 d73184442..e0b2e48f7 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 57d9436bd..327337f94 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 d7fdf9a26..4c95a95c1 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 7f04af224..fa85c4204 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 f679eaf94..eb0ed2c56 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 cc0f2ab81..366f92bc5 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 39bf6cf12..c8d32ac78 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 6bce997d1..92e77d5a0 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 5a96b8c13..e1fc1ba9e 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 1ac55450a..05b25dcb6 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 fb015868c..2f077615e 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 b5610c1ac..a1ce6f8c5 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 643880c6c..a3f3a1f54 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 badd84a73..266a66b05 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 d99062b00..252fd0b0b 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 7eabbc2f7..b64721f1f 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 31751dda2..a5c98e2d8 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 237dabd66..d26b52e21 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 07100e8e8..ac14e05a7 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 27a487bfe..d9c1f76c1 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 009ade3ed..826a54c88 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 026df9021..b0275da76 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 a62e48dc8..1a84923f1 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 37dcbc953..065b0f578 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 7678dbd43..16cb2cabf 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 caa230c20..094064845 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 b9473e574..c43ce3ea1 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 20c864edf..577ba1604 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 efedf8222..71f6bb31f 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 c0fab1787..dd209e8b4 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 071844ed3..41e4ee65a 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 5ffff33c0..d821a8064 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 32d0659af..5e817394f 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 d8a854e61..db256fc37 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 ae44d7b7c..c50b8e1e7 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 fd109cdf0..7e17a40f4 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 112cf126e..8036ef10d 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 5c3ea94b0..d88da425d 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 34d7f0747..6d56c2bfb 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 b5bb17ecc..05e834071 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 8f3d8472f..88c89c627 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 1bea0e432..02b6296bc 100644 --- a/tr/v3/api/namespaces/sern/functions/init/index.html +++ b/tr/v3/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: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 6f0b7c50e..513144f9c 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 c8dbce2c0..6f301f704 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 c8225c1ae..78e19a2eb 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 0b1ee0211..566471e3e 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 55b0f36e6..d4c90a5ef 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 c3a3defff..4fde4eeb0 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 387bbc330..abe619d81 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 02a3feb8d..7a366bf1e 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 e79d7e2d6..a1661f78a 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 c72322245..245dbc72f 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 07ec233ce..703e30626 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 cebdd41b4..f2740fea8 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 0e63ebb18..1efc0d6c6 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 20fa487b3..2eb4dfe32 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 d151dab09..87da3c917 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 a920f8906..0212827a1 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 fea9c2c0f..a9d8595ed 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 88fd32eca..284edb867 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 49baab576..e14ff357f 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 9d15f7a32..d729800f9 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 773cee8da..667d32303 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 954dd557f..f3f93087d 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 a470a9d47..ede411c7a 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 4d3dc21f6..f2f4a7180 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 c621aecc0..f320ea817 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 cfe889dba..963780e1f 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 d8db0f48d..d516b7208 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 ec13000c1..b2dfc8ac9 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 f0eb32ee1..d2967994c 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 73d1e8e23..dcd8b60d3 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 1daec399a..af6cff627 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 66eabe129..73ad67502 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 cd7d270ee..537aafdfb 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 11d8c5de9..e7c7ce19f 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 953e9d54f..5d323973a 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 c50fb9782..7758a92f0 100644 --- a/tr/v4/api/classes/context/index.html +++ b/tr/v4/api/classes/context/index.html @@ -57,7 +57,7 @@ Message and ChatInputCommandInteraction

    Returns

    null | TextBasedChannel

    Source

    -

    src/core/structures/context.ts:49

    +

    src/core/structures/context.ts:49


    channelId

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

    Returns

    string

    Source

    -

    src/core/structures/context.ts:53

    +

    src/core/structures/context.ts:53


    client

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

    Returns

    Client<boolean>

    Source

    -

    src/core/structures/context.ts:108

    +

    src/core/structures/context.ts:108


    createdTimestamp

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

    Returns

    number

    Source

    -

    src/core/structures/context.ts:73

    +

    src/core/structures/context.ts:73


    guild

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

    Returns

    null | Guild

    Source

    -

    src/core/structures/context.ts:79

    +

    src/core/structures/context.ts:79


    guildId

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

    Returns

    null | string

    Source

    -

    src/core/structures/context.ts:85

    +

    src/core/structures/context.ts:85


    id

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

    Returns

    string

    Source

    -

    src/core/structures/context.ts:43

    +

    src/core/structures/context.ts:43


    inGuild

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

    Returns

    boolean

    Source

    -

    src/core/structures/context.ts:114

    +

    src/core/structures/context.ts:114


    interaction

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

    Returns

    ChatInputCommandInteraction<CacheType>

    Source

    -

    src/core/structures/context.ts:103

    +

    src/core/structures/context.ts:103


    member

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

    Returns

    null | GuildMember | APIInteractionGuildMember

    Source

    -

    src/core/structures/context.ts:93

    +

    src/core/structures/context.ts:93


    message

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

    Returns

    Message<boolean>

    Source

    -

    src/core/structures/context.ts:99

    +

    src/core/structures/context.ts:99


    options

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

    Returns

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

    Source

    -

    src/core/structures/context.ts:26

    +

    src/core/structures/context.ts:26


    prefix

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

    Returns

    undefined | string

    Source

    -

    src/core/structures/context.ts:40

    +

    src/core/structures/context.ts:40


    user

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

    Returns

    User

    Source

    -

    src/core/structures/context.ts:63

    +

    src/core/structures/context.ts:63


    userId

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

    Returns

    string

    Source

    -

    src/core/structures/context.ts:69

    +

    src/core/structures/context.ts:69

    Methods

    isMessage()

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

    Inherited from

    CoreContext.isMessage

    Source

    -

    src/core/structures/core-context.ts:11

    +

    src/core/structures/core-context.ts:11


    isSlash()

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

    Inherited from

    CoreContext.isSlash

    Source

    -

    src/core/structures/core-context.ts:15

    +

    src/core/structures/core-context.ts:15


    reply()

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

    Returns

    Promise<Message<boolean>>

    Source

    -

    src/core/structures/context.ts:120

    +

    src/core/structures/context.ts:120


    wrap()

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

    Returns

    Context

    Source

    -

    src/core/structures/context.ts:129

    Son güncelleme:

    \ No newline at end of file +

    src/core/structures/context.ts:129

    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 74569489d..68dc7638f 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 b48aee77f..38e0cd4bd 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 c648d1cf4..3540a3e94 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 0cdcb5324..c37bb817c 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 fbdde1116..465855637 100644 --- a/tr/v4/api/functions/commandcontrolplugin/index.html +++ b/tr/v4/api/functions/commandcontrolplugin/index.html @@ -53,4 +53,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Since

    2.5.0

    Source

    -

    src/core/plugin.ts:28

    Son güncelleme:

    \ No newline at end of file +

    src/core/plugin.ts:28

    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 8c1d578e4..aea53f6f7 100644 --- a/tr/v4/api/functions/commandinitplugin/index.html +++ b/tr/v4/api/functions/commandinitplugin/index.html @@ -53,4 +53,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Since

    2.5.0

    Source

    -

    src/core/plugin.ts:20

    Son güncelleme:

    \ No newline at end of file +

    src/core/plugin.ts:20

    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 c9adf2bad..b9f9b187a 100644 --- a/tr/v4/api/functions/commandmodule/index.html +++ b/tr/v4/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:16

    Son güncelleme:

    \ No newline at end of file +

    src/core/modules.ts:16

    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 f39f4c705..8f76efaaa 100644 --- a/tr/v4/api/functions/discordevent/index.html +++ b/tr/v4/api/functions/discordevent/index.html @@ -57,4 +57,4 @@ where typings can be very bad.

    Returns

    Module

    Source

    -

    src/core/modules.ts:42

    Son güncelleme:

    \ No newline at end of file +

    src/core/modules.ts:42

    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 949ee1d3a..54e38db85 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:14

    Son güncelleme:

    \ No newline at end of file +

    src/core/plugin.ts:14

    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 50fca8902..dfd5ebdef 100644 --- a/tr/v4/api/functions/eventmodule/index.html +++ b/tr/v4/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:29

    Son güncelleme:

    \ No newline at end of file +

    src/core/modules.ts:29

    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 974d43b9c..500ec23ba 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 4396fc140..8a9ac90ef 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:5

    Son güncelleme:

    \ No newline at end of file +

    src/core/plugin.ts:5

    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 a7df1722a..ac5723101 100644 --- a/tr/v4/api/functions/scheduledtask/index.html +++ b/tr/v4/api/functions/scheduledtask/index.html @@ -49,4 +49,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    ScheduledTask

    Source

    -

    src/core/modules.ts:50

    \ No newline at end of file +

    src/core/modules.ts:50

    \ 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 299b974a8..1ea8daa89 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 c5c582636..a9d513a15 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 c0186f5d5..ed7cfe33d 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 815c59936..1da6c5e4a 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 fbd135219..c0d77ef60 100644 --- a/tr/v4/api/interfaces/bothcommand/index.html +++ b/tr/v4/api/interfaces/bothcommand/index.html @@ -53,7 +53,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.description

    Source

    -

    src/types/core-modules.ts:133

    +

    src/types/core-modules.ts:133


    execute()

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

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:135

    +

    src/types/core-modules.ts:135


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:36

    +

    src/types/core-modules.ts:36


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    options?

    optional options: SernOptionsData[]

    Source

    -

    src/types/core-modules.ts:134

    +

    src/types/core-modules.ts:134


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

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

    Overrides

    Module.type

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

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:39

    +

    src/types/core-modules.ts:39


    execute()

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

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:75

    +

    src/types/core-modules.ts:75


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:36

    +

    src/types/core-modules.ts:36


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

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

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:39

    +

    src/types/core-modules.ts:39


    execute()

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

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:85

    +

    src/types/core-modules.ts:85


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:36

    +

    src/types/core-modules.ts:36


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

    @@ -129,4 +129,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/v4/api/interfaces/commandmoduledefs/index.html b/tr/v4/api/interfaces/commandmoduledefs/index.html index a84b59df9..9fbaecf46 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:156

    +

    src/types/core-modules.ts:156


    1024

    1024: ChannelSelectCommand

    Source

    -

    src/types/core-modules.ts:164

    +

    src/types/core-modules.ts:164


    128

    128: UserSelectCommand

    Source

    -

    src/types/core-modules.ts:166

    +

    src/types/core-modules.ts:166


    16

    16: ButtonCommand

    Source

    -

    src/types/core-modules.ts:161

    +

    src/types/core-modules.ts:161


    2

    2: SlashCommand

    Source

    -

    src/types/core-modules.ts:157

    +

    src/types/core-modules.ts:157


    256

    256: RoleSelectCommand

    Source

    -

    src/types/core-modules.ts:163

    +

    src/types/core-modules.ts:163


    3

    3: BothCommand

    Source

    -

    src/types/core-modules.ts:158

    +

    src/types/core-modules.ts:158


    32

    32: StringSelectCommand

    Source

    -

    src/types/core-modules.ts:162

    +

    src/types/core-modules.ts:162


    4

    4: ContextMenuUser

    Source

    -

    src/types/core-modules.ts:160

    +

    src/types/core-modules.ts:160


    512

    512: MentionableSelectCommand

    Source

    -

    src/types/core-modules.ts:165

    +

    src/types/core-modules.ts:165


    64

    64: ModalSubmitCommand

    Source

    -

    src/types/core-modules.ts:167

    +

    src/types/core-modules.ts:167


    8

    8: ContextMenuMsg

    Source

    -

    src/types/core-modules.ts:159

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:159

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

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:39

    +

    src/types/core-modules.ts:39


    execute()

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

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:70

    +

    src/types/core-modules.ts:70


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:36

    +

    src/types/core-modules.ts:36


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

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

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:39

    +

    src/types/core-modules.ts:39


    execute()

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

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:65

    +

    src/types/core-modules.ts:65


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:36

    +

    src/types/core-modules.ts:36


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

    @@ -129,4 +129,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/v4/api/interfaces/controlplugin/index.html b/tr/v4/api/interfaces/controlplugin/index.html index 98b97bb9f..1e0ef92df 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:43

    +

    src/types/core-plugin.ts:43


    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: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/v4/api/interfaces/coredependencies/index.html b/tr/v4/api/interfaces/coredependencies/index.html index 6821471a5..8878b9bd0 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/dependencyconfiguration/index.html b/tr/v4/api/interfaces/dependencyconfiguration/index.html index b115b33d8..af1929ae4 100644 --- a/tr/v4/api/interfaces/dependencyconfiguration/index.html +++ b/tr/v4/api/interfaces/dependencyconfiguration/index.html @@ -54,4 +54,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    Container

    Source

    -

    src/index.ts:71

    \ No newline at end of file +

    src/index.ts:71

    \ 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 25ef8133e..ac280b2ab 100644 --- a/tr/v4/api/interfaces/discordeventcommand/index.html +++ b/tr/v4/api/interfaces/discordeventcommand/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:39

    +

    src/types/core-modules.ts:39


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Overrides

    Module.name

    Source

    -

    src/types/core-modules.ts:115

    +

    src/types/core-modules.ts:115


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

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

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:116

    +

    src/types/core-modules.ts:116

    Methods

    execute()

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

    Overrides

    Module.execute

    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/v4/api/interfaces/disposable/index.html b/tr/v4/api/interfaces/disposable/index.html index 627ad886b..78ab073f3 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 7e1b3f998..9c3fbb143 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 89d507c23..ee08ee31e 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 23fbbcbe7..eaea24a7e 100644 --- a/tr/v4/api/interfaces/eventmoduledefs/index.html +++ b/tr/v4/api/interfaces/eventmoduledefs/index.html @@ -47,18 +47,18 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    0: DiscordEventCommand<keyof ClientEvents>

    Source

    -

    src/types/core-modules.ts:172

    +

    src/types/core-modules.ts:172


    1

    1: SernEventCommand<keyof SernEventsMapping>

    Source

    -

    src/types/core-modules.ts:171

    +

    src/types/core-modules.ts:171


    2

    2: ExternalEventCommand

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

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:39

    +

    src/types/core-modules.ts:39


    emitter

    emitter: keyof Dependencies

    Source

    -

    src/types/core-modules.ts:57

    +

    src/types/core-modules.ts:57


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Overrides

    Module.name

    Source

    -

    src/types/core-modules.ts:56

    +

    src/types/core-modules.ts:56


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

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

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:58

    +

    src/types/core-modules.ts:58

    Methods

    execute()

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

    Overrides

    Module.execute

    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/v4/api/interfaces/init/index.html b/tr/v4/api/interfaces/init/index.html index a31e9b390..e1ac51c3f 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 ca6085173..c6818997e 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:48

    +

    src/types/core-plugin.ts:48


    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:47

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-plugin.ts:47

    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 2e0a943d5..cdd467ea1 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 5f8a4fd75..d8dbf65e7 100644 --- a/tr/v4/api/interfaces/mentionableselectcommand/index.html +++ b/tr/v4/api/interfaces/mentionableselectcommand/index.html @@ -53,7 +53,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:39

    +

    src/types/core-modules.ts:39


    execute()

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

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:95

    +

    src/types/core-modules.ts:95


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:36

    +

    src/types/core-modules.ts:36


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

    @@ -129,4 +129,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/v4/api/interfaces/modalsubmitcommand/index.html b/tr/v4/api/interfaces/modalsubmitcommand/index.html index a12788780..1b9ef8ae8 100644 --- a/tr/v4/api/interfaces/modalsubmitcommand/index.html +++ b/tr/v4/api/interfaces/modalsubmitcommand/index.html @@ -53,7 +53,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:39

    +

    src/types/core-modules.ts:39


    execute()

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

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:105

    +

    src/types/core-modules.ts:105


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:36

    +

    src/types/core-modules.ts:36


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

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

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:104

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:104

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

    optional description: string

    Source

    -

    src/types/core-modules.ts:39

    +

    src/types/core-modules.ts:39


    locals

    locals: Record<string, unknown>

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    id: string

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

    optional name: string

    Source

    -

    src/types/core-modules.ts:36

    +

    src/types/core-modules.ts:36


    onEvent

    onEvent: ControlPlugin<any[]>[]

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    plugins

    plugins: InitPlugin<any[]>[]

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

    type: CommandType | EventType

    Source

    -

    src/types/core-modules.ts:35

    +

    src/types/core-modules.ts:35

    Methods

    execute()

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

    Returns

    any

    Source

    -

    src/types/core-modules.ts:45

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:45

    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 7b17883ee..12b7f59f7 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:43

    +

    src/types/core-plugin.ts:43


    type

    type: PluginType

    Source

    -

    src/types/core-plugin.ts:42

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-plugin.ts:42

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

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:39

    +

    src/types/core-modules.ts:39


    execute()

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

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:90

    +

    src/types/core-modules.ts:90


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:36

    +

    src/types/core-modules.ts:36


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

    @@ -129,4 +129,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/v4/api/interfaces/scheduledtask/index.html b/tr/v4/api/interfaces/scheduledtask/index.html index 65ae286f1..10cb05fd6 100644 --- a/tr/v4/api/interfaces/scheduledtask/index.html +++ b/tr/v4/api/interfaces/scheduledtask/index.html @@ -47,29 +47,30 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    optional name: string

    Source

    -

    src/types/core-modules.ts:248

    +

    src/types/core-modules.ts:252


    timezone?

    optional timezone: string

    Source

    -

    src/types/core-modules.ts:250

    +

    src/types/core-modules.ts:254


    trigger

    trigger: string | Date

    Source

    -

    src/types/core-modules.ts:249

    +

    src/types/core-modules.ts:253

    Methods

    execute()

    -

    execute(tasks): Awaitable<void>

    +

    execute(tasks, sdt): Awaitable<void>

    Parameters

    tasks: ScheduledTaskContext

    +

    sdt: TaskAttrs

    Returns

    Awaitable<void>

    Source

    -

    src/types/core-modules.ts:251

    \ No newline at end of file +

    src/types/core-modules.ts:255

    \ No newline at end of file diff --git a/tr/v4/api/interfaces/sernautocompletedata/index.html b/tr/v4/api/interfaces/sernautocompletedata/index.html index a35800e18..654f90c1b 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:178

    +

    src/types/core-modules.ts:178


    command

    command: AutocompleteCommand

    Source

    -

    src/types/core-modules.ts:183

    +

    src/types/core-modules.ts:183


    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:179

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:179

    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 41975425a..0eaebe883 100644 --- a/tr/v4/api/interfaces/serneventcommand/index.html +++ b/tr/v4/api/interfaces/serneventcommand/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:39

    +

    src/types/core-modules.ts:39


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Overrides

    Module.name

    Source

    -

    src/types/core-modules.ts:50

    +

    src/types/core-modules.ts:50


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

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

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:51

    +

    src/types/core-modules.ts:51

    Methods

    execute()

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

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:52

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:52

    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 5ef0e0b7e..e92e9477e 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:13

    +

    src/types/utility.ts:13


    module.activate

    module.activate: [Payload]

    Source

    -

    src/types/utility.ts:12

    +

    src/types/utility.ts:12


    module.register

    module.register: [Payload]

    Source

    -

    src/types/utility.ts:11

    +

    src/types/utility.ts:11


    modulesLoaded

    modulesLoaded: [undefined?]

    Source

    -

    src/types/utility.ts:15

    +

    src/types/utility.ts:15


    warning

    warning: [Payload]

    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/v4/api/interfaces/sernsubcommanddata/index.html b/tr/v4/api/interfaces/sernsubcommanddata/index.html index f634be9cd..29e8ea659 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:218

    +

    src/types/core-modules.ts:218


    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:217

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:217

    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 5edd44d3c..3e88a822e 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:223

    +

    src/types/core-modules.ts:223


    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:222

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:222

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

    Overrides

    Module.description

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    execute()

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

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:128

    +

    src/types/core-modules.ts:128


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:36

    +

    src/types/core-modules.ts:36


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    options?

    optional options: SernOptionsData[]

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

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

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:125

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:125

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

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:39

    +

    src/types/core-modules.ts:39


    execute()

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

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:80

    +

    src/types/core-modules.ts:80


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:36

    +

    src/types/core-modules.ts:36


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

    @@ -129,4 +129,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/v4/api/interfaces/textcommand/index.html b/tr/v4/api/interfaces/textcommand/index.html index 9a1dde27f..e835f7ccc 100644 --- a/tr/v4/api/interfaces/textcommand/index.html +++ b/tr/v4/api/interfaces/textcommand/index.html @@ -53,7 +53,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:39

    +

    src/types/core-modules.ts:39


    execute()

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

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:121

    +

    src/types/core-modules.ts:121


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:36

    +

    src/types/core-modules.ts:36


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

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

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:120

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:120

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

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:39

    +

    src/types/core-modules.ts:39


    execute()

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

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:100

    +

    src/types/core-modules.ts:100


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:36

    +

    src/types/core-modules.ts:36


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

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

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:99

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:99

    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 e8c9d3a9c..79d016542 100644 --- a/tr/v4/api/namespaces/presence/interfaces/result/index.html +++ b/tr/v4/api/namespaces/presence/interfaces/result/index.html @@ -47,14 +47,14 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    optional activities: ActivitiesOptions[]

    Source

    -

    src/core/presences.ts:60

    +

    src/core/presences.ts:60


    afk?

    optional afk: boolean

    Source

    -

    src/core/presences.ts:59

    +

    src/core/presences.ts:59


    onRepeat()?

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

    Returns

    Result

    Source

    -

    src/core/presences.ts:63

    +

    src/core/presences.ts:63


    repeat?

    optional repeat: number | [Emitter, string]

    Source

    -

    src/core/presences.ts:62

    +

    src/core/presences.ts:62


    shardId?

    optional shardId: number[]

    Source

    -

    src/core/presences.ts:61

    +

    src/core/presences.ts:61


    status?

    optional status: Status

    Source

    -

    src/core/presences.ts:58

    \ No newline at end of file +

    src/core/presences.ts:58

    \ 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 ad1dd0c17..97b42fe5d 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:51

    \ No newline at end of file +

    src/core/presences.ts:51

    \ 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 245b4d77d..8704e5561 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:35

    Son güncelleme:

    \ No newline at end of file +

    src/sern.ts:35

    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 4369f1730..cfe1051fc 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 8ab7e372a..6a53ee6f4 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:54

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-plugin.ts:54

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

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

    Source

    -

    src/types/core-modules.ts:139

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:139

    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 ab3bba097..4283bc385 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:45

    Son güncelleme:

    \ No newline at end of file +

    src/core/plugin.ts:45

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

    EventModule: DiscordEventCommand | SernEventCommand | ExternalEventCommand

    Source

    -

    src/types/core-modules.ts:138

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:138

    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 a1152a377..5b777ff97 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 68cb871e9..0e9ff2d71 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:18

    Son güncelleme:

    \ No newline at end of file +

    src/types/utility.ts:18

    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 75b590081..33f58dca4 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:35

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-plugin.ts:35

    Son güncelleme:

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

    type: CommandType

    Source

    -

    src/types/core-modules.ts:25

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:25

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

    Type that replaces autocomplete with SernAutocompleteData

    Source

    -

    src/types/core-modules.ts:209

    Son güncelleme:

    \ No newline at end of file +

    src/types/core-modules.ts:209

    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 af5b65920..66a435215 100644 --- a/tr/v4/api/variables/controller/index.html +++ b/tr/v4/api/variables/controller/index.html @@ -65,4 +65,4 @@ The object passed into every plugin to control a command’s behavior

    Returns

    Err<undefined | string>

    Source

    -

    src/core/plugin.ts:39

    Son güncelleme:

    \ No newline at end of file +

    src/core/plugin.ts:39

    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 6f65c2578..96e38ffe5 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:10

    Son güncelleme:

    \ No newline at end of file +

    src/core/presences.ts:10

    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 e36590903..8dc161b7f 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 4043e6730..85934477e 100644 --- a/tr/v4/cli/build/index.html +++ b/tr/v4/cli/build/index.html @@ -113,4 +113,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

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

    process.env

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

    -
    DISCORD_TOKEN=<your token>
    1
    process.env.DISCORD_TOKEN; // string | undefined (not typesafe :()
    \ No newline at end of file +
    DISCORD_TOKEN=<your token>
    1
    process.env.DISCORD_TOKEN; // string | undefined (not typesafe :()
    \ No newline at end of file diff --git a/tr/v4/cli/clear/index.html b/tr/v4/cli/clear/index.html index 11f8dc9ee..d25fb71c1 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 e38d82034..f008cb879 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 ab226bcb5..96fa5ec68 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 8df675b5c..86f4d2894 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 e8d02566e..7be86edee 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 5824909ee..3bc7a6232 100644 --- a/tr/v4/reference/config/index.html +++ b/tr/v4/reference/config/index.html @@ -55,10 +55,14 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Optional

    events

    Supply a directory for sern to register event modules

    +
    1
    export const events = "./dist/events"

    tasks

    Supply a directory for sern to register scheduled tasks

    +
    1
    export const tasks = "./dist/tasks"

    defaultPrefix

    Supply a prefix for sern to enable text commands.

    +
    1
    export const defaultPrefix = "?"

    user defined

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

    -
    1
    export const OWNERS = ['182326315813306368']
    \ No newline at end of file +
    1
    export const OWNERS = ['182326315813306368']
    +

    If you use javascript + common.js, star imports do not work. Please export an object default and put your configuration there.

    1
    exports.default = {
    2
    commands : "./dist/commands",
    3
    }
    \ No newline at end of file diff --git a/tr/v4/reference/dependencies/index.html b/tr/v4/reference/dependencies/index.html index 0016a65dd..e8461f72c 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/getting-started/index.html b/tr/v4/reference/getting-started/index.html index dff9dcc7e..a54f7a9fe 100644 --- a/tr/v4/reference/getting-started/index.html +++ b/tr/v4/reference/getting-started/index.html @@ -43,4 +43,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem; StarlightThemeProvider.updatePickers();

    Getting Started

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

    Terminal window
    npm create @sern/bot

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

    -

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

    \ No newline at end of file +

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

    \ No newline at end of file diff --git a/tr/v4/reference/modules/index.html b/tr/v4/reference/modules/index.html index 20e2c475c..40d5459ee 100644 --- a/tr/v4/reference/modules/index.html +++ b/tr/v4/reference/modules/index.html @@ -77,9 +77,11 @@ You may not see your command instantly in Discord, if so, try refreshing.

    discord.js, EventType.Discord
  • yourself, EventType.External
  • +

    If you haven’t already, add the events directory to your config

    +
    1
    export const events="./dist/tasks";
    • Dizinsrc/events/
      • messageCreate.js (right here, probably)

    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 b2ff95ea7..3ee0b83bc 100644 --- a/tr/v4/reference/plugins/index.html +++ b/tr/v4/reference/plugins/index.html @@ -108,4 +108,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 3b2922254..354a5dc02 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 70573db78..61efaec2f 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 72792e2a3..6873743e0 100644 --- a/tr/v4/reference/tasks/index.html +++ b/tr/v4/reference/tasks/index.html @@ -46,4 +46,4 @@ If you haven’t already, add the tasks directory to you
    1
    export const tasks = "./dist/tasks"

    Defines a task that runs every minute.

    ./src/tasks/every-minute.js
    1
    import { scheduledTask } from "@sern/handler";
    2
    -
    3
    export default scheduledTask({
    4
    name: "* * * * *",
    5
    execute: (context) => {
    6
    console.log("cron cron")
    7
    }
    8
    })
    \ No newline at end of file +
    3
    export default scheduledTask({
    4
    name: "* * * * *",
    5
    execute: (context) => {
    6
    console.log("cron cron")
    7
    }
    8
    })
    \ No newline at end of file diff --git a/tr/v4/snippets/command/index.html b/tr/v4/snippets/command/index.html index 5e27ade8f..a20ef4db9 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 3c7bac9c1..4f97e0bb7 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 fd994616f..3f1d56351 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 5cac57f39..3c0239eaa 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 13dc55d2d..732d052a0 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 d3accef8f..c3527f10b 100644 --- a/tr/v4/tools/publisher/index.html +++ b/tr/v4/tools/publisher/index.html @@ -72,4 +72,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
    4
    export default commandModule( {
    5
    type: CommandType.Slash,
    6
    plugins: [
    7
    publishConfig({
    8
    integrationTypes: ['User'],
    9
    contexts: [1,2]
    10
    })
    11
    ],
    12
    description: `hello worl`,
    13
    execute: (ctx) => {
    14
    ctx.reply('pong')
    15
    }
    16
    })

    Example: command published in guild

    src/commands/ping.ts
    1
    import { commandModule, CommandType } from '@sern/handler'
    2
    import { publishConfig } from '@sern/publisher'
    3
    -
    4
    export default commandModule( {
    5
    type: CommandType.Slash,
    6
    plugins: [
    7
    publishConfig({
    8
    guildIds: ["889026545715400705"]
    9
    })
    10
    ],
    11
    description: `hello worl`,
    12
    execute: (ctx) => {
    13
    ctx.reply('pong')
    14
    }
    15
    })
    \ No newline at end of file +
    4
    export default commandModule( {
    5
    type: CommandType.Slash,
    6
    plugins: [
    7
    publishConfig({
    8
    guildIds: ["889026545715400705"]
    9
    })
    10
    ],
    11
    description: `hello worl`,
    12
    execute: (ctx) => {
    13
    ctx.reply('pong')
    14
    }
    15
    })
    \ 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 18c170782..1abff0f2a 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 3f56bc457..79b5ebad7 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 43d863410..3b8db5455 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 fc59b4c2a..d5471f9e0 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 b8076ab75..2a192e114 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 011c67ebf..f5a1ec5ef 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 bf0cc75e4..48eb50046 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 0ca3f20ad..76f87aae2 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 cb2dc4da1..f31b2d73e 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 c8534c29e..bdfffc867 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 08b7569af..fa7e094ad 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 bbd8f77f4..9d5af7831 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 874a35035..a4fea774f 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 ab2c4b00b..7463d25a1 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 272c61922..d58dd0704 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 4ff187e6c..75c97a540 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 970ea870f..8bbaa1c22 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 4a2e45289..a5a6b33f1 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 8b02a8c67..63cb11def 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 5603b101b..7a7026b5a 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 bfda3477b..0d4e12028 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 29c8d48db..c4e78d4c7 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 0eb36f07e..1c4faf529 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 6255b019a..f6db2ee5e 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 1ec2ad098..12df431b1 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 ca4f8c7a5..e65218af9 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 5d0eb8fb9..a795a854a 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 e68c314f3..e77236bfb 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 889aa4bff..dbc69a852 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 1b94304fe..18864134c 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 6838748d4..687528cb8 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 e634348d5..d14a6bf9a 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 8263db892..2c79f7159 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 84a5b13ef..082983669 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 3127133c0..796720036 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 fdf8e6dbd..664de6da5 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 b65f8111d..38224be93 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 6de372688..fdbe4259d 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 7ec0082f1..8dd1cdeb9 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 d1ac8ae9b..3536037d7 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 0e64deef0..e5364ee7e 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 58393deb8..72d404b03 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 738f6e366..acceefb8e 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 38e42188d..e49fa7f3f 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 41fb8808e..3415302ef 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 0d2141de8..122d665f6 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 d84d77844..9eaf01fca 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 ad2c819bf..f5b114655 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 4d0169e47..eb992deb6 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 0cb51444b..21c478ded 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 978bfdd59..fd9e18cb0 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 c68297e99..adff009bc 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 3b57a0770..eae805f1b 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 f7c2d6df2..998bb52f2 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 8858bbd39..0776b7f3e 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 07f1bd1f5..f4facb0b3 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 496d1da56..65ba09e50 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 1e599072d..2054a80c5 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 9eead6320..e4244b5bd 100644 --- a/v3/api/namespaces/sern/functions/init/index.html +++ b/v3/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: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 a36794a12..706591f18 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 1eed80b65..ed7e858b4 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 c24e05986..8d4199764 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 70a948560..d9d7efb18 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 c598e6a73..4bb02ded6 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 69498a16d..56e0fc2b4 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 cc5be8375..0b99299cf 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 1edb0b020..6edb225f0 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 b6bb41c73..0444317e7 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 c74473578..e00c6f1cb 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 69b05a15d..9f97fe9f1 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 66d4959de..fda5d393b 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 7c55a98f0..cc836ad2c 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 a9b39943a..1fb541085 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 76dc7b0f2..c925f1c48 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 9b866efaa..8a9375b7a 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 f95547180..5844204b1 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 a7a8c709c..8fa1a6415 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 b749b6f4d..9a526e3ff 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 03653516f..e22aa7b37 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 0f6c338c6..4c827facb 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 e7377a466..d3f9b1cb8 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 3197d9e7a..5a87890cf 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 c931783b3..94c127221 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 d13de75ff..315ce6133 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 8f1754124..34feb7a15 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 cddc3ddf0..861924082 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 cbf9f0b61..81a297773 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 2ef243fd1..1f365ba6c 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 fc16f0c92..14719cc18 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 cf0b7562c..aec58c482 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 af14f0331..c2e982e14 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 2ea701243..884043f25 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 66c58f7bb..9e2b480db 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 9aea234b1..b80e1d90d 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 6de18537a..76e0f514b 100644 --- a/v4/api/classes/context/index.html +++ b/v4/api/classes/context/index.html @@ -57,7 +57,7 @@ Message and ChatInputCommandInteraction

    Returns

    null | TextBasedChannel

    Source

    -

    src/core/structures/context.ts:49

    +

    src/core/structures/context.ts:49


    channelId

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

    Returns

    string

    Source

    -

    src/core/structures/context.ts:53

    +

    src/core/structures/context.ts:53


    client

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

    Returns

    Client<boolean>

    Source

    -

    src/core/structures/context.ts:108

    +

    src/core/structures/context.ts:108


    createdTimestamp

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

    Returns

    number

    Source

    -

    src/core/structures/context.ts:73

    +

    src/core/structures/context.ts:73


    guild

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

    Returns

    null | Guild

    Source

    -

    src/core/structures/context.ts:79

    +

    src/core/structures/context.ts:79


    guildId

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

    Returns

    null | string

    Source

    -

    src/core/structures/context.ts:85

    +

    src/core/structures/context.ts:85


    id

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

    Returns

    string

    Source

    -

    src/core/structures/context.ts:43

    +

    src/core/structures/context.ts:43


    inGuild

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

    Returns

    boolean

    Source

    -

    src/core/structures/context.ts:114

    +

    src/core/structures/context.ts:114


    interaction

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

    Returns

    ChatInputCommandInteraction<CacheType>

    Source

    -

    src/core/structures/context.ts:103

    +

    src/core/structures/context.ts:103


    member

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

    Returns

    null | GuildMember | APIInteractionGuildMember

    Source

    -

    src/core/structures/context.ts:93

    +

    src/core/structures/context.ts:93


    message

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

    Returns

    Message<boolean>

    Source

    -

    src/core/structures/context.ts:99

    +

    src/core/structures/context.ts:99


    options

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

    Returns

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

    Source

    -

    src/core/structures/context.ts:26

    +

    src/core/structures/context.ts:26


    prefix

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

    Returns

    undefined | string

    Source

    -

    src/core/structures/context.ts:40

    +

    src/core/structures/context.ts:40


    user

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

    Returns

    User

    Source

    -

    src/core/structures/context.ts:63

    +

    src/core/structures/context.ts:63


    userId

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

    Returns

    string

    Source

    -

    src/core/structures/context.ts:69

    +

    src/core/structures/context.ts:69

    Methods

    isMessage()

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

    Inherited from

    CoreContext.isMessage

    Source

    -

    src/core/structures/core-context.ts:11

    +

    src/core/structures/core-context.ts:11


    isSlash()

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

    Inherited from

    CoreContext.isSlash

    Source

    -

    src/core/structures/core-context.ts:15

    +

    src/core/structures/core-context.ts:15


    reply()

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

    Returns

    Promise<Message<boolean>>

    Source

    -

    src/core/structures/context.ts:120

    +

    src/core/structures/context.ts:120


    wrap()

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

    Returns

    Context

    Source

    -

    src/core/structures/context.ts:129

    Last updated:

    \ No newline at end of file +

    src/core/structures/context.ts:129

    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 9a9cefde8..6a5e89ef5 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 29c0594b0..242a9ec0a 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 9248c2b74..911a0a6cd 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 1f70e8014..5bc74f2cc 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 40a0db9ab..c02534d5e 100644 --- a/v4/api/functions/commandcontrolplugin/index.html +++ b/v4/api/functions/commandcontrolplugin/index.html @@ -53,4 +53,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Since

    2.5.0

    Source

    -

    src/core/plugin.ts:28

    Last updated:

    \ No newline at end of file +

    src/core/plugin.ts:28

    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 3f26d426d..e96b0896d 100644 --- a/v4/api/functions/commandinitplugin/index.html +++ b/v4/api/functions/commandinitplugin/index.html @@ -53,4 +53,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Since

    2.5.0

    Source

    -

    src/core/plugin.ts:20

    Last updated:

    \ No newline at end of file +

    src/core/plugin.ts:20

    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 71bc4526c..6db9e0564 100644 --- a/v4/api/functions/commandmodule/index.html +++ b/v4/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:16

    Last updated:

    \ No newline at end of file +

    src/core/modules.ts:16

    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 c7e8e2f6a..9cd9333a0 100644 --- a/v4/api/functions/discordevent/index.html +++ b/v4/api/functions/discordevent/index.html @@ -57,4 +57,4 @@ where typings can be very bad.

    Returns

    Module

    Source

    -

    src/core/modules.ts:42

    Last updated:

    \ No newline at end of file +

    src/core/modules.ts:42

    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 1adcee00b..a4b73bedd 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:14

    Last updated:

    \ No newline at end of file +

    src/core/plugin.ts:14

    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 4f24dfb74..e4dd9809a 100644 --- a/v4/api/functions/eventmodule/index.html +++ b/v4/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:29

    Last updated:

    \ No newline at end of file +

    src/core/modules.ts:29

    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 d862f8ac4..06248c6ce 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 0b6033102..9884b1359 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:5

    Last updated:

    \ No newline at end of file +

    src/core/plugin.ts:5

    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 48ecf2b52..23be44f1d 100644 --- a/v4/api/functions/scheduledtask/index.html +++ b/v4/api/functions/scheduledtask/index.html @@ -49,4 +49,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    ScheduledTask

    Source

    -

    src/core/modules.ts:50

    \ No newline at end of file +

    src/core/modules.ts:50

    \ No newline at end of file diff --git a/v4/api/functions/service/index.html b/v4/api/functions/service/index.html index 43e6dfb3d..2abc0b6bb 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 5bc6ed23a..215f33c03 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 2867bf076..578746855 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 94973860a..97c9b4301 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 c21863e18..2c776c271 100644 --- a/v4/api/interfaces/bothcommand/index.html +++ b/v4/api/interfaces/bothcommand/index.html @@ -53,7 +53,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.description

    Source

    -

    src/types/core-modules.ts:133

    +

    src/types/core-modules.ts:133


    execute()

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

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:135

    +

    src/types/core-modules.ts:135


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:36

    +

    src/types/core-modules.ts:36


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    options?

    optional options: SernOptionsData[]

    Source

    -

    src/types/core-modules.ts:134

    +

    src/types/core-modules.ts:134


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

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

    Overrides

    Module.type

    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/v4/api/interfaces/buttoncommand/index.html b/v4/api/interfaces/buttoncommand/index.html index fd20f8f55..9b174d157 100644 --- a/v4/api/interfaces/buttoncommand/index.html +++ b/v4/api/interfaces/buttoncommand/index.html @@ -53,7 +53,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:39

    +

    src/types/core-modules.ts:39


    execute()

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

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:75

    +

    src/types/core-modules.ts:75


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:36

    +

    src/types/core-modules.ts:36


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

    @@ -129,4 +129,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/v4/api/interfaces/channelselectcommand/index.html b/v4/api/interfaces/channelselectcommand/index.html index 6b7087659..5f5b6ed52 100644 --- a/v4/api/interfaces/channelselectcommand/index.html +++ b/v4/api/interfaces/channelselectcommand/index.html @@ -53,7 +53,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:39

    +

    src/types/core-modules.ts:39


    execute()

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

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:85

    +

    src/types/core-modules.ts:85


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:36

    +

    src/types/core-modules.ts:36


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

    @@ -129,4 +129,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/v4/api/interfaces/commandmoduledefs/index.html b/v4/api/interfaces/commandmoduledefs/index.html index d1673fdfb..9d68f1cf0 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:156

    +

    src/types/core-modules.ts:156


    1024

    1024: ChannelSelectCommand

    Source

    -

    src/types/core-modules.ts:164

    +

    src/types/core-modules.ts:164


    128

    128: UserSelectCommand

    Source

    -

    src/types/core-modules.ts:166

    +

    src/types/core-modules.ts:166


    16

    16: ButtonCommand

    Source

    -

    src/types/core-modules.ts:161

    +

    src/types/core-modules.ts:161


    2

    2: SlashCommand

    Source

    -

    src/types/core-modules.ts:157

    +

    src/types/core-modules.ts:157


    256

    256: RoleSelectCommand

    Source

    -

    src/types/core-modules.ts:163

    +

    src/types/core-modules.ts:163


    3

    3: BothCommand

    Source

    -

    src/types/core-modules.ts:158

    +

    src/types/core-modules.ts:158


    32

    32: StringSelectCommand

    Source

    -

    src/types/core-modules.ts:162

    +

    src/types/core-modules.ts:162


    4

    4: ContextMenuUser

    Source

    -

    src/types/core-modules.ts:160

    +

    src/types/core-modules.ts:160


    512

    512: MentionableSelectCommand

    Source

    -

    src/types/core-modules.ts:165

    +

    src/types/core-modules.ts:165


    64

    64: ModalSubmitCommand

    Source

    -

    src/types/core-modules.ts:167

    +

    src/types/core-modules.ts:167


    8

    8: ContextMenuMsg

    Source

    -

    src/types/core-modules.ts:159

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:159

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

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:39

    +

    src/types/core-modules.ts:39


    execute()

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

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:70

    +

    src/types/core-modules.ts:70


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:36

    +

    src/types/core-modules.ts:36


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

    @@ -129,4 +129,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/v4/api/interfaces/contextmenuuser/index.html b/v4/api/interfaces/contextmenuuser/index.html index 81967e261..cd92f30e6 100644 --- a/v4/api/interfaces/contextmenuuser/index.html +++ b/v4/api/interfaces/contextmenuuser/index.html @@ -53,7 +53,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:39

    +

    src/types/core-modules.ts:39


    execute()

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

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:65

    +

    src/types/core-modules.ts:65


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:36

    +

    src/types/core-modules.ts:36


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

    @@ -129,4 +129,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/v4/api/interfaces/controlplugin/index.html b/v4/api/interfaces/controlplugin/index.html index 7befd30ef..6e3e199f0 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:43

    +

    src/types/core-plugin.ts:43


    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: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/v4/api/interfaces/coredependencies/index.html b/v4/api/interfaces/coredependencies/index.html index eb1e8cd5c..626554eec 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/dependencyconfiguration/index.html b/v4/api/interfaces/dependencyconfiguration/index.html index ccd78b1a3..50e8599eb 100644 --- a/v4/api/interfaces/dependencyconfiguration/index.html +++ b/v4/api/interfaces/dependencyconfiguration/index.html @@ -54,4 +54,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Returns

    Container

    Source

    -

    src/index.ts:71

    \ No newline at end of file +

    src/index.ts:71

    \ No newline at end of file diff --git a/v4/api/interfaces/discordeventcommand/index.html b/v4/api/interfaces/discordeventcommand/index.html index be67cafc7..643ee36ba 100644 --- a/v4/api/interfaces/discordeventcommand/index.html +++ b/v4/api/interfaces/discordeventcommand/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:39

    +

    src/types/core-modules.ts:39


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Overrides

    Module.name

    Source

    -

    src/types/core-modules.ts:115

    +

    src/types/core-modules.ts:115


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

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

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:116

    +

    src/types/core-modules.ts:116

    Methods

    execute()

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

    Overrides

    Module.execute

    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/v4/api/interfaces/disposable/index.html b/v4/api/interfaces/disposable/index.html index 546a4e4df..aa2bea516 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 cabd3f49f..6a58a8425 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 c70fcb4ab..c3545d819 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 045b49fdb..fe9aafd65 100644 --- a/v4/api/interfaces/eventmoduledefs/index.html +++ b/v4/api/interfaces/eventmoduledefs/index.html @@ -47,18 +47,18 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    0: DiscordEventCommand<keyof ClientEvents>

    Source

    -

    src/types/core-modules.ts:172

    +

    src/types/core-modules.ts:172


    1

    1: SernEventCommand<keyof SernEventsMapping>

    Source

    -

    src/types/core-modules.ts:171

    +

    src/types/core-modules.ts:171


    2

    2: ExternalEventCommand

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

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:39

    +

    src/types/core-modules.ts:39


    emitter

    emitter: keyof Dependencies

    Source

    -

    src/types/core-modules.ts:57

    +

    src/types/core-modules.ts:57


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Overrides

    Module.name

    Source

    -

    src/types/core-modules.ts:56

    +

    src/types/core-modules.ts:56


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

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

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:58

    +

    src/types/core-modules.ts:58

    Methods

    execute()

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

    Overrides

    Module.execute

    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/v4/api/interfaces/init/index.html b/v4/api/interfaces/init/index.html index 854b757ab..55c63b38a 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 e5bab4276..04d19fc5a 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:48

    +

    src/types/core-plugin.ts:48


    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:47

    Last updated:

    \ No newline at end of file +

    src/types/core-plugin.ts:47

    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 139986a2b..96fd99ef6 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 27cb3be25..f6baa13b3 100644 --- a/v4/api/interfaces/mentionableselectcommand/index.html +++ b/v4/api/interfaces/mentionableselectcommand/index.html @@ -53,7 +53,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:39

    +

    src/types/core-modules.ts:39


    execute()

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

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:95

    +

    src/types/core-modules.ts:95


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:36

    +

    src/types/core-modules.ts:36


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

    @@ -129,4 +129,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/v4/api/interfaces/modalsubmitcommand/index.html b/v4/api/interfaces/modalsubmitcommand/index.html index 017829ed0..926cea717 100644 --- a/v4/api/interfaces/modalsubmitcommand/index.html +++ b/v4/api/interfaces/modalsubmitcommand/index.html @@ -53,7 +53,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:39

    +

    src/types/core-modules.ts:39


    execute()

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

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:105

    +

    src/types/core-modules.ts:105


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:36

    +

    src/types/core-modules.ts:36


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

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

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:104

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:104

    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 63850bbc9..d382101bb 100644 --- a/v4/api/interfaces/module/index.html +++ b/v4/api/interfaces/module/index.html @@ -65,14 +65,14 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    optional description: string

    Source

    -

    src/types/core-modules.ts:39

    +

    src/types/core-modules.ts:39


    locals

    locals: Record<string, unknown>

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    id: string

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

    optional name: string

    Source

    -

    src/types/core-modules.ts:36

    +

    src/types/core-modules.ts:36


    onEvent

    onEvent: ControlPlugin<any[]>[]

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    plugins

    plugins: InitPlugin<any[]>[]

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

    type: CommandType | EventType

    Source

    -

    src/types/core-modules.ts:35

    +

    src/types/core-modules.ts:35

    Methods

    execute()

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

    Returns

    any

    Source

    -

    src/types/core-modules.ts:45

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:45

    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 638e9e40b..9863856cd 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:43

    +

    src/types/core-plugin.ts:43


    type

    type: PluginType

    Source

    -

    src/types/core-plugin.ts:42

    Last updated:

    \ No newline at end of file +

    src/types/core-plugin.ts:42

    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 1b31d4815..36dd4c422 100644 --- a/v4/api/interfaces/roleselectcommand/index.html +++ b/v4/api/interfaces/roleselectcommand/index.html @@ -53,7 +53,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:39

    +

    src/types/core-modules.ts:39


    execute()

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

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:90

    +

    src/types/core-modules.ts:90


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:36

    +

    src/types/core-modules.ts:36


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

    @@ -129,4 +129,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/v4/api/interfaces/scheduledtask/index.html b/v4/api/interfaces/scheduledtask/index.html index fa64ef4f6..24a3f24b9 100644 --- a/v4/api/interfaces/scheduledtask/index.html +++ b/v4/api/interfaces/scheduledtask/index.html @@ -47,29 +47,30 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    optional name: string

    Source

    -

    src/types/core-modules.ts:248

    +

    src/types/core-modules.ts:252


    timezone?

    optional timezone: string

    Source

    -

    src/types/core-modules.ts:250

    +

    src/types/core-modules.ts:254


    trigger

    trigger: string | Date

    Source

    -

    src/types/core-modules.ts:249

    +

    src/types/core-modules.ts:253

    Methods

    execute()

    -

    execute(tasks): Awaitable<void>

    +

    execute(tasks, sdt): Awaitable<void>

    Parameters

    tasks: ScheduledTaskContext

    +

    sdt: TaskAttrs

    Returns

    Awaitable<void>

    Source

    -

    src/types/core-modules.ts:251

    \ No newline at end of file +

    src/types/core-modules.ts:255

    \ No newline at end of file diff --git a/v4/api/interfaces/sernautocompletedata/index.html b/v4/api/interfaces/sernautocompletedata/index.html index 419e72d41..ebf0c07bc 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:178

    +

    src/types/core-modules.ts:178


    command

    command: AutocompleteCommand

    Source

    -

    src/types/core-modules.ts:183

    +

    src/types/core-modules.ts:183


    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:179

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:179

    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 353b716be..1ff96dc6a 100644 --- a/v4/api/interfaces/serneventcommand/index.html +++ b/v4/api/interfaces/serneventcommand/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:39

    +

    src/types/core-modules.ts:39


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Overrides

    Module.name

    Source

    -

    src/types/core-modules.ts:50

    +

    src/types/core-modules.ts:50


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

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

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:51

    +

    src/types/core-modules.ts:51

    Methods

    execute()

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

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:52

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:52

    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 f48654279..f9161692c 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:13

    +

    src/types/utility.ts:13


    module.activate

    module.activate: [Payload]

    Source

    -

    src/types/utility.ts:12

    +

    src/types/utility.ts:12


    module.register

    module.register: [Payload]

    Source

    -

    src/types/utility.ts:11

    +

    src/types/utility.ts:11


    modulesLoaded

    modulesLoaded: [undefined?]

    Source

    -

    src/types/utility.ts:15

    +

    src/types/utility.ts:15


    warning

    warning: [Payload]

    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/v4/api/interfaces/sernsubcommanddata/index.html b/v4/api/interfaces/sernsubcommanddata/index.html index 9cdff0438..83ddf2eb7 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:218

    +

    src/types/core-modules.ts:218


    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:217

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:217

    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 22a22b49c..b43363970 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:223

    +

    src/types/core-modules.ts:223


    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:222

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:222

    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 5061e3ddb..bc077df7b 100644 --- a/v4/api/interfaces/slashcommand/index.html +++ b/v4/api/interfaces/slashcommand/index.html @@ -53,7 +53,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Overrides

    Module.description

    Source

    -

    src/types/core-modules.ts:126

    +

    src/types/core-modules.ts:126


    execute()

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

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:128

    +

    src/types/core-modules.ts:128


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:36

    +

    src/types/core-modules.ts:36


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    options?

    optional options: SernOptionsData[]

    Source

    -

    src/types/core-modules.ts:127

    +

    src/types/core-modules.ts:127


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

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

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:125

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:125

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

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:39

    +

    src/types/core-modules.ts:39


    execute()

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

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:80

    +

    src/types/core-modules.ts:80


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:36

    +

    src/types/core-modules.ts:36


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

    @@ -129,4 +129,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/v4/api/interfaces/textcommand/index.html b/v4/api/interfaces/textcommand/index.html index 9cc9f7ace..bef2d43ad 100644 --- a/v4/api/interfaces/textcommand/index.html +++ b/v4/api/interfaces/textcommand/index.html @@ -53,7 +53,7 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:39

    +

    src/types/core-modules.ts:39


    execute()

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

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:121

    +

    src/types/core-modules.ts:121


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:36

    +

    src/types/core-modules.ts:36


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

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

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:120

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:120

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

    Inherited from

    Module.description

    Source

    -

    src/types/core-modules.ts:39

    +

    src/types/core-modules.ts:39


    execute()

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

    Overrides

    Module.execute

    Source

    -

    src/types/core-modules.ts:100

    +

    src/types/core-modules.ts:100


    locals

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

    Inherited from

    Module.locals

    Source

    -

    src/types/core-modules.ts:44

    +

    src/types/core-modules.ts:44


    meta

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

    Inherited from

    Module.meta

    Source

    -

    src/types/core-modules.ts:40

    +

    src/types/core-modules.ts:40


    name?

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

    Inherited from

    Module.name

    Source

    -

    src/types/core-modules.ts:36

    +

    src/types/core-modules.ts:36


    onEvent

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

    Inherited from

    Module.onEvent

    Source

    -

    src/types/core-modules.ts:37

    +

    src/types/core-modules.ts:37


    plugins

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

    Inherited from

    Module.plugins

    Source

    -

    src/types/core-modules.ts:38

    +

    src/types/core-modules.ts:38


    type

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

    Overrides

    Module.type

    Source

    -

    src/types/core-modules.ts:99

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:99

    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 49d69c036..a64081c2e 100644 --- a/v4/api/namespaces/presence/interfaces/result/index.html +++ b/v4/api/namespaces/presence/interfaces/result/index.html @@ -47,14 +47,14 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    optional activities: ActivitiesOptions[]

    Source

    -

    src/core/presences.ts:60

    +

    src/core/presences.ts:60


    afk?

    optional afk: boolean

    Source

    -

    src/core/presences.ts:59

    +

    src/core/presences.ts:59


    onRepeat()?

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

    Returns

    Result

    Source

    -

    src/core/presences.ts:63

    +

    src/core/presences.ts:63


    repeat?

    optional repeat: number | [Emitter, string]

    Source

    -

    src/core/presences.ts:62

    +

    src/core/presences.ts:62


    shardId?

    optional shardId: number[]

    Source

    -

    src/core/presences.ts:61

    +

    src/core/presences.ts:61


    status?

    optional status: Status

    Source

    -

    src/core/presences.ts:58

    \ No newline at end of file +

    src/core/presences.ts:58

    \ 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 2b1aa071a..0cdeaac99 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:51

    \ No newline at end of file +

    src/core/presences.ts:51

    \ 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 90368f745..a33323e3a 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:35

    Last updated:

    \ No newline at end of file +

    src/sern.ts:35

    Last updated:

    \ No newline at end of file diff --git a/v4/api/readme/index.html b/v4/api/readme/index.html index 3b909c623..34c8da65a 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 266cba90d..245b019bd 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:54

    Last updated:

    \ No newline at end of file +

    src/types/core-plugin.ts:54

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

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

    Source

    -

    src/types/core-modules.ts:139

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:139

    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 614bc7b40..28807e37f 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:45

    Last updated:

    \ No newline at end of file +

    src/core/plugin.ts:45

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

    EventModule: DiscordEventCommand | SernEventCommand | ExternalEventCommand

    Source

    -

    src/types/core-modules.ts:138

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:138

    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 76bd6a0ab..24a7463eb 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 27ed5f6fc..ba757a1c7 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:18

    Last updated:

    \ No newline at end of file +

    src/types/utility.ts:18

    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 9bfe108f7..d6db3b970 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:35

    Last updated:

    \ No newline at end of file +

    src/types/core-plugin.ts:35

    Last updated:

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

    type: CommandType

    Source

    -

    src/types/core-modules.ts:25

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:25

    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 28a4ccc87..64148be93 100644 --- a/v4/api/type-aliases/sernoptionsdata/index.html +++ b/v4/api/type-aliases/sernoptionsdata/index.html @@ -46,4 +46,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Type that replaces autocomplete with SernAutocompleteData

    Source

    -

    src/types/core-modules.ts:209

    Last updated:

    \ No newline at end of file +

    src/types/core-modules.ts:209

    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 fbc9b7391..85efc9f26 100644 --- a/v4/api/variables/controller/index.html +++ b/v4/api/variables/controller/index.html @@ -65,4 +65,4 @@ The object passed into every plugin to control a command’s behavior

    Returns

    Err<undefined | string>

    Source

    -

    src/core/plugin.ts:39

    Last updated:

    \ No newline at end of file +

    src/core/plugin.ts:39

    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 a9652046a..ca1e502ef 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:10

    Last updated:

    \ No newline at end of file +

    src/core/presences.ts:10

    Last updated:

    \ No newline at end of file diff --git a/v4/cli/about/index.html b/v4/cli/about/index.html index cb8f058cd..ef31f5ad7 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 1a063781b..4555495fe 100644 --- a/v4/cli/build/index.html +++ b/v4/cli/build/index.html @@ -113,4 +113,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

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

    process.env

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

    -
    DISCORD_TOKEN=<your token>
    1
    process.env.DISCORD_TOKEN; // string | undefined (not typesafe :()
    \ No newline at end of file +
    DISCORD_TOKEN=<your token>
    1
    process.env.DISCORD_TOKEN; // string | undefined (not typesafe :()
    \ No newline at end of file diff --git a/v4/cli/clear/index.html b/v4/cli/clear/index.html index 87380250b..87fc24f1e 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 e8ad8dbec..9778ffe7e 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 462508b17..8e46476de 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 e97c74e5c..e3c2b0370 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 9f333e0f9..ab511889f 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 5576bae19..ed2b5c744 100644 --- a/v4/reference/config/index.html +++ b/v4/reference/config/index.html @@ -55,10 +55,14 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;

    Optional

    events

    Supply a directory for sern to register event modules

    +
    1
    export const events = "./dist/events"

    tasks

    Supply a directory for sern to register scheduled tasks

    +
    1
    export const tasks = "./dist/tasks"

    defaultPrefix

    Supply a prefix for sern to enable text commands.

    +
    1
    export const defaultPrefix = "?"

    user defined

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

    -
    1
    export const OWNERS = ['182326315813306368']
    \ No newline at end of file +
    1
    export const OWNERS = ['182326315813306368']
    +

    If you use javascript + common.js, star imports do not work. Please export an object default and put your configuration there.

    1
    exports.default = {
    2
    commands : "./dist/commands",
    3
    }
    \ No newline at end of file diff --git a/v4/reference/dependencies/index.html b/v4/reference/dependencies/index.html index a7333cec0..bc63ea948 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/getting-started/index.html b/v4/reference/getting-started/index.html index 44f3e756c..5a75d3b86 100644 --- a/v4/reference/getting-started/index.html +++ b/v4/reference/getting-started/index.html @@ -43,4 +43,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem; StarlightThemeProvider.updatePickers();

    Getting Started

    Terminal window
    npm create @sern/bot

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

    -

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

    \ No newline at end of file +

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

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

    discord.js, EventType.Discord
  • yourself, EventType.External
  • +

    If you haven’t already, add the events directory to your config

    +
    1
    export const events="./dist/tasks";
    • Directorysrc/events/
      • messageCreate.js (right here, probably)

    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 d12154fef..dbef54394 100644 --- a/v4/reference/plugins/index.html +++ b/v4/reference/plugins/index.html @@ -108,4 +108,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 58d94a198..85dc1e759 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 3879a39d7..aee21b9fc 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 3ea730855..3a7b85214 100644 --- a/v4/reference/tasks/index.html +++ b/v4/reference/tasks/index.html @@ -46,4 +46,4 @@ If you haven’t already, add the tasks directory to you
    1
    export const tasks = "./dist/tasks"

    Defines a task that runs every minute.

    ./src/tasks/every-minute.js
    1
    import { scheduledTask } from "@sern/handler";
    2
    -
    3
    export default scheduledTask({
    4
    name: "* * * * *",
    5
    execute: (context) => {
    6
    console.log("cron cron")
    7
    }
    8
    })
    \ No newline at end of file +
    3
    export default scheduledTask({
    4
    name: "* * * * *",
    5
    execute: (context) => {
    6
    console.log("cron cron")
    7
    }
    8
    })
    \ No newline at end of file diff --git a/v4/snippets/command/index.html b/v4/snippets/command/index.html index f5ce4fca5..2c39b5d1b 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 03ec34e1e..a39bf4fb4 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 29eff5d28..5fd08db7e 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 589cdc1e5..ffa860461 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 0b16f7cbe..761b8c56b 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 19b885fa1..bc96a3ec1 100644 --- a/v4/tools/publisher/index.html +++ b/v4/tools/publisher/index.html @@ -72,4 +72,4 @@ starlight-file-tree:where(.astro-p67cqifm){--x-space: 1.5rem;--y-space: .125rem;
    4
    export default commandModule( {
    5
    type: CommandType.Slash,
    6
    plugins: [
    7
    publishConfig({
    8
    integrationTypes: ['User'],
    9
    contexts: [1,2]
    10
    })
    11
    ],
    12
    description: `hello worl`,
    13
    execute: (ctx) => {
    14
    ctx.reply('pong')
    15
    }
    16
    })

    Example: command published in guild

    src/commands/ping.ts
    1
    import { commandModule, CommandType } from '@sern/handler'
    2
    import { publishConfig } from '@sern/publisher'
    3
    -
    4
    export default commandModule( {
    5
    type: CommandType.Slash,
    6
    plugins: [
    7
    publishConfig({
    8
    guildIds: ["889026545715400705"]
    9
    })
    10
    ],
    11
    description: `hello worl`,
    12
    execute: (ctx) => {
    13
    ctx.reply('pong')
    14
    }
    15
    })
    \ No newline at end of file +
    4
    export default commandModule( {
    5
    type: CommandType.Slash,
    6
    plugins: [
    7
    publishConfig({
    8
    guildIds: ["889026545715400705"]
    9
    })
    10
    ],
    11
    description: `hello worl`,
    12
    execute: (ctx) => {
    13
    ctx.reply('pong')
    14
    }
    15
    })
    \ No newline at end of file diff --git a/v4/transition/from-v3/index.html b/v4/transition/from-v3/index.html index 6f7182ab0..f25f076bb 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