Villager-Bot
Villager-Bot copied to clipboard
The code behind Villager Bot, a multipurpose Minecraft-themed Discord bot
trafficstars
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 cloneVillager Bot, andcdinto theVillager-Botdirectory.- create a PostgreSQL database, and execute the contents of
setup.sqlto create the necessary tables. - make a new file called
secrets.jsonand fill in the fields based off thesecrets.example.jsonfile 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.jsonis1 - 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 buildand to rundocker compose up