Ave Ozkal
b041a47c3d
unban: add unban
2020-05-17 23:40:23 +03:00
Jan
9f53bcca4e
Merge branch 'master' into formatting-edit
2020-04-21 12:59:33 +02:00
Jan200101
19408cd163
use before_ and after_content where they were intended to be used
2020-04-21 12:58:17 +02:00
Ave Ozkal
fd845ecb40
Do a black pass and add black to contributing guidelines
...
FORK MAINTAINERS: I'm so, so sorry, but this was planned since forever.
If you need help integrating this, feel free to contact me.
2020-04-21 01:05:32 +03:00
Thog
95dd28d7a6
logs: Make suspect words configurable
...
This commit move the hardcoded suspect words to the configuration.
2020-04-09 20:54:27 +02:00
Thog
06c5c63a6f
logs: fix on_member_join crash
2020-04-08 20:16:08 +02:00
Ave Ozkal
c05811e8f4
Add new highlight word
2020-03-26 10:22:27 +03:00
Ave (High Sec Drive)
d056752e98
logs: Only allow events from whitelsited guilds
2019-12-27 16:43:47 +01:00
Jan200101
623f841faa
replace codeblock and insert zero width joiner next to stray backticks
...
- replace simple codeblocks (`) with multiline codeblocks (```)
- add a zero width joiner (U+200D) after every backtick in the message content effectively canceling any formatting done by it
Should fix #17
2019-10-22 00:12:09 +02:00
Ave Ozkal
d97f948e9b
:)
2019-10-07 10:19:01 +03:00
/u/leo60228
6ca7516312
Add "cracked" to susp_words
2019-06-19 19:44:04 -04:00
Ave Ozkal
319385f100
Log invite code instead of invite link (untested)
2019-04-24 12:03:57 +03:00
Ave Ozkal
170116a641
Align text (it bugs me)
...
Literal, medical autism 👌
2019-04-24 10:50:46 +03:00
結城イヴ
cb550be447
Revert previous commit
...
Discord ignores escapes, code blocks, even removing the http header and still shows the invite embed
2019-03-19 02:36:49 -04:00
結城イヴ
8b01f24058
Escape invite link used
...
Prevents embed spam for every member join
2019-03-19 02:14:23 -04:00
Ave Ozkal
05f66e71ff
logs-spy: don't lowercase invite URLs
2019-03-06 00:55:06 +03:00
Ave Ozkal
921ab28190
logs-spy: ignore messages by staff
2019-03-05 20:33:19 +03:00
Ave Ozkal
befa18c4de
logs-spy: don't ignore space when cleaning
2019-03-05 20:30:55 +03:00
Ave Ozkal
9d9c8d2104
logs: reduce spam
2019-03-04 19:34:28 +03:00
Ave Ozkal
e6f7143405
logs: ignore cases on hellgex
2019-03-03 22:41:06 +03:00
Ave Ozkal
a3514c3f9a
logs: highlight bad words
2019-03-03 22:39:06 +03:00
Ave Ozkal
841fe43104
logs: document susp words
2019-03-03 21:08:46 +03:00
Ave Ozkal
374b1e8437
Embed messages that are spied on
2019-03-03 21:02:08 +03:00
Ave
e984551966
Merge pull request #27 from roblabla/switchroot
...
Add invite correlation system
2019-03-03 14:43:57 +00:00
roblabla
2ccc10174d
Fix style in invites.py and logs.py
2019-03-03 15:12:30 +01:00
The Dax
755bd3c370
rei -> reinx
2019-03-02 20:58:44 -05: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