From 80c5f1bc040b160c7dcffa3bcc8d0b9bee683a07 Mon Sep 17 00:00:00 2001
From: anima
Date: Sat, 16 Mar 2024 12:06:05 +0100
Subject: [PATCH] update readme
---
README.md | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/README.md b/README.md
index 3b3d702..9850b3b 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,23 @@
# Template: Discord Bot
## Howto
+### get token
1. Go to: https://discord.com/developers/applications
2. Create a new Aplication
3. In the Application go to Bot, add them and copy the token
4. Add the token in bot.conf
+
+### add cogs
+1. add cog to `./bot/cogs` with main file `cog.py` (sub dir is allowed)
+2. optional use submodule like: https://git.ao-it.net/templatecity/bot-discord-cog
+```bash
+git submodule add $URL ./bot/cogs/myCog/
+```
+
+### run bot
+```bash
+python3 main.py
+```
+or
+```bash
+./main.py
+```
\ No newline at end of file