From f1ecad2bae5c34a7b71eaf27ae9cb1c5ae571b81 Mon Sep 17 00:00:00 2001 From: Grey Jones Date: Mon, 25 May 2026 22:59:48 +0100 Subject: [PATCH] Add Bot setup instructions --- Bot-setup-instructions.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Bot-setup-instructions.md diff --git a/Bot-setup-instructions.md b/Bot-setup-instructions.md new file mode 100644 index 0000000..dd83021 --- /dev/null +++ b/Bot-setup-instructions.md @@ -0,0 +1,27 @@ +## Installation / Usage 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 + ``` \ No newline at end of file