Files
bot-discord/README.md
2024-03-16 12:06:05 +01:00

506 B

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
git submodule add $URL ./bot/cogs/myCog/

run bot

python3 main.py

or

./main.py