JadynHax / IdleRPG

The place where the IdleRPG Discord Bot is developed at.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IdleRPG

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.

Current goals

  1. Work on a total rewrite for v3.4
  2. Add all features from Travitia in v5
  3. Multiprocess
  4. 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

Can I selfhost?

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.

How do I test my changes?

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.

Code style

IdleRPG uses black for code style. Please always run black . before submitting a pull request.

About

The place where the IdleRPG Discord Bot is developed at.


Languages

Language:Python 100.0%