Villager-Bot
Villager-Bot copied to clipboard
The code behind Villager Bot, a multipurpose Minecraft-themed Discord bot
Villager Bot
Notable Features
- Ability to generate Minecraft pixel art from images sent in the chat
- Ability to ping / check the status of any Minecraft server
- Expansive economy system (based upon emeralds obviously!)
- Multi-language support! (English, Español, Français, Português)
- Tons of customization and configuration options
Support / Contact Information
- Discord Support Server
- Discord Username:
Iapetus11#6821
Privacy Policy
Technologies
- discord.py
- Cython
- OpenCV + Numpy
- websockets
Contributing
Issues / Bugs
If a bug or unintended behavior is discovered, please report it by creating an issue here or by reporting it in the #bug-smasher channel on the support server.
Development
If you'd like to contribute code to Villager Bot, then please fork the repository and make any necessary changes there. Then, make a pull request and it will be reviewed. Please read the contribution guidelines before making changes.
Setting up Villager Bot
-
git clone
Villager Bot, andcd
into theVillager-Bot
directory. - create a PostgreSQL database, and execute the contents of
setup.sql
to create the necessary tables. - make a new file called
secrets.json
and fill in the fields based off thesecrets.example.json
file for bothbot/
andkaren/
- use poetry to install the required dependencies with
poetry install
.
Running Villager Bot
- Make sure the specified cluster count in
karen/secrets.json
is1
- Run Karen with
poetry run py -m karen
(orpoetry run python3 ...
if not on windows) - Run a bot cluster with
poetry run py -m bot
(orpoetry run python3 ...
if not on windows)
- Running with Docker is also possible, but requires a .env file based off the .env.example to be created. Then to build run
docker compose build
and to rundocker compose up