mirror of
https://github.com/sern-handler/website
synced 2026-06-06 01:16:47 +00:00
soime progress on overview of api
This commit is contained in:
0
docs/tutorial/en/05-overview/commands.md
Normal file
0
docs/tutorial/en/05-overview/commands.md
Normal file
9
docs/tutorial/en/05-overview/start.md
Normal file
9
docs/tutorial/en/05-overview/start.md
Normal file
@@ -0,0 +1,9 @@
|
||||
# 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](../04-setting-up-bot/create-bot) you have now, we only initiate the client, which is necessary for the handler to run.
|
||||
|
||||
Reference in New Issue
Block a user