(...`keys`: [...V[]]) => [`MapDeps`](../modules.md#mapdeps)<`T`, `V`\>
+
+#### Type parameters
+
+| Name | Type |
+| :------ | :------ |
+| `T` | extends [`Dependencies`](../interfaces/Dependencies.md) |
+
+#### Parameters
+
+| Name | Type | Description |
+| :------ | :------ | :------ |
+| `conf` | `Object` | a configuration for creating your project dependencies |
+| `conf.build` | (`root`: `Container`<`Record`<`string`, `unknown`\>, {}\>) => `Container`<`Partial`<`T`\>, {}\> | - |
+| `conf.exclude?` | `Set`<``"@sern/logger"``\> | - |
+
+#### Returns
+
+`fn`
+
+▸ <`V`\>(...`keys`): [`MapDeps`](../modules.md#mapdeps)<`T`, `V`\>
+
+##### Type parameters
+
+| Name | Type |
+| :------ | :------ |
+| `V` | extends keyof `T`[] |
+
+##### Parameters
+
+| Name | Type |
+| :------ | :------ |
+| `...keys` | [...V[]] |
+
+##### Returns
+
+[`MapDeps`](../modules.md#mapdeps)<`T`, `V`\>
+
+#### Defined in
+
+[src/handler/sern.ts:87](https://github.com/sern-handler/handler/blob/3daacfc/src/handler/sern.ts#L87)
diff --git a/docs/guide/getting-started/preparing.md b/docs/guide/getting-started/preparing.md
index 524d322c1..4c706420f 100644
--- a/docs/guide/getting-started/preparing.md
+++ b/docs/guide/getting-started/preparing.md
@@ -4,3 +4,8 @@
After installing and IDE you need to install node.
You can download the LTS version of node right [here](https://nodejs.org/en/download/)
+
+Install discord.js with
+```shell
+npm install discord.js@latest
+```
diff --git a/docs/guide/walkthrough/conclusion.md b/docs/guide/walkthrough/conclusion.md
index 32286b01e..c28ce249c 100644
--- a/docs/guide/walkthrough/conclusion.md
+++ b/docs/guide/walkthrough/conclusion.md
@@ -5,4 +5,4 @@ sidebar_position: 8
# 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](https://discord.gg/QgnfxWzrcj), and we'll be glad to answer your questions.
\ No newline at end of file
+[community server](https://sern.dev/discord), and we'll be glad to answer your questions.
\ No newline at end of file
diff --git a/docs/guide/walkthrough/first-command.md b/docs/guide/walkthrough/first-command.md
index 65a7e4940..0f858891f 100644
--- a/docs/guide/walkthrough/first-command.md
+++ b/docs/guide/walkthrough/first-command.md
@@ -34,10 +34,10 @@ exports.default = commandModule({
},
})
```
-To view what each of these properties mean in depth, visit the [official documentation](https://sern-handler.js.org/docs/api/enums/CommandType).
+To view what each of these properties mean in depth, visit the [official documentation](https://sern.dev/docs/api/enums/CommandType).
### Types of command modules
Every command module `type` is part of an enum. This field allows type inference for the rest of a module's fields.
-All the command types can be found in the [official documentation](https://sern-handler.js.org/docs/api/enums/CommandType)!
+All the command types can be found in the [official documentation](https://sern.dev/docs/api/enums/CommandType)!
So, lets say you want to make a command module that listens to modals.
**Note**: Keep in mind you'll need to send a modal with a custom id `dm-me`. This example below is the response to a modal being sent.
diff --git a/docs/guide/walkthrough/first-event.md b/docs/guide/walkthrough/first-event.md
index 331d55b4f..3296ea0bc 100644
--- a/docs/guide/walkthrough/first-event.md
+++ b/docs/guide/walkthrough/first-event.md
@@ -27,9 +27,9 @@ exports.default = eventModule({
})
```
Like command modules, the `type` property denotes what kind of event it is, which
-can be found [here](https://sern-handler.js.org/docs/api/enums/EventType).
+can be found [here](https://sern.dev/docs/api/enums/EventType).
-To view what each of these properties mean in depth, visit the [official documentation](https://sern-handler.js.org/docs/api/enums/EventType).
+To view what each of these properties mean in depth, visit the [official documentation](https://sern.dev/docs/api/enums/EventType).
Event modules are laid out similarly to command modules. These listen to any and all event you provide.
@@ -41,7 +41,7 @@ Typescript:
```typescript
export default eventModule({
type: EventType.Discord,
- plugins : [], //NOT SUPPORTED YET!!
+ plugins : [],
name: 'guildMemberAdd', //name of event.
async execute(member: GuildMember) {
(await member.guild.channels.fetch('channel-id') as TextChannel).send(`Welcome, ${member}`);
diff --git a/docs/guide/walkthrough/plugins.md b/docs/guide/walkthrough/plugins.md
index 380b40799..928ac0ed0 100644
--- a/docs/guide/walkthrough/plugins.md
+++ b/docs/guide/walkthrough/plugins.md
@@ -53,7 +53,7 @@ Plugins modify and add new behavior to standard modules, extending customizabili
## Command Plugins
All modules are registered into sern's system. With command plugins, you can modify how commands are loaded,
-or do some kind of preprocessing before they are loaded into sern.
+or do some kind of preprocessing before they are loaded.
### The controller object
```typescript
export interface Controller {
diff --git a/docs/guide/walkthrough/sern-emitter.md b/docs/guide/walkthrough/sern-emitter.md
index ddbcbb21e..b6e2fd8ba 100644
--- a/docs/guide/walkthrough/sern-emitter.md
+++ b/docs/guide/walkthrough/sern-emitter.md
@@ -6,8 +6,9 @@ sidebar_position: 6
You're shipped with the SernEmitter. This EventEmitter listens to
- command modules executing and its status, the `module.activate` event
- command modules registered and its status, the `module.register` event
+- On default, sern creates a single SernEmitter for your bot process.
- any error that occurs, the `error` event
- `warn` events, where it is possible to throw errors
You can put these and other event listeners into [event modules](./first-event.md)!
-
View all events
\ No newline at end of file
+
View all events
\ No newline at end of file
diff --git a/docs/intro.md b/docs/intro.md
index fc6b20fa2..30db95bda 100644
--- a/docs/intro.md
+++ b/docs/intro.md
@@ -12,5 +12,5 @@ sidebar_position: 0
This site is open source! Please do contribute if you find any bugs, typos, or sections in need of improvements.
:::
:::tip
-If you have problems, join the discord server [here](https://sern-handler.js.org/discord)
+If you have problems, join the discord server [here](https://sern.dev/discord)
:::
diff --git a/docusaurus.config.js b/docusaurus.config.js
index 2bd56a5e9..79ecd6d9e 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -144,14 +144,14 @@ const config = {
{ name: 'og:title', content: 'sern - Handlers. Redefined.' },
{ name: 'og:description', content: 'A customizable, batteries-included, powerful discord.js framework to automate and streamline bot development' },
{ name: 'og:image', content: 'https://i.imgur.com/rr8nqDP.png' },
- { name: 'og:url', content: 'https://sern-handler.js.org' },
+ { name: 'og:url', content: 'https://sern.dev' },
{ name: 'og:type', content: 'website' },
{ name: 'twitter:card', content: 'summary_large_image' },
{ name: 'twitter:site', content: '@sern-handler' },
{ name: 'twitter:title', content: 'sern - Handlers. Redefined.' },
{ name: 'twitter:description', content: 'A customizable, batteries-included, powerful discord.js framework to automate and streamline bot development' },
{ name: 'twitter:image', content: './assets/images/logo.png' },
- { name: 'twitter:url', content: 'https://sern-handler.js.org' },
+ { name: 'twitter:url', content: 'https://sern.dev' },
{ name: 'theme-color', content: '#cb547c' }
],
prism: {