60529b3160bd041419ca33e867e5daba02314e05
discord-ledger-bot
Prerequisites
Python must be installed system-wide. See instructions for your operating system here.
You will also need to register an application in the Discord Developer Portal, you can find instructions for that here.
Bot setup instructions
-
Clone this repository:
git clone https://git.greyweather.dev/greyweather/discord-ledger-bot.git -
Enter the directory
cd discord-ledger-bot -
Create a virtual environment
python -m venv . -
Install the required libraries
./bin/pip install discord dotenv datetime -
Set your Discord application token
echo "TOKEN='my-token-here'" > .envOr add a line reading
TOKEN='my-token-here'to a file named ".env" using a text editor of your choosing (must be next to your "main.py" file) -
Run the script
./bin/python main.py
Languages
Python
100%