All-in-one Discord bot for your server, completely free and open source
- Python 3.8 or higher
- A Discord bot token from Discord Developer Portal
-
Clone the repository
git clone <repository-url> cd MonoBot
-
Create a venv
Linux / Macos
python3 -m venv venv source venv/bin/activate pip install -r requirements.txtWindows
python3 -m venv venv venv/Scripts/Activate.bat pip install -r requirements.txt
-
Run the setup script
Linux / Macos
-
Create a venv
Linux / Macos
python3 -m venv venv source venv/bin/activate pip install -r requirements.txtWindows
python3 -m venv venv venv/Scripts/Activate.bat pip install -r requirements.txt
-
Run the setup script
Linux / Macos
chmod +x setup.sh ./setup.sh
This will guide you through configuring:
- Discord bot token
- Moderation role IDs
- Logging channel ID
- Counting channel ID
Windows
No setup script is currently available for windows, here are the steps to configure the bot:
-
rename the config.example folder to config \
move config.example config -
Set these values;
defaultinconfig/permissions.jsonunder moderation,loggingchannelinconfig/logging.jsonandcountingchannelinconfig/counting.json -
rename
.env.exampleto.env:move .env.example .env -
set your discord bot token in ./.env
TOKEN=your_discord_bot_token
Start the bot:
python -m src.mainAll configuration is stored in the config directory:
- permissions.json - Role IDs for moderation commands
- logging.json - Channel ID for join logs
- counting.json - Channel ID and state for counting game
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
Contributions are welcome! Please see contributing.md for guidelines.