|
2 years ago | |
---|---|---|
cogs | 2 years ago | |
helpers | 2 years ago | |
.gitignore | 2 years ago | |
LICENSE | 3 years ago | |
README.md | 2 years ago | |
Robocop.py | 2 years ago | |
config.py.template | 2 years ago | |
requirements.txt | 2 years ago |
Next-gen rewrite of Kurisu/Robocop/Komet bot used by AtlasNX, ReSwitched and Nintendo Homebrew with discord.py rewrite, designed to be relatively clean, consistent and un-bloated.
Code is based on https://gitlab.com/ao/dpybotbase and https://github.com/916253/Kurisu-Reswitched.
config.py.template
to config.py
, configure all necessary parts to your server.pip3 install -Ur requirements.txt
, you might need to put sudo -H
before that)Tips for people moving from Kurisu/Robocop
below.Robocop.py
(python3 Robocop.py
)To keep the bot running, you might want to use pm2 or a systemd service.
If you're moving from Kurisu/Robocop, and want to preserve your data, you'll want to do the following steps:
data
folder over.data/warnsv2.json
file to data/userlog.json
.data/restrictions.json
and replace role names ("Muted"
etc) with role IDs (526500080879140874
etc). Make sure to have it as int, not as str (don't wrap role id with "
or '
).All Robocop features are now supported.
Main goal of this project is to get Robocop functionality done, secondary goal is adding new features. The following entries are secondary, less "urgent" goals:
[ ] Reduce code repetition on mod_timed.py [ ] Allow non-hour values on timed bans
the following require me to rethink some of the lockdown code, which I don't feel like
[ ] lockdown in helper [ ] timelock command [ ] working cronjob for unlock