Discord bot for setting up games in a small Valorant league I have with my friends.
python
3.8.7 (as of the last commit on 2/6/21)pip
virtualenv
This section is only necessary once to add the bot to your server.
[python -m venv env](https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/)
in the root folder (the top-level second-strike-bot
one). This will create a new env
directoryactivate
script in this newly created directory to create an isolated virtual development environment
.\env\Scripts\activate
source env/bin/activate
pip install -r requirements.txt
.env
in the root folderDISCORD_TOKEN=token_from_step_0.1_here
DISCORD_GUILD="Your Server Name Here"
(with the quotes)Branch per feature with codeowner reviews.
Linting: black <path/to/second_strike_bot>
With your virtual environment activated, simply run the bot.py
file (python second-strike-bot\second_strike_bot\bot.py
). You should see your bot come online. Keep in mind that you need to be running the script in order for the bot to function. AWS EC2 or a Raspberry Pi would let you run this 24/7.
All you need to do is send a /setup
command in a text channel and follow the messages/instructions from there. Here's an example text/voice channel setup:
This project is licensed under the Apache License - see the LICENSE file for details