WARNING: NO LONGER MAINTAINED!
This is a Discord bot built using discord.py with slash commands. It can query Bonk.io API. It still is in WIP and only contains the !status
command at the moment.
- Retrieves player data based on the type specified.
- Supports the following player types: classic, arrows, grapple, custom, simple, and total.
- Responds to the
!status
slash command.
- Python 3.7 or higher
Bash
git clone https://github.com/ItsQuadrus/BonkBot.git
cd BonkBot
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
echo TOKEN=your-token-here > .env
python3 src
Windows (cmd)
git clone https://github.com/ItsQuadrus/BonkBot.git
cd BonkBot
python -m venv venv
venv\Scripts\activate.bat
pip install -r requirements.txt
echo TOKEN=your-token-here > .env
py src
- Clone the repository:
git clone https://github.com/ItsQuadrus/BonkBot.git
-
Create a virtual environment:
- Navigate to the project's directory.
- Run the following command to create a new virtual environment:
python -m venv venv
-
Activate the virtual environment:
- On Windows:
venv\Scripts\activate.bat
- On macOS/Linux:
source venv/bin/activate
- On Windows:
-
Install project dependencies:
- Run the following command to install the required packages:
pip install -r requirements.txt
- Run the following command to install the required packages:
-
Create a file named
.env
in the root directory of the project and add the following:
DISCORD_TOKEN=your-token-here
- Run the bot:
py src
- Invite the bot to your server and type
!status
.