Small bot made for Discord guild "Crue-11 Raise"
http://discord.gg/Ngr53GxaJd
classes | ||
cogs | ||
locale | ||
migrations | ||
modules | ||
validation | ||
.gitignore | ||
.renovaterc | ||
config_example.json | ||
LICENSE | ||
main.py | ||
migrate.py | ||
README.md | ||
requirements.txt |
GloryBot
Discord bot based on Pycord and LibBotUniversal that provides interesting captcha for your server.
Requirements
- MongoDB
- Python 3.8+ (3.11 is recommended)
- Git (when installing from source)
Installation
There are two kinds of installation supported. Stable one is basically a stable release that you can download and use. Upgrades will need some more complicated actions on your side. The source one provides you with easier code management, yet is meant to be used by more advanced users.
Stable
- Install all requirements except for Git
- Go to Releases and download the stable release of your choice
- Unpack the archive somewhere you like (
/opt/GloryBot
on Linux orC:\Program Files\GloryBot
on Windows will do) - Open the terminal in project's folder and create a virtual environment:
python -m venv .venv
- Activate the virtual environment:
.venv/bin/activate
on Linux and.venv\Scripts\activate.bat
on Windows - Install all requirements:
pip install requirements.txt
- Create a config file by copying the
config_example.json
toconfig.json
:cp config_example.json config.json
- Configure the bot's
config.json
using your favorite text editor - Run the bot:
python main.py
From source
- Install all requirements
- Go to the directory of your liking and open a terminal there: For example,
/opt
on Linux orC:\Program Files
on Windows - Clone the repository:
git clone https://git.end-play.xyz/VA-11_Hall-A/GloryBot.git
- Change directory to the cloned project:
cd GloryBot
- Open the terminal in project's folder and create a virtual environment:
python -m venv .venv
- Activate the virtual environment:
.venv/bin/activate
on Linux and.venv\Scripts\activate.bat
on Windows - Install all requirements:
pip install requirements.txt
- Create a config file by copying the
config_example.json
toconfig.json
:cp config_example.json config.json
- Configure the bot's
config.json
using your favorite text editor - Run the bot:
python main.py
Upgrading
To-Do
Creating a service
To-Do