This repository contains the source code for the Prisma Python discord bot!
python3 -m venv .venv
source .venv/bin/activate
pip install -U -r requirements-dev.txt
Create an application on https://discord.com/developers/applications and create a .env
file with the bot token that Discord gives you:
# .env
BOT_TOKEN = "<MY TOKEN>"
Setup the database
prisma db push
Run the bot
python -m bot
You can now navigate to discord and confirm the bot is running by the sending the following message:
?ping