mirror of
https://github.com/sern-handler/website
synced 2026-06-27 18:22:22 +00:00
598 B
598 B
start
initiate
We start at the humble index.js. This is where this bot will start. Notice the Sern.init, hmm... I wonder what that does. (it initiates sern) A few options are availible, which are conviently labeled already. Make sure to take a look at them.
dependencies
This requires a little more explaning. Basically in makeDependencies, we initiate a container of services and structures. sern and you, the developer will use these structures. In the template you have now, we only initiate the client, which is necessary for the handler to run.