Commit graph

244 commits

Author SHA1 Message Date
roblabla 6760508e99 Unpin old pins if we have more than 50 2019-03-03 14:51:40 +01:00
roblabla 4deb40b67c Implement unpin command 2019-03-03 14:51:23 +01:00
roblabla 1fe7e21986 Implement gist-based pinboard - creates a gist for each channel that allows user pins 2019-03-03 14:29:46 +01:00
roblabla 4e0e26b1f9 Add invite correlation system 2019-03-03 00:45:48 +01:00
Ave Ozkal bd347e7f3c
don't autoload mod_watch 2019-03-02 21:02:58 +03:00
Ave Ozkal 4734df7b48
Various improvements 2019-03-02 21:00:55 +03:00
Ave accace3b14
Merge pull request #25 from noirscape/cog-fixes
This implements the latest breaking changes to cogs from d.py rewrite.
2019-03-01 06:51:49 +00:00
Robin Lambertz 3400b94c7c Generic changes (#26)
* Make lockdown configuration more generic

* pin: Add reaction pinning functionality
2019-03-01 07:07:47 +01: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 4a762bbafd
Fix up 0x0 a bit? 2019-02-27 10:44:01 +03:00
Ave Ozkal d49c9313d5
invitespy: don't hardcode, part 2 2019-02-26 16:11:52 +03:00
Ave Ozkal 5a798d5bf4
invitespy: don't hardcode channel id 2019-02-26 16:11:06 +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 f7b8dee6cd
Extend 0x0 2019-02-26 15:31:33 +03:00
Ave Ozkal 19a0bffbc0
Add 0x0 errorcode 2019-02-26 15:28:07 +03:00
Ave Ozkal 2a6b9f24e5
Make config template clearer
Sorry for not doing it earlier, cc #11
2019-02-26 15:21:33 +03:00
Ave Ozkal 64ed4dc19e
verification: %2 chance to act more human 2019-02-26 14:49:18 +03:00
Ave Ozkal 66e78f41dd
verification: more! snark! 2019-02-25 13:09:18 +03:00
Ave Ozkal 84bb388906
verification: cleaner snark 2019-02-25 12:28:37 +03:00
Ave Ozkal e0bbc17a14
verification: advanced snarkification 2019-02-25 12:21:31 +03:00
Ave Ozkal 8d0e87ff40
verification: add pebkac snark 2019-02-25 12:19:12 +03:00
Ave Ozkal 7629952d6f
verification: ave can't to await 2019-02-25 12:17:35 +03:00
Ave Ozkal 59ea02d2cf
verification: bad bot. 2019-02-25 12:16:26 +03:00
Ave Ozkal 07dc7587f5
warn: Include auto-ban/kicks in modlog 2019-02-25 12:10:06 +03:00
noahc3 ce87b240cf Update sdsetup guide links (#20) 2019-02-25 08:24:17 +01:00
Ave 348f6d8b83
Merge pull request #19 from leo60228/master
Add ™ symbol in title of ReSwitched Silver™ embed
2019-02-23 22:01:44 +00:00
leo60228 62beb143f1
Use image instead of thumbnail 2019-02-23 16:54:11 -05:00
leo60228 ae83ceffd0
Add ™ symbol in title of ReSwitched Silver™ embed 2019-02-23 16:16:55 -05:00
Ave 2d3a2a445a
Merge pull request #18 from leo60228/master
Add ReSwitched Silver™
2019-02-23 21:14:26 +00:00
leo60228 811e383134
Use embed for ReSwitched Silver™ 2019-02-23 16:13:00 -05:00
leo60228 db9cb40b77
Add Reswitched Silver™ 2019-02-22 16:56:14 -05: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 4164786b40
Merge pull request #16 from sirocyl/patch-2
Add sha256 + windows newlines check to welcome processing.
2019-02-21 07:49:00 +00:00
Tyler True 46fa205d93
Add windows newlines to allowed/close names.
... and Mac OS Classic? Who knows, someone might be using it still. [ ͡° ͜ᔦ ͡°]
2019-02-21 02:22:11 -05:00
Tyler True 2e41a8aa3e
Add sha256 verification to welcome processing.
Works the same as the md5 "not using the right process." codepath.
Could surely be optimized to be checked alongside md5 and return the same message.
2019-02-21 02:03:35 -05:00
Ave Ozkal 319a97b77f
Revert "guide: add back noirscape's guide"
This reverts commit 9a2fbb2f89.
2019-02-21 02:20:23 +03:00
Ave Ozkal 9a2fbb2f89
guide: add back noirscape's guide 2019-02-21 02:18:44 +03:00
Ave Ozkal 4ee1fbd7e8
lockdown: gae -> age 2019-02-21 01:21:40 +03:00
Ave Ozkal 807dd882af
lockdown: reduce code repetition 2019-02-21 01:20:03 +03:00
Ave Ozkal f2e210b9e3
lockdown: https://elixi.re/i/ohha7362.mp4 (fixes overrides - hopefully) 2019-02-21 01:14:15 +03:00
tomGER e66a178b11
Update err.py 2019-02-20 13:11:55 +01:00