This is the code for the IdleRPG Discord Bot.
You may submit an issue or open pull requests at any time.
The master branch is always the latest stable version. For development versions, check other branches please.
- Work on a total rewrite for v3.4
- Add all features from Travitia in v5
- Multiprocess
- Move vote handling from the Bot to our webserver
Todo in v3.4:
- Subclass context and .send to allow escaping mass-mentions by default
- Re-use the data from checks as ctx attributes
- Cleanup, remove unnecessary code, beautify
- Use custom converters instead of own handling every time
- Move battles to a backend function
- Clean up the directory structure
- Move pagination to a module
The answer is simple: No (where is the fun at hosting a big MMO your own? Cool, you got everything, but where is the fun of the global community?)
You're allowed to selfhost for testing your own changes that you will submit with a pull request later.
Note: This requires you to have Redis and Postgres working, and, depending on what you are doing, Lavalink.
git clone https://github.com/Gelbpunkt/IdleRPG
cd IdleRPG
pip3 install -r requirements.txt
mv config.py.example config.py
(edit config.py to your needs now)
(now do your changes)
python3 idlerpg.py
A systemd unit file has been bundled as idlerpg.service
.
IdleRPG uses black for code style. Please always run black .
before submitting a pull request.