diff --git a/404.html b/404.html index 56189b6cc..992759a62 100644 --- a/404.html +++ b/404.html @@ -1,4 +1,4 @@ - 404 | sern 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

-
Albion Guide

Albion Guide

Gets info about The First Descendant Game.

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

Bask

Bask

A discord music bot

+
Albion Guide

Albion Guide

Gets info about The First Descendant Game.

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

man-nomic

man-nomic

Displays LLM model information

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 f5b936d28..4c956f80f 100644 --- a/es/v3/api/classes/context/index.html +++ b/es/v3/api/classes/context/index.html @@ -1,4 +1,4 @@ - Context | sern
1
await makeDependencies(({ add }) => {
2
add('@sern/client', new Client({ intents, partials })
3
})

Source

-

src/core/ioc.ts:63

\ No newline at end of file +

src/core/ioc.ts:63

\ No newline at end of file diff --git a/es/v3/api/functions/makeplugin/index.html b/es/v3/api/functions/makeplugin/index.html index 735f8fabf..b5e98f18c 100644 --- a/es/v3/api/functions/makeplugin/index.html +++ b/es/v3/api/functions/makeplugin/index.html @@ -1,4 +1,4 @@ - makePlugin | sern
src/index.ts
1
Sern.init({
2
commands: 'dist/commands',
3
events: 'dist/events',
4
})

Source

-

src/sern.ts:35

\ No newline at end of file +

src/sern.ts:35

\ No newline at end of file diff --git a/es/v3/api/readme/index.html b/es/v3/api/readme/index.html index dfe85c9d4..eb6fd848b 100644 --- a/es/v3/api/readme/index.html +++ b/es/v3/api/readme/index.html @@ -1,4 +1,4 @@ - @sern/handler | sern

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 9455aafdf..7df3ffd03 100644 --- a/es/v3/guide/walkthrough/autocomplete/index.html +++ b/es/v3/guide/walkthrough/autocomplete/index.html @@ -1,4 +1,4 @@ - Autocomplete | sern

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 87e50a9ec..7b3e33f49 100644 --- a/es/v3/guide/walkthrough/dependency-injection/index.html +++ b/es/v3/guide/walkthrough/dependency-injection/index.html @@ -1,4 +1,4 @@ - Dependency Injection | sern
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 a9c8cbe98..a116e1b38 100644 --- a/es/v3/guide/walkthrough/new-project/index.html +++ b/es/v3/guide/walkthrough/new-project/index.html @@ -1,4 +1,4 @@ - New Project | sern

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 2322b402c..3b796f0aa 100644 --- a/es/v3/guide/walkthrough/plugins/index.html +++ b/es/v3/guide/walkthrough/plugins/index.html @@ -1,4 +1,4 @@ - Plugins | sern
1
await makeDependencies(({ add }) => {
2
add('@sern/client', new Client({ intents, partials })
3
})

Source

-

src/core/ioc.ts:63

\ No newline at end of file +

src/core/ioc.ts:63

\ No newline at end of file diff --git a/es/v4/api/functions/makeplugin/index.html b/es/v4/api/functions/makeplugin/index.html index 719556b4e..8c8302b2e 100644 --- a/es/v4/api/functions/makeplugin/index.html +++ b/es/v4/api/functions/makeplugin/index.html @@ -1,4 +1,4 @@ - makePlugin | sern
src/index.ts
1
Sern.init({
2
commands: 'dist/commands',
3
events: 'dist/events',
4
})

Source

-

src/sern.ts:35

\ No newline at end of file +

src/sern.ts:35

\ No newline at end of file diff --git a/es/v4/api/readme/index.html b/es/v4/api/readme/index.html index bbf4e6961..f22898829 100644 --- a/es/v4/api/readme/index.html +++ b/es/v4/api/readme/index.html @@ -1,4 +1,4 @@ - @sern/handler | sern

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 393864f1f..9b49e697e 100644 --- a/es/v4/reference/config/index.html +++ b/es/v4/reference/config/index.html @@ -1,4 +1,4 @@ - Config | sern

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 0faf06e68..71ede21e4 100644 --- a/es/v4/reference/modules/index.html +++ b/es/v4/reference/modules/index.html @@ -1,4 +1,4 @@ - Modules | sern

Project Layout

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

A project should look like this:

  • Directorysrc -
    • Directorycommands/
    • Directoryevents/
    • Directoryplugins/ # created automatically if running sern plugins
    • index.js
    • config.js # configuration for your entire application
  • .env
  • .gitignore
  • bun.lockb
  • package.json
  • README.md
  • sern.config.json
  • jsconfig.json # tsconfig.json if you are using typescript
\ No newline at end of file +
  • .env
  • .gitignore
  • bun.lockb
  • package.json
  • README.md
  • sern.config.json
  • jsconfig.json # tsconfig.json if you are using typescript
  • \ No newline at end of file diff --git a/es/v4/reference/tasks/index.html b/es/v4/reference/tasks/index.html index 5acf42568..a170a4af6 100644 --- a/es/v4/reference/tasks/index.html +++ b/es/v4/reference/tasks/index.html @@ -1,4 +1,4 @@ - Tasks | sern
    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
    trigger: "* * * * *",
    5
    execute: (context) => {
    6
    console.log("cron cron")
    7
    }
    8
    })
    \ No newline at end of file +
    3
    export default scheduledTask({
    4
    trigger: "* * * * *",
    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 2956ab81e..8fe777da4 100644 --- a/es/v4/snippets/command/index.html +++ b/es/v4/snippets/command/index.html @@ -1,4 +1,4 @@ - Command | sern

    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 b6c14e7f9..565fbec9a 100644 --- a/es/v4/snippets/event/index.html +++ b/es/v4/snippets/event/index.html @@ -1,4 +1,4 @@ - Event | sern

    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 a9cf3fde3..069ba6de7 100644 --- a/es/v4/snippets/plugin/index.html +++ b/es/v4/snippets/plugin/index.html @@ -1,4 +1,4 @@ - Plugins | sern

    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 40709eb3c..afee9c425 100644 --- a/es/v4/snippets/presence/index.html +++ b/es/v4/snippets/presence/index.html @@ -1,4 +1,4 @@ - Presence | sern

    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 ef4a64c31..b88615698 100644 --- a/es/v4/tools/localizer/index.html +++ b/es/v4/tools/localizer/index.html @@ -1,4 +1,4 @@ - Localizer | sern 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

    -
    Albion Guide

    Albion Guide

    Gets info about The First Descendant Game.

    sern Community

    sern Community

    The bot used to manage sern Community

    Vinci

    Vinci

    The discord bot for Mara Turing

    man-nomic

    man-nomic

    Displays LLM model information

    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

    Vinci

    Vinci

    The discord bot for Mara Turing

    Albion Guide

    Albion Guide

    Gets info about The First Descendant Game.

    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/pagefind/fragment/en_144ba38.pf_fragment b/pagefind/fragment/en_144ba38.pf_fragment deleted file mode 100644 index 7be235860..000000000 Binary files a/pagefind/fragment/en_144ba38.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_162e4d9.pf_fragment b/pagefind/fragment/en_162e4d9.pf_fragment deleted file mode 100644 index 7015239de..000000000 Binary files a/pagefind/fragment/en_162e4d9.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_1cd6a8e.pf_fragment b/pagefind/fragment/en_1cd6a8e.pf_fragment new file mode 100644 index 000000000..bef8654e5 Binary files /dev/null and b/pagefind/fragment/en_1cd6a8e.pf_fragment differ diff --git a/pagefind/fragment/en_1e9151b.pf_fragment b/pagefind/fragment/en_1e9151b.pf_fragment new file mode 100644 index 000000000..943b180d4 Binary files /dev/null and b/pagefind/fragment/en_1e9151b.pf_fragment differ diff --git a/pagefind/fragment/en_1eb2ede.pf_fragment b/pagefind/fragment/en_1eb2ede.pf_fragment deleted file mode 100644 index 43833dc2e..000000000 Binary files a/pagefind/fragment/en_1eb2ede.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_23207fb.pf_fragment b/pagefind/fragment/en_23207fb.pf_fragment new file mode 100644 index 000000000..dbdd69dc8 Binary files /dev/null and b/pagefind/fragment/en_23207fb.pf_fragment differ diff --git a/pagefind/fragment/en_383af7e.pf_fragment b/pagefind/fragment/en_383af7e.pf_fragment new file mode 100644 index 000000000..7574c11fb Binary files /dev/null and b/pagefind/fragment/en_383af7e.pf_fragment differ diff --git a/pagefind/fragment/en_3ad86ec.pf_fragment b/pagefind/fragment/en_3ad86ec.pf_fragment new file mode 100644 index 000000000..8a8622fbe Binary files /dev/null and b/pagefind/fragment/en_3ad86ec.pf_fragment differ diff --git a/pagefind/fragment/en_3c97438.pf_fragment b/pagefind/fragment/en_3c97438.pf_fragment deleted file mode 100644 index bead5c665..000000000 Binary files a/pagefind/fragment/en_3c97438.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_4686fbf.pf_fragment b/pagefind/fragment/en_4686fbf.pf_fragment new file mode 100644 index 000000000..3e9bfac14 Binary files /dev/null and b/pagefind/fragment/en_4686fbf.pf_fragment differ diff --git a/pagefind/fragment/en_507c415.pf_fragment b/pagefind/fragment/en_507c415.pf_fragment deleted file mode 100644 index 524dae766..000000000 Binary files a/pagefind/fragment/en_507c415.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_60b63d8.pf_fragment b/pagefind/fragment/en_60b63d8.pf_fragment deleted file mode 100644 index 9c2f5c738..000000000 Binary files a/pagefind/fragment/en_60b63d8.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_62e99da.pf_fragment b/pagefind/fragment/en_62e99da.pf_fragment new file mode 100644 index 000000000..9bbc8af2a Binary files /dev/null and b/pagefind/fragment/en_62e99da.pf_fragment differ diff --git a/pagefind/fragment/en_63f87cf.pf_fragment b/pagefind/fragment/en_63f87cf.pf_fragment new file mode 100644 index 000000000..4e2e20e89 Binary files /dev/null and b/pagefind/fragment/en_63f87cf.pf_fragment differ diff --git a/pagefind/fragment/en_6ae7548.pf_fragment b/pagefind/fragment/en_6ae7548.pf_fragment new file mode 100644 index 000000000..8e3cd8e4e Binary files /dev/null and b/pagefind/fragment/en_6ae7548.pf_fragment differ diff --git a/pagefind/fragment/en_95ec7c3.pf_fragment b/pagefind/fragment/en_95ec7c3.pf_fragment new file mode 100644 index 000000000..34f6832ba Binary files /dev/null and b/pagefind/fragment/en_95ec7c3.pf_fragment differ diff --git a/pagefind/fragment/en_4d1a4df.pf_fragment b/pagefind/fragment/en_9968ddb.pf_fragment similarity index 87% rename from pagefind/fragment/en_4d1a4df.pf_fragment rename to pagefind/fragment/en_9968ddb.pf_fragment index 8058f6014..41b1baad0 100644 Binary files a/pagefind/fragment/en_4d1a4df.pf_fragment and b/pagefind/fragment/en_9968ddb.pf_fragment differ diff --git a/pagefind/fragment/en_b740206.pf_fragment b/pagefind/fragment/en_b740206.pf_fragment new file mode 100644 index 000000000..c1f3a4a64 Binary files /dev/null and b/pagefind/fragment/en_b740206.pf_fragment differ diff --git a/pagefind/fragment/en_be1a6c7.pf_fragment b/pagefind/fragment/en_be1a6c7.pf_fragment new file mode 100644 index 000000000..6492b3217 Binary files /dev/null and b/pagefind/fragment/en_be1a6c7.pf_fragment differ diff --git a/pagefind/fragment/en_c250293.pf_fragment b/pagefind/fragment/en_c250293.pf_fragment deleted file mode 100644 index ab3731020..000000000 Binary files a/pagefind/fragment/en_c250293.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_cb266c8.pf_fragment b/pagefind/fragment/en_cb266c8.pf_fragment deleted file mode 100644 index 4960b6d8e..000000000 Binary files a/pagefind/fragment/en_cb266c8.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_ceae6cc.pf_fragment b/pagefind/fragment/en_ceae6cc.pf_fragment deleted file mode 100644 index 8990d5051..000000000 Binary files a/pagefind/fragment/en_ceae6cc.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_d23267b.pf_fragment b/pagefind/fragment/en_d23267b.pf_fragment deleted file mode 100644 index 313eb8038..000000000 Binary files a/pagefind/fragment/en_d23267b.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_d240116.pf_fragment b/pagefind/fragment/en_d240116.pf_fragment deleted file mode 100644 index 439fba230..000000000 Binary files a/pagefind/fragment/en_d240116.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_d3f3448.pf_fragment b/pagefind/fragment/en_d3f3448.pf_fragment new file mode 100644 index 000000000..ad410a360 Binary files /dev/null and b/pagefind/fragment/en_d3f3448.pf_fragment differ diff --git a/pagefind/fragment/en_e4c5fb6.pf_fragment b/pagefind/fragment/en_e4c5fb6.pf_fragment deleted file mode 100644 index bf37f9ad0..000000000 Binary files a/pagefind/fragment/en_e4c5fb6.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_f26b2ed.pf_fragment b/pagefind/fragment/en_f26b2ed.pf_fragment new file mode 100644 index 000000000..d3c38a343 Binary files /dev/null and b/pagefind/fragment/en_f26b2ed.pf_fragment differ diff --git a/pagefind/fragment/en_f646e98.pf_fragment b/pagefind/fragment/en_f646e98.pf_fragment deleted file mode 100644 index 1d4519be6..000000000 Binary files a/pagefind/fragment/en_f646e98.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_fe9e561.pf_fragment b/pagefind/fragment/en_fe9e561.pf_fragment deleted file mode 100644 index c961279cd..000000000 Binary files a/pagefind/fragment/en_fe9e561.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/es_1349699.pf_fragment b/pagefind/fragment/es_1349699.pf_fragment deleted file mode 100644 index 8574477ab..000000000 Binary files a/pagefind/fragment/es_1349699.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/es_17f7286.pf_fragment b/pagefind/fragment/es_17f7286.pf_fragment deleted file mode 100644 index 23a3083e9..000000000 Binary files a/pagefind/fragment/es_17f7286.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/es_1acc909.pf_fragment b/pagefind/fragment/es_1acc909.pf_fragment deleted file mode 100644 index c2c96f66a..000000000 Binary files a/pagefind/fragment/es_1acc909.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/es_2ba6f4d.pf_fragment b/pagefind/fragment/es_2ba6f4d.pf_fragment deleted file mode 100644 index b5c18394f..000000000 Binary files a/pagefind/fragment/es_2ba6f4d.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/es_907d789.pf_fragment b/pagefind/fragment/es_2f2869b.pf_fragment similarity index 85% rename from pagefind/fragment/es_907d789.pf_fragment rename to pagefind/fragment/es_2f2869b.pf_fragment index aee8047d8..4e111088b 100644 Binary files a/pagefind/fragment/es_907d789.pf_fragment and b/pagefind/fragment/es_2f2869b.pf_fragment differ diff --git a/pagefind/fragment/es_2f93644.pf_fragment b/pagefind/fragment/es_2f93644.pf_fragment deleted file mode 100644 index a8e8e561a..000000000 Binary files a/pagefind/fragment/es_2f93644.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/es_56b8d4c.pf_fragment b/pagefind/fragment/es_56b8d4c.pf_fragment deleted file mode 100644 index 06df562f7..000000000 Binary files a/pagefind/fragment/es_56b8d4c.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/es_59d99c8.pf_fragment b/pagefind/fragment/es_59d99c8.pf_fragment new file mode 100644 index 000000000..ac3ab73b8 Binary files /dev/null and b/pagefind/fragment/es_59d99c8.pf_fragment differ diff --git a/pagefind/fragment/es_655f42b.pf_fragment b/pagefind/fragment/es_655f42b.pf_fragment new file mode 100644 index 000000000..ddb77b617 Binary files /dev/null and b/pagefind/fragment/es_655f42b.pf_fragment differ diff --git a/pagefind/fragment/es_85a9718.pf_fragment b/pagefind/fragment/es_65e2da1.pf_fragment similarity index 88% rename from pagefind/fragment/es_85a9718.pf_fragment rename to pagefind/fragment/es_65e2da1.pf_fragment index 94df2655f..39f477492 100644 Binary files a/pagefind/fragment/es_85a9718.pf_fragment and b/pagefind/fragment/es_65e2da1.pf_fragment differ diff --git a/pagefind/fragment/es_750f84e.pf_fragment b/pagefind/fragment/es_750f84e.pf_fragment new file mode 100644 index 000000000..d79e723d5 Binary files /dev/null and b/pagefind/fragment/es_750f84e.pf_fragment differ diff --git a/pagefind/fragment/es_7601ddd.pf_fragment b/pagefind/fragment/es_7601ddd.pf_fragment new file mode 100644 index 000000000..208fd9cf1 Binary files /dev/null and b/pagefind/fragment/es_7601ddd.pf_fragment differ diff --git a/pagefind/fragment/es_9da5bc1.pf_fragment b/pagefind/fragment/es_9da5bc1.pf_fragment new file mode 100644 index 000000000..e52a7a947 Binary files /dev/null and b/pagefind/fragment/es_9da5bc1.pf_fragment differ diff --git a/pagefind/fragment/es_ad9a352.pf_fragment b/pagefind/fragment/es_ad9a352.pf_fragment deleted file mode 100644 index 012fc5124..000000000 Binary files a/pagefind/fragment/es_ad9a352.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/es_d7e885d.pf_fragment b/pagefind/fragment/es_d7e885d.pf_fragment new file mode 100644 index 000000000..312e0f3f9 Binary files /dev/null and b/pagefind/fragment/es_d7e885d.pf_fragment differ diff --git a/pagefind/fragment/es_e158647.pf_fragment b/pagefind/fragment/es_e158647.pf_fragment new file mode 100644 index 000000000..439e6d5fc Binary files /dev/null and b/pagefind/fragment/es_e158647.pf_fragment differ diff --git a/pagefind/fragment/tr_1f1b26b.pf_fragment b/pagefind/fragment/tr_1f1b26b.pf_fragment new file mode 100644 index 000000000..3e6200cde Binary files /dev/null and b/pagefind/fragment/tr_1f1b26b.pf_fragment differ diff --git a/pagefind/fragment/tr_262ca2b.pf_fragment b/pagefind/fragment/tr_262ca2b.pf_fragment deleted file mode 100644 index ca9ad8066..000000000 Binary files a/pagefind/fragment/tr_262ca2b.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/tr_2bf587f.pf_fragment b/pagefind/fragment/tr_2bf587f.pf_fragment new file mode 100644 index 000000000..e2d6f16da Binary files /dev/null and b/pagefind/fragment/tr_2bf587f.pf_fragment differ diff --git a/pagefind/fragment/tr_2e9796d.pf_fragment b/pagefind/fragment/tr_2e9796d.pf_fragment deleted file mode 100644 index 04f8cf547..000000000 Binary files a/pagefind/fragment/tr_2e9796d.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/tr_37cd719.pf_fragment b/pagefind/fragment/tr_37cd719.pf_fragment deleted file mode 100644 index 944258581..000000000 Binary files a/pagefind/fragment/tr_37cd719.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/tr_39d4a6e.pf_fragment b/pagefind/fragment/tr_39d4a6e.pf_fragment deleted file mode 100644 index a12a64e24..000000000 Binary files a/pagefind/fragment/tr_39d4a6e.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/tr_3edfd8d.pf_fragment b/pagefind/fragment/tr_3edfd8d.pf_fragment new file mode 100644 index 000000000..ebc98dae8 Binary files /dev/null and b/pagefind/fragment/tr_3edfd8d.pf_fragment differ diff --git a/pagefind/fragment/tr_417a33b.pf_fragment b/pagefind/fragment/tr_417a33b.pf_fragment deleted file mode 100644 index 8142019fe..000000000 Binary files a/pagefind/fragment/tr_417a33b.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/tr_5298c3f.pf_fragment b/pagefind/fragment/tr_5298c3f.pf_fragment new file mode 100644 index 000000000..c57312067 Binary files /dev/null and b/pagefind/fragment/tr_5298c3f.pf_fragment differ diff --git a/pagefind/fragment/tr_575821c.pf_fragment b/pagefind/fragment/tr_575821c.pf_fragment new file mode 100644 index 000000000..0999f626e Binary files /dev/null and b/pagefind/fragment/tr_575821c.pf_fragment differ diff --git a/pagefind/fragment/tr_62e6a58.pf_fragment b/pagefind/fragment/tr_62e6a58.pf_fragment new file mode 100644 index 000000000..b0006d1f2 Binary files /dev/null and b/pagefind/fragment/tr_62e6a58.pf_fragment differ diff --git a/pagefind/fragment/tr_68f7da2.pf_fragment b/pagefind/fragment/tr_68f7da2.pf_fragment new file mode 100644 index 000000000..ad4d6b11a Binary files /dev/null and b/pagefind/fragment/tr_68f7da2.pf_fragment differ diff --git a/pagefind/fragment/tr_80706e7.pf_fragment b/pagefind/fragment/tr_80706e7.pf_fragment new file mode 100644 index 000000000..94b55430e Binary files /dev/null and b/pagefind/fragment/tr_80706e7.pf_fragment differ diff --git a/pagefind/fragment/tr_ad132f4.pf_fragment b/pagefind/fragment/tr_ad132f4.pf_fragment deleted file mode 100644 index 2aa5d6243..000000000 Binary files a/pagefind/fragment/tr_ad132f4.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/tr_be59da1.pf_fragment b/pagefind/fragment/tr_be59da1.pf_fragment new file mode 100644 index 000000000..788457df1 Binary files /dev/null and b/pagefind/fragment/tr_be59da1.pf_fragment differ diff --git a/pagefind/fragment/tr_dfaeb4b.pf_fragment b/pagefind/fragment/tr_dfaeb4b.pf_fragment deleted file mode 100644 index 47a274adf..000000000 Binary files a/pagefind/fragment/tr_dfaeb4b.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/tr_ec8f45f.pf_fragment b/pagefind/fragment/tr_ec8f45f.pf_fragment deleted file mode 100644 index 01e1580cd..000000000 Binary files a/pagefind/fragment/tr_ec8f45f.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/tr_f2bee2a.pf_fragment b/pagefind/fragment/tr_f2bee2a.pf_fragment deleted file mode 100644 index 988d2823f..000000000 Binary files a/pagefind/fragment/tr_f2bee2a.pf_fragment and /dev/null differ diff --git a/pagefind/index/en_25b0b72.pf_index b/pagefind/index/en_25b0b72.pf_index deleted file mode 100644 index 67796b531..000000000 Binary files a/pagefind/index/en_25b0b72.pf_index and /dev/null differ diff --git a/pagefind/index/en_4dcf9fb.pf_index b/pagefind/index/en_4dcf9fb.pf_index deleted file mode 100644 index 989908b50..000000000 Binary files a/pagefind/index/en_4dcf9fb.pf_index and /dev/null differ diff --git a/pagefind/index/en_6eecd5e.pf_index b/pagefind/index/en_6eecd5e.pf_index new file mode 100644 index 000000000..0d5432b93 Binary files /dev/null and b/pagefind/index/en_6eecd5e.pf_index differ diff --git a/pagefind/index/en_9ed6d42.pf_index b/pagefind/index/en_9ed6d42.pf_index new file mode 100644 index 000000000..1148b0ed8 Binary files /dev/null and b/pagefind/index/en_9ed6d42.pf_index differ diff --git a/pagefind/index/en_dbaf55c.pf_index b/pagefind/index/en_dbaf55c.pf_index new file mode 100644 index 000000000..58f9dc93f Binary files /dev/null and b/pagefind/index/en_dbaf55c.pf_index differ diff --git a/pagefind/index/en_dbfda3c.pf_index b/pagefind/index/en_dbfda3c.pf_index deleted file mode 100644 index 7b6f82140..000000000 Binary files a/pagefind/index/en_dbfda3c.pf_index and /dev/null differ diff --git a/pagefind/index/es_1979872.pf_index b/pagefind/index/es_1979872.pf_index new file mode 100644 index 000000000..fe008150c Binary files /dev/null and b/pagefind/index/es_1979872.pf_index differ diff --git a/pagefind/index/es_37e098b.pf_index b/pagefind/index/es_37e098b.pf_index deleted file mode 100644 index 41c11c410..000000000 Binary files a/pagefind/index/es_37e098b.pf_index and /dev/null differ diff --git a/pagefind/index/es_88af5b8.pf_index b/pagefind/index/es_8f3e216.pf_index similarity index 53% rename from pagefind/index/es_88af5b8.pf_index rename to pagefind/index/es_8f3e216.pf_index index 935c604df..361f24100 100644 Binary files a/pagefind/index/es_88af5b8.pf_index and b/pagefind/index/es_8f3e216.pf_index differ diff --git a/pagefind/index/tr_4faae08.pf_index b/pagefind/index/tr_4faae08.pf_index deleted file mode 100644 index 51f566779..000000000 Binary files a/pagefind/index/tr_4faae08.pf_index and /dev/null differ diff --git a/pagefind/index/tr_85cbfaf.pf_index b/pagefind/index/tr_85cbfaf.pf_index new file mode 100644 index 000000000..9b4a893c0 Binary files /dev/null and b/pagefind/index/tr_85cbfaf.pf_index differ diff --git a/pagefind/index/tr_bfc85a8.pf_index b/pagefind/index/tr_bfc85a8.pf_index deleted file mode 100644 index 446fbff61..000000000 Binary files a/pagefind/index/tr_bfc85a8.pf_index and /dev/null differ diff --git a/pagefind/index/tr_c4d3ddc.pf_index b/pagefind/index/tr_c4d3ddc.pf_index new file mode 100644 index 000000000..215a803f7 Binary files /dev/null and b/pagefind/index/tr_c4d3ddc.pf_index differ diff --git a/pagefind/index/tr_cf27df7.pf_index b/pagefind/index/tr_cf27df7.pf_index new file mode 100644 index 000000000..7c7e21acd Binary files /dev/null and b/pagefind/index/tr_cf27df7.pf_index differ diff --git a/pagefind/index/tr_d53b754.pf_index b/pagefind/index/tr_d53b754.pf_index deleted file mode 100644 index 47f0e9265..000000000 Binary files a/pagefind/index/tr_d53b754.pf_index and /dev/null differ diff --git a/pagefind/pagefind-entry.json b/pagefind/pagefind-entry.json index 56fe5ab8e..12a50c187 100644 --- a/pagefind/pagefind-entry.json +++ b/pagefind/pagefind-entry.json @@ -1 +1 @@ -{"version":"1.1.0","languages":{"en":{"hash":"en_bb9754b982","wasm":"en","page_count":183},"es":{"hash":"es_3bb018eb98","wasm":"es","page_count":181},"tr":{"hash":"tr_469ad33bac","wasm":"tr","page_count":181}}} \ No newline at end of file +{"version":"1.1.0","languages":{"es":{"hash":"es_ba3d849834","wasm":"es","page_count":181},"en":{"hash":"en_887f555e78","wasm":"en","page_count":183},"tr":{"hash":"tr_41b67ebffa","wasm":"tr","page_count":181}}} \ No newline at end of file diff --git a/pagefind/pagefind.en_887f555e78.pf_meta b/pagefind/pagefind.en_887f555e78.pf_meta new file mode 100644 index 000000000..b8cd88605 Binary files /dev/null and b/pagefind/pagefind.en_887f555e78.pf_meta differ diff --git a/pagefind/pagefind.en_bb9754b982.pf_meta b/pagefind/pagefind.en_bb9754b982.pf_meta deleted file mode 100644 index f4a43deb8..000000000 Binary files a/pagefind/pagefind.en_bb9754b982.pf_meta and /dev/null differ diff --git a/pagefind/pagefind.es_3bb018eb98.pf_meta b/pagefind/pagefind.es_3bb018eb98.pf_meta deleted file mode 100644 index 9c5422686..000000000 Binary files a/pagefind/pagefind.es_3bb018eb98.pf_meta and /dev/null differ diff --git a/pagefind/pagefind.es_ba3d849834.pf_meta b/pagefind/pagefind.es_ba3d849834.pf_meta new file mode 100644 index 000000000..2ca34e8fa Binary files /dev/null and b/pagefind/pagefind.es_ba3d849834.pf_meta differ diff --git a/pagefind/pagefind.tr_41b67ebffa.pf_meta b/pagefind/pagefind.tr_41b67ebffa.pf_meta new file mode 100644 index 000000000..6f2867f48 Binary files /dev/null and b/pagefind/pagefind.tr_41b67ebffa.pf_meta differ diff --git a/pagefind/pagefind.tr_469ad33bac.pf_meta b/pagefind/pagefind.tr_469ad33bac.pf_meta deleted file mode 100644 index f484579c3..000000000 Binary files a/pagefind/pagefind.tr_469ad33bac.pf_meta and /dev/null differ diff --git a/plugins/index.html b/plugins/index.html index e85b9ce63..ec414dbc8 100644 --- a/plugins/index.html +++ b/plugins/index.html @@ -1,4 +1,4 @@ - Plugins | sern 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/sponsors/index.html b/sponsors/index.html index 003a68d6c..0dd75f9ce 100644 --- a/sponsors/index.html +++ b/sponsors/index.html @@ -1,4 +1,4 @@ - Sponsors | sern İç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

    -
    Vinci

    Vinci

    The discord bot for Mara Turing

    sern Community

    sern Community

    The bot used to manage sern Community

    man-nomic

    man-nomic

    Displays LLM model information

    Bask

    Bask

    A discord music bot

    Albion Guide

    Albion Guide

    Gets info about The First Descendant Game.

    +
    Vinci

    Vinci

    The discord bot for Mara Turing

    man-nomic

    man-nomic

    Displays LLM model information

    Bask

    Bask

    A discord music bot

    Albion Guide

    Albion Guide

    Gets info about The First Descendant Game.

    sern Community

    sern Community

    The bot used to manage sern Community

    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 15b4de29b..dee24f97a 100644 --- a/tr/v3/api/classes/context/index.html +++ b/tr/v3/api/classes/context/index.html @@ -1,4 +1,4 @@ - Context | sern
    1
    await makeDependencies(({ add }) => {
    2
    add('@sern/client', new Client({ intents, partials })
    3
    })

    Source

    -

    src/core/ioc.ts:63

    \ No newline at end of file +

    src/core/ioc.ts:63

    \ No newline at end of file diff --git a/tr/v3/api/functions/makeplugin/index.html b/tr/v3/api/functions/makeplugin/index.html index a81b079a5..4f096a6ce 100644 --- a/tr/v3/api/functions/makeplugin/index.html +++ b/tr/v3/api/functions/makeplugin/index.html @@ -1,4 +1,4 @@ - makePlugin | sern
    src/index.ts
    1
    Sern.init({
    2
    commands: 'dist/commands',
    3
    events: 'dist/events',
    4
    })

    Source

    -

    src/sern.ts:35

    \ No newline at end of file +

    src/sern.ts:35

    \ No newline at end of file diff --git a/tr/v3/api/readme/index.html b/tr/v3/api/readme/index.html index a7d97d8de..828487fa3 100644 --- a/tr/v3/api/readme/index.html +++ b/tr/v3/api/readme/index.html @@ -1,4 +1,4 @@ - @sern/handler | sern

    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 5fb2f0ea4..36624cc9f 100644 --- a/tr/v3/guide/walkthrough/autocomplete/index.html +++ b/tr/v3/guide/walkthrough/autocomplete/index.html @@ -1,4 +1,4 @@ - Autocomplete | sern

    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 672faa569..575ed206d 100644 --- a/tr/v3/guide/walkthrough/dependency-injection/index.html +++ b/tr/v3/guide/walkthrough/dependency-injection/index.html @@ -1,4 +1,4 @@ - Dependency Injection | sern
    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 dd0884cdc..51c514c24 100644 --- a/tr/v3/guide/walkthrough/new-project/index.html +++ b/tr/v3/guide/walkthrough/new-project/index.html @@ -1,4 +1,4 @@ - New Project | sern

    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 41b06a610..3b28f9499 100644 --- a/tr/v3/guide/walkthrough/plugins/index.html +++ b/tr/v3/guide/walkthrough/plugins/index.html @@ -1,4 +1,4 @@ - Plugins | sern
    1
    await makeDependencies(({ add }) => {
    2
    add('@sern/client', new Client({ intents, partials })
    3
    })

    Source

    -

    src/core/ioc.ts:63

    \ No newline at end of file +

    src/core/ioc.ts:63

    \ No newline at end of file diff --git a/tr/v4/api/functions/makeplugin/index.html b/tr/v4/api/functions/makeplugin/index.html index b361adad9..2bb693610 100644 --- a/tr/v4/api/functions/makeplugin/index.html +++ b/tr/v4/api/functions/makeplugin/index.html @@ -1,4 +1,4 @@ - makePlugin | sern
    src/index.ts
    1
    Sern.init({
    2
    commands: 'dist/commands',
    3
    events: 'dist/events',
    4
    })

    Source

    -

    src/sern.ts:35

    \ No newline at end of file +

    src/sern.ts:35

    \ No newline at end of file diff --git a/tr/v4/api/readme/index.html b/tr/v4/api/readme/index.html index 890590db1..c4ebbb5b7 100644 --- a/tr/v4/api/readme/index.html +++ b/tr/v4/api/readme/index.html @@ -1,4 +1,4 @@ - @sern/handler | sern

    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 b22c70701..632750bd9 100644 --- a/tr/v4/reference/config/index.html +++ b/tr/v4/reference/config/index.html @@ -1,4 +1,4 @@ - Config | sern

    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 ac3959950..e14832ea4 100644 --- a/tr/v4/reference/modules/index.html +++ b/tr/v4/reference/modules/index.html @@ -1,4 +1,4 @@ - Modules | sern

    Project Layout

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

    A project should look like this:

    • Dizinsrc -
      • Dizincommands/
      • Dizinevents/
      • Dizinplugins/ # created automatically if running sern plugins
      • index.js
      • config.js # configuration for your entire application
    • .env
    • .gitignore
    • bun.lockb
    • package.json
    • README.md
    • sern.config.json
    • jsconfig.json # tsconfig.json if you are using typescript
    \ No newline at end of file +
  • .env
  • .gitignore
  • bun.lockb
  • package.json
  • README.md
  • sern.config.json
  • jsconfig.json # tsconfig.json if you are using typescript
  • \ No newline at end of file diff --git a/tr/v4/reference/tasks/index.html b/tr/v4/reference/tasks/index.html index b96885d38..c9668e084 100644 --- a/tr/v4/reference/tasks/index.html +++ b/tr/v4/reference/tasks/index.html @@ -1,4 +1,4 @@ - Tasks | sern
    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
    trigger: "* * * * *",
    5
    execute: (context) => {
    6
    console.log("cron cron")
    7
    }
    8
    })
    \ No newline at end of file +
    3
    export default scheduledTask({
    4
    trigger: "* * * * *",
    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 660748815..72b32f4c0 100644 --- a/tr/v4/snippets/command/index.html +++ b/tr/v4/snippets/command/index.html @@ -1,4 +1,4 @@ - Command | sern

    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 2abe54b3d..b495777fb 100644 --- a/tr/v4/snippets/event/index.html +++ b/tr/v4/snippets/event/index.html @@ -1,4 +1,4 @@ - Event | sern

    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 937425b99..507454793 100644 --- a/tr/v4/snippets/plugin/index.html +++ b/tr/v4/snippets/plugin/index.html @@ -1,4 +1,4 @@ - Plugins | sern

    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 24d0ebd5e..c25255064 100644 --- a/tr/v4/snippets/presence/index.html +++ b/tr/v4/snippets/presence/index.html @@ -1,4 +1,4 @@ - Presence | sern

    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 485c3f988..e4f3fdb72 100644 --- a/tr/v4/tools/localizer/index.html +++ b/tr/v4/tools/localizer/index.html @@ -1,4 +1,4 @@ - Localizer | sern
    1
    await makeDependencies(({ add }) => {
    2
    add('@sern/client', new Client({ intents, partials })
    3
    })

    Source

    -

    src/core/ioc.ts:63

    \ No newline at end of file +

    src/core/ioc.ts:63

    \ No newline at end of file diff --git a/v3/api/functions/makeplugin/index.html b/v3/api/functions/makeplugin/index.html index 0053ae42d..15ee917a0 100644 --- a/v3/api/functions/makeplugin/index.html +++ b/v3/api/functions/makeplugin/index.html @@ -1,4 +1,4 @@ - makePlugin | sern
    src/index.ts
    1
    Sern.init({
    2
    commands: 'dist/commands',
    3
    events: 'dist/events',
    4
    })

    Source

    -

    src/sern.ts:35

    \ No newline at end of file +

    src/sern.ts:35

    \ No newline at end of file diff --git a/v3/api/readme/index.html b/v3/api/readme/index.html index 7478e4df5..e3f52d20c 100644 --- a/v3/api/readme/index.html +++ b/v3/api/readme/index.html @@ -1,4 +1,4 @@ - @sern/handler | sern

    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 2129170dc..60d93eec5 100644 --- a/v3/guide/walkthrough/autocomplete/index.html +++ b/v3/guide/walkthrough/autocomplete/index.html @@ -1,4 +1,4 @@ - Autocomplete | sern

    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 067cccc26..f4fa81ed8 100644 --- a/v3/guide/walkthrough/dependency-injection/index.html +++ b/v3/guide/walkthrough/dependency-injection/index.html @@ -1,4 +1,4 @@ - Dependency Injection | sern
    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 48cd503e7..bf85d3544 100644 --- a/v3/guide/walkthrough/new-project/index.html +++ b/v3/guide/walkthrough/new-project/index.html @@ -1,4 +1,4 @@ - New Project | sern

    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 562330cb6..dbf8382a5 100644 --- a/v3/guide/walkthrough/plugins/index.html +++ b/v3/guide/walkthrough/plugins/index.html @@ -1,4 +1,4 @@ - Plugins | sern
    1
    await makeDependencies(({ add }) => {
    2
    add('@sern/client', new Client({ intents, partials })
    3
    })

    Source

    -

    src/core/ioc.ts:63

    \ No newline at end of file +

    src/core/ioc.ts:63

    \ No newline at end of file diff --git a/v4/api/functions/makeplugin/index.html b/v4/api/functions/makeplugin/index.html index d13545c76..5156c0ac0 100644 --- a/v4/api/functions/makeplugin/index.html +++ b/v4/api/functions/makeplugin/index.html @@ -1,4 +1,4 @@ - makePlugin | sern
    src/index.ts
    1
    Sern.init({
    2
    commands: 'dist/commands',
    3
    events: 'dist/events',
    4
    })

    Source

    -

    src/sern.ts:35

    \ No newline at end of file +

    src/sern.ts:35

    \ No newline at end of file diff --git a/v4/api/readme/index.html b/v4/api/readme/index.html index 4ed980c51..b94e2cd57 100644 --- a/v4/api/readme/index.html +++ b/v4/api/readme/index.html @@ -1,4 +1,4 @@ - @sern/handler | sern

    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 f85d368e7..240a44453 100644 --- a/v4/reference/config/index.html +++ b/v4/reference/config/index.html @@ -1,4 +1,4 @@ - Config | sern

    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 81373273e..3372b64ed 100644 --- a/v4/reference/modules/index.html +++ b/v4/reference/modules/index.html @@ -1,4 +1,4 @@ - Modules | sern

    Project Layout

    A project should look like this:

    • Directorysrc -
      • Directorycommands/
      • Directoryevents/
      • Directoryplugins/ # created automatically if running sern plugins
      • index.js
      • config.js # configuration for your entire application
    • .env
    • .gitignore
    • bun.lockb
    • package.json
    • README.md
    • sern.config.json
    • jsconfig.json # tsconfig.json if you are using typescript
    \ No newline at end of file +
  • .env
  • .gitignore
  • bun.lockb
  • package.json
  • README.md
  • sern.config.json
  • jsconfig.json # tsconfig.json if you are using typescript
  • \ No newline at end of file diff --git a/v4/reference/tasks/index.html b/v4/reference/tasks/index.html index 59d7b04b5..7f0085b44 100644 --- a/v4/reference/tasks/index.html +++ b/v4/reference/tasks/index.html @@ -1,4 +1,4 @@ - Tasks | sern
    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
    trigger: "* * * * *",
    5
    execute: (context) => {
    6
    console.log("cron cron")
    7
    }
    8
    })
    \ No newline at end of file +
    3
    export default scheduledTask({
    4
    trigger: "* * * * *",
    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 df8a31ec6..0101fceec 100644 --- a/v4/snippets/command/index.html +++ b/v4/snippets/command/index.html @@ -1,4 +1,4 @@ - Command | sern

    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 75f0f1df4..24eff6b2f 100644 --- a/v4/snippets/event/index.html +++ b/v4/snippets/event/index.html @@ -1,4 +1,4 @@ - Event | sern

    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 7c72e5bd8..e79934c4c 100644 --- a/v4/snippets/plugin/index.html +++ b/v4/snippets/plugin/index.html @@ -1,4 +1,4 @@ - Plugins | sern

    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 3e9eb5891..8ace3ee05 100644 --- a/v4/snippets/presence/index.html +++ b/v4/snippets/presence/index.html @@ -1,4 +1,4 @@ - Presence | sern

    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 cc654e0bf..97596ddb5 100644 --- a/v4/tools/localizer/index.html +++ b/v4/tools/localizer/index.html @@ -1,4 +1,4 @@ - Localizer | sern