7a64e334d20d17c484644351fe46e0cc451c008a
HoloBot Discord
Small Discord bot made on Py-Cord
Installation from release
- Install MongoDB using the official installation manual
- Install Python 3.9+ (3.11+ is recommended)
- Download the latest release's archive
- Extract the archive
- Navigate to the extracted folder and subfolder
Discordin it - Create a virtual environment:
python -m venv .venvorvirtualenv .venv - Activate the virtual environment:
Windows:.venv\Scripts\activate.bat
Linux/macOS:.venv/bin/activate - Install dependencies:
python -m pip install -r requirements.txt - Run the bot with
python main.pyafter completing the configuration
Installation with Git
- Install MongoDB using the official installation manual
- Install Python 3.9+ (3.11+ is recommended)
- Clone the repository:
git clone https://git.end-play.xyz/HoloUA/Discord.git cd Discord- Install dependencies:
python -m pip install -r requirements.txt - Run the bot with
python main.pyafter completing the configuration
Configuration
There's a file config_example.json which contains default configuration
and should be used as a base config.
Copy this file to config.json and open it with any text editor of your liking.
Modify the newly created configuration file to fit your needs.
Mandatory keys to modify:
- guild
- bot.owner
- bot.bot_token
- database.*
- categories.*
- channels.*
- roles.*
After all of that you're good to go! Happy using :)
Docker [Experimental]
As an experiment, Docker deployment option has been added.
Building the image
git clone https://git.end-play.xyz/HoloUA/Discord.gitcd Discorddocker build -t holoua-discord .
Starting the bot
- Install MongoDB using the official installation manual
- Download the configuration example file and store it somewhere you would like your bot to access it
- Complete the configuration step for this file
docker run -d -v /path/to/config.json:/app/config.json holoua-discord
v0.4.0
Latest
Languages
Python
98.9%
Dockerfile
1.1%