From dba7c42055922f214565c9018595d95288010327 Mon Sep 17 00:00:00 2001 From: Jacob Nguyen <76754747+jacoobes@users.noreply.github.com> Date: Fri, 15 Sep 2023 17:37:46 -0500 Subject: [PATCH] soime progress on overview of api --- docs/tutorial/en/05-overview/commands.md | 0 docs/tutorial/en/05-overview/start.md | 9 +++++++++ 2 files changed, 9 insertions(+) create mode 100644 docs/tutorial/en/05-overview/commands.md create mode 100644 docs/tutorial/en/05-overview/start.md diff --git a/docs/tutorial/en/05-overview/commands.md b/docs/tutorial/en/05-overview/commands.md new file mode 100644 index 000000000..e69de29bb diff --git a/docs/tutorial/en/05-overview/start.md b/docs/tutorial/en/05-overview/start.md new file mode 100644 index 000000000..70a69d5fc --- /dev/null +++ b/docs/tutorial/en/05-overview/start.md @@ -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. +