From 724718162efb3b716a9abdfae6d6fbff44f2af8b Mon Sep 17 00:00:00 2001 From: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com> Date: Sun, 20 Mar 2022 10:06:59 +0000 Subject: [PATCH] fix: dumb shitty fmt --- site/docs/nodejs/EventHandler/event-manager.md | 4 ++-- site/docs/nodejs/EventHandler/handle-event.md | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/site/docs/nodejs/EventHandler/event-manager.md b/site/docs/nodejs/EventHandler/event-manager.md index 5ffebf07a..bb95281ee 100644 --- a/site/docs/nodejs/EventHandler/event-manager.md +++ b/site/docs/nodejs/EventHandler/event-manager.md @@ -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. diff --git a/site/docs/nodejs/EventHandler/handle-event.md b/site/docs/nodejs/EventHandler/handle-event.md index 4a42199bb..ca1369e41 100644 --- a/site/docs/nodejs/EventHandler/handle-event.md +++ b/site/docs/nodejs/EventHandler/handle-event.md @@ -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.