From 37f30f4e3176de357ba25b0d18637c52e4b540ad Mon Sep 17 00:00:00 2001 From: Alex Ott <66271487+AlexanderHOtt@users.noreply.github.com> Date: Fri, 30 Dec 2022 17:34:09 -0800 Subject: [PATCH] update readme --- discord-bot/README.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/discord-bot/README.md b/discord-bot/README.md index f8b9e433..1ff47c31 100644 --- a/discord-bot/README.md +++ b/discord-bot/README.md @@ -14,7 +14,7 @@ If you are unfamiliar with `hikari`, `lightbulb`, or `miru`, please refer to the To run the bot -``` +```bash cp .env.example .env python -V # 3.10 @@ -25,10 +25,17 @@ python -m bot Before you push, make sure the `pre-commit` hooks are installed and run successfully. -``` +```bash pip install pre-commit pre-commit install -pre-commit run --all-files + +... + +git add . +git commit -m "" +# if the pre-commit fails +git add . +git commit -m "" ``` To test the bot on your own discord server you need to register a discord application at the [Discord Developer Portal](https://discord.com/developers/applications) and get at bot token.