2026-05-28 12:42:51 +01:00
2026-05-25 11:37:42 +01:00
2026-05-25 11:30:50 +01:00
2026-05-28 12:42:51 +01:00

discord-ledger-bot

Prerequisites

Python and Git must both 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

  1. Clone this repository:

    git clone https://git.greyweather.dev/greyweather/discord-ledger-bot.git
    
  2. Enter the directory

    cd discord-ledger-bot
    
  3. Create a virtual environment

    python -m venv .
    
  4. Install the required libraries

    ./bin/pip install discord dotenv datetime
    
  5. Set your Discord application token

    echo "TOKEN='my-token-here'" > .env
    

    Or 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)

  6. Run the script

    ./bin/python main.py
    
S
Description
No description provided
Readme
54 KiB
Languages
Python 100%