noirscape
b9255215c1
This implements the latest breaking changes to cogs from d.py rewrite.
...
They're all syntax changes and renames. I've checked twice to make sure
I didn't miss any listeners or classes.
For future reference:
- Do `from discord.ext.commands import Cog` in all new cogs.
- Subclass the new class to Cog.
- New listeners should get the `@Cog.listener()` decorator.
Conveniently, there weren't any pre-execution methods that have been
renamed.
2019-02-28 23:10:30 +01:00
Ave Ozkal
07dc7587f5
warn: Include auto-ban/kicks in modlog
2019-02-25 12:10:06 +03:00
Ave Ozkal
0384f0aad9
Revert "push local changes and hope that nothing breaks"
...
This reverts commit e85ecd41e5
.
IT BROKE EVERYTHING
2019-02-22 20:09:58 +03:00
Ave Ozkal
e85ecd41e5
push local changes and hope that nothing breaks
2019-02-22 04:10:52 +03:00
Ave Ozkal
f6302f710c
setguildicon: make filename grabbing slightly more reliable
2019-02-20 14:33:29 +03:00
Ave Ozkal
16ae2615bb
setguildicon: Fix logging
2019-02-20 14:32:19 +03:00
Ave Ozkal
6e64367efa
setguildicon: add
2019-02-20 14:21:50 +03:00
Ave Ozkal
df82e6268d
Add a new type of log channels: modlog
2019-02-05 01:54:40 +03:00
Ave Ozkal
297a3156bf
userinfo: Show userlog embed also
...
Also: move things around a bit
2019-01-15 04:48:23 +03:00
Ave Ozkal
3af2f18d6e
hackban: Fix softban alias
2019-01-13 16:33:35 +03:00
Ave Ozkal
48a22c5fa8
Push some stuff I forgot to push
2019-01-07 11:49:19 +03:00
Ave Ozkal
d9776ecba9
Robocronp: Add robocronp and some timed commands
...
- Added: .timemute
- Added: .timeban
- Added: .listjobs
- Added: .deletejob
- Many bugfixes are also included~
You'll need to restart your copy of robocop-ng after pulling this.
2018-12-28 00:36:18 +03:00
Ave Ozkal
77f43caca9
Restrictions: Significantly clean up code
2018-12-27 14:56:13 +03:00
Ave Ozkal
6a8819a2a8
Massive cleanup of code, many new features
...
- added logging and listing of kick/ban/mute events
- add usernotes (.note to add a note to a user, .notes to fetch them)
- split off mod.py into many files, cleanup on many features
- renamed .listwarns to .userlog
- renamed .mywarns to .myuserlog
2018-12-27 13:56:24 +03:00
Ave Ozkal
2b50f56fe7
restrictions: Don't rely on role names, use role ids instead
2018-12-27 12:10:29 +03:00
Ave Ozkal
338aa80c58
Move checks and errcodes to a new folder called helpers
2018-12-26 14:36:55 +03:00
misson20000
6237ac9e8c
fix += formatting
2018-12-26 02:55:59 -08:00
misson20000
687a26105d
formatting fixes and fix for custom emojis
2018-12-26 02:47:32 -08:00
misson20000
7fecf73ff0
add clearreacts commands
2018-12-26 01:45:00 -08:00
Ave Ozkal
5dbe7a43f7
Add .mywarns
2018-12-26 11:18:11 +03:00
Ave Ozkal
fef08b1dbf
Collect checks into a single file to reduce code repetition
2018-12-26 10:55:42 +03:00
Ave Ozkal
b35765d296
Fix .help in DMs, make Robocop call you out when your DMs are blocked
...
Also limit membercount to guilds
2018-12-26 10:48:41 +03:00
Ave Ozkal
d38b1a8065
speak: add
2018-12-25 14:43:23 +03:00
Ave Ozkal
5eac0b1a81
Fix hackban further
2018-12-25 14:40:04 +03:00
Ave Ozkal
b78544a4fb
Fix hackban
2018-12-25 14:33:49 +03:00
Ave Ozkal
eebcfea2f5
Fix ban issues
2018-12-25 14:13:02 +03:00
Ave Ozkal
b6f8af6d53
Remove hedge mention
2018-12-24 11:41:28 +03:00
Ave Ozkal
82390d8dfb
mod: Give priority to hedge
2018-12-24 11:40:36 +03:00
Ave Ozkal
3e86b8d519
mod: Hedge-proof the code
2018-12-24 11:26:19 +03:00
Ave Ozkal
27c991f0af
reset: bugfix
2018-12-24 03:18:40 +03:00
Ave Ozkal
7aa19fae41
restrictions: implement
...
This means that we have achieved feature parity with robocop.
2018-12-24 02:53:14 +03:00
Ave Ozkal
7f459ba30a
delwarn/delwarnid: add
...
This concludes the kurisu rewrite, other than restrictions.
2018-12-24 02:41:25 +03:00
Ave Ozkal
a683426913
clearwarns/clearwarnsid: added
2018-12-24 02:25:30 +03:00
Ave Ozkal
8022dec4d4
listwarns/listwarnsid: add
2018-12-24 01:36:36 +03:00
Ave Ozkal
9fba7b3075
warn: add
2018-12-24 01:11:01 +03:00
Ave Ozkal
93a5354761
purge: add
2018-12-23 23:59:08 +03:00
Ave Ozkal
15bb78a252
mute/unmute: added
2018-12-23 23:50:05 +03:00
Ave Ozkal
178bd55a6e
english hot-fixes
2018-12-23 23:01:43 +03:00
Ave Ozkal
8c32a99f3d
approve/revoke/addhacker/removehacker/probate/unprobate: Re-make and
...
combine commands
2018-12-23 22:59:42 +03:00
Ave Ozkal
5fc612710c
Approve/revoke: added
2018-12-23 22:32:48 +03:00
Ave Ozkal
f06b8b8cb5
logging: Add logging!
2018-12-23 22:03:40 +03:00
Ave Ozkal
a5a5a2f876
botnickname/nickname: added
2018-12-23 20:56:27 +03:00
Ave Ozkal
5d54ac7aec
playing: Add playing
...
Also this commit includes DRAM optimization (aka I sneakily cleaned
tomGER's code a bit)~
2018-12-23 20:36:40 +03:00
Ave Ozkal
6f03367527
Admin/Mod: limit all checked commands to guilds
2018-12-23 18:47:47 +03:00
Ave Ozkal
ca9c4e063d
ban/kick: fix them, and add silentban
2018-12-23 18:44:16 +03:00
Ave Ozkal
0c9352fe33
Add ban and kick
...
Also, message escaping stuffs were added to common and meme was updated
accordingly
2018-12-23 18:33:59 +03:00
Ave Ozkal
b787589ef7
Add userinfo, extend TODO
2018-12-23 18:07:59 +03:00