Commit graph

28 commits

Author SHA1 Message Date
roblabla 2ccc10174d Fix style in invites.py and logs.py 2019-03-03 15:12:30 +01:00
roblabla 4e0e26b1f9 Add invite correlation system 2019-03-03 00:45:48 +01:00
Ave Ozkal 4734df7b48
Various improvements 2019-03-02 21:00:55 +03:00
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 2d2adfddc4
logs: one more susp entry 2019-02-27 12:10:09 +03:00
Ave Ozkal 0c89864a96
logs: turns out exefs is okay as well 2019-02-27 11:21:29 +03:00
Ave Ozkal e4bfd7daf9
logs: ok, but add ok words too 2019-02-27 11:19:12 +03:00
Ave Ozkal 7840c16172
logs: Don't hardcode name "ReSwitched" 2019-02-27 11:14:54 +03:00
Ave Ozkal 87ee51b187
logs: Add susp word checks 👀 2019-02-27 11:12:07 +03:00
Ave Ozkal 62b57f4fdb
logs: Add do_nickcheck (unused rn) 2019-02-27 11:03:45 +03:00
Ave Ozkal d49c9313d5
invitespy: don't hardcode, part 2 2019-02-26 16:11:52 +03:00
Ave Ozkal 9ac3421d52
invitespy: bugfix 2019-02-26 16:08:43 +03:00
Ave Ozkal 78bf147bdc
invitespy: bugfix 2019-02-26 16:06:38 +03:00
Ave Ozkal d246e2f6ec
Implement #22 2019-02-26 16:03:21 +03:00
Ave Ozkal dc39f42e12
logs/common: haste bugfixes 2019-02-15 01:17:34 +03:00
Ave Ozkal c5b518e9c0
log: welp I forgot to await 2019-02-15 01:14:09 +03:00
Ave Ozkal 014c915590
logs: ignore embed events, send too long edits/deletes to pastebin
Also move default pastebin server from hastebin to mystbin.
2019-02-15 01:10:47 +03:00
Ave Ozkal e779903ac1
I don't spy with my eye... bot posts 2019-02-05 23:52:09 +03:00
Ave Ozkal df82e6268d
Add a new type of log channels: modlog 2019-02-05 01:54:40 +03:00
Ave Ozkal 47a4aeb4f6
BREAKING: Add channel cleaning and deleted/edited message logging
Please update your config.py before merging this!
2019-01-29 13:51:43 +03:00
Ave Ozkal 77f43caca9
Restrictions: Significantly clean up code 2018-12-27 14:56:13 +03:00
Ave Ozkal 6dedd74e97
Fix one mention of old userlog file 2018-12-27 14:32:16 +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 fef08b1dbf
Collect checks into a single file to reduce code repetition 2018-12-26 10:55:42 +03:00
Ave Ozkal eebcfea2f5
Fix ban issues 2018-12-25 14:13:02 +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 8022dec4d4
listwarns/listwarnsid: add 2018-12-24 01:36:36 +03:00
Ave Ozkal f06b8b8cb5
logging: Add logging! 2018-12-23 22:03:40 +03:00