Crajy Bot
A Discord Bot.
Development
Requirements
- Python >= 3.10
- Poetry
Setting up
- Run
poetry install
to install dependencies - Run
prisma db push
to create the SQLite database - Add constants:
- add the bot token as a constant named
TOKEN
insecret/TOKEN.py
- add the ID of the testing server as a constant named
BOT_TEST_SERVER
insecret/constants.py
- add the ID of the testing channel as a constant named
BOT_TEST_CHANNEL
insecret/constants.py
- add the bot token as a constant named
Running
python manage.py
-> Runs the bot and attempts to load all extensions
python manage.py --exts ext1 ext2 ext3
-> Runs the bot and only loads ext1
, ext2
, ext3