fix: dumb shitty fmt

This commit is contained in:
Skillz4Killz
2022-03-20 10:06:59 +00:00
committed by GitHub
parent d6f0f42461
commit 724718162e
2 changed files with 4 additions and 3 deletions

View File

@@ -113,7 +113,7 @@ const client = Discord.createBot({
Discord.startBot(client);
```
Moreover, you can customize the `EventManager` and add more functionality to it and make it exactly fit your needs
or even emit events, by extending it.
Moreover, you can customize the `EventManager` and add more functionality to it and make it exactly fit your needs or
even emit events, by extending it.
Of course you wonder what you can do with all of this now. We will explain this further on the next page.

View File

@@ -6,7 +6,8 @@ sidebar_position: 3
When an event is fired, Discordeno sends two important things: the `client` instance and the `payload`.
As mentioned in the `Structure` section, the `payload` object does not contain any functions as it's a plain json object.
As mentioned in the `Structure` section, the `payload` object does not contain any functions as it's a plain json
object.
In order to take use of our nice built structures, we need to transform the payload into a structure.