ryuko-ng/README.md

90 lines
3.1 KiB
Markdown
Raw Normal View History

# Robocop-ng
2018-12-26 11:32:57 +00:00
Next-gen rewrite of Kurisu/Robocop bot used on ReSwitched bot with discord.py rewrite, designed to be clean, fast and un-bloated.
2018-12-26 11:32:57 +00:00
Code is based on https://gitlab.com/ao/dpybotbase and https://github.com/916253/Kurisu-Reswitched.
2018-03-08 22:47:53 +00:00
2018-03-08 23:03:45 +00:00
2018-12-26 11:32:57 +00:00
---
## How to run
- Copy `config.py.template` to `config.py`, configure all necessary parts to your server.
- Install python3.6+.
- Install python dependencies (`pip3 install -Ur requirements.txt`, you might need to put `sudo -H` before that)
- Run `Robocop.py` (`python3 Robocop.py`)
To keep the bot running, you might want to use pm2 or a systemd service.
2018-03-08 23:03:45 +00:00
---
## TODO
ALL FEATURES OF KURISU/ROBOCOP USED IN RESWITCHED ARE NOW SUPPORTED!
2018-12-26 11:32:57 +00:00
<details>
<summary>List of added kurisu/robocop features</summary>
<p>
2018-12-23 13:13:39 +00:00
- [x] .py configs
- [x] membercount command
2018-12-23 20:50:05 +00:00
- [x] Meme commands and pegaswitch (honestly the easiest part)
- [x] source command
- [x] robocop command
- [x] Verification: Actual verification system
2018-12-23 16:31:12 +00:00
- [x] Verification: Reset command
2018-12-23 19:03:40 +00:00
- [x] Logging: joins
- [x] Logging: leaves
- [x] Logging: role changes
- [x] Logging: bans
- [x] Logging: kicks
2018-12-26 11:32:57 +00:00
- [x] Moderation: speak
- [x] Moderation: ban
2018-12-23 15:44:16 +00:00
- [x] Moderation: silentban
- [x] Moderation: kick
2018-12-23 15:07:59 +00:00
- [x] Moderation: userinfo
2018-12-23 19:32:48 +00:00
- [x] Moderation: approve-revoke (community)
- [x] Moderation: addhacker-removehacker (hacker)
- [x] Moderation: probate-unprobate (participant)
2018-12-23 20:33:03 +00:00
- [x] Moderation: lock-softlock-unlock (channel lockdown)
2018-12-23 20:50:05 +00:00
- [x] Moderation: mute-unmute
- [x] Moderation: playing
2018-12-23 17:56:27 +00:00
- [x] Moderation: botnickname
- [x] Moderation: nickname
2018-12-23 20:59:08 +00:00
- [x] Moderation: clear/purge
- [x] Moderation: restrictions (people who leave with muted role will get muted role on join)
2018-12-23 22:11:01 +00:00
- [x] Warns: warn
2018-12-23 22:36:36 +00:00
- [x] Warns: listwarns-listwarnsid
2018-12-23 23:25:30 +00:00
- [x] Warns: clearwarns-clearwarnsid
- [x] Warns: delwarnid-delwarn
2018-12-23 20:50:05 +00:00
- [x] .serr and .err (thanks tomger!)
2018-12-26 11:32:57 +00:00
</p>
</details>
2018-12-23 20:36:30 +00:00
---
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:
2018-12-26 11:32:57 +00:00
- [x] Better security, better checks and better guild whitelisting
2018-12-23 20:36:30 +00:00
- [ ] New verification feature: Using log module from akbbot for logging attempts and removing old attempts
- [ ] New moderation feature: mutetime (mute with time)
2018-12-26 11:32:57 +00:00
- [ ] New feature: Highlights (problematic words automatically get posted to modmail channel)
2018-12-23 20:36:30 +00:00
- [ ] New feature: Modmail
- [ ] New feature: Submiterr
2018-12-23 22:11:01 +00:00
- [ ] New moderation feature: Display of mutes on listwarns
2018-12-23 20:36:30 +00:00
- [ ] New moderation feature: User notes
- [ ] New moderation feature: watch-unwatch (using log module from akbbot)
- [ ] New moderation feature: timelock (channel lockdown with time)
2018-12-26 11:32:57 +00:00
- [x] New moderation feature: Reaction removing features (thanks misson20000!)
- [x] New moderation feature: User nickname change
- [x] New self-moderation feature: .mywarns
2018-12-23 23:25:30 +00:00
- [x] Remove sh, remove risky stuff from eval
2018-12-26 11:32:57 +00:00
---
## Thanks to
- ReSwitched community, for being amazing
- ihaveamac and f916253 for the original kurisu/robocop
- tomGER for working hard on rewriting the .err/.serr commands, those were a nightmare
- misson20000 for adding in reaction removal feature and putting up with my many BS requests on PR reviews