3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-25 18:25:03 +00:00
Commit graph

182 commits

Author SHA1 Message Date
Dragory
436a766d31 chore: clean up unnecessary cache.get ?? fetch 2021-10-17 19:56:04 +03:00
Dragory
29d87c2ee8 fix(automod): fetch message user/member if missing from cache 2021-10-17 19:52:56 +03:00
Dragory
4647e22224 feat(automod): add affects_self option for rules 2021-10-17 08:15:30 +03:00
Dragory
5e371b1656 perf(automod): also merge regexes in match_links, match_words 2021-10-17 08:03:38 +03:00
Dragory
eeea48170a perf: merge regexes in match_regex trigger while taking backreferences into account 2021-10-09 12:50:47 +03:00
Dragory
dfa5ef69f4 debug: more profiling for Automod 2021-10-05 23:54:58 +03:00
Dragory
ebd18e5374 debug: re-enable Automod with extra profiling 2021-10-05 23:49:00 +03:00
Dragory
2fa817d27a debug: enable MessageSaver, disable Automod, re-enable slow query logs 2021-10-05 23:28:16 +03:00
Dragory
578e1fbf38 fix: revert regex batching 2021-10-05 22:10:56 +03:00
Dragory
0125c87cce debug+ 2021-10-05 21:51:29 +03:00
Dragory
4800fa2f15 fix(automod): fix empty patterns list in match_regex matching every message 2021-10-05 21:48:02 +03:00
Dragory
2e38a81d4f perf(automod): bundle automod regex patterns for potentially increased performance 2021-10-05 21:30:35 +03:00
Dragory
085918cb29 fix(automod): always break triggerLoop on match, even if allow_further_rules is enabled 2021-10-05 21:11:41 +03:00
Dragory
52b0731784 feat: add more detailed automod profiling 2021-10-05 21:09:03 +03:00
Dragory
70f1d23a7e feat: upgrade to Knub v30.0.0-beta.46, add better performance profiling tools 2021-10-05 20:49:58 +03:00
Dragory
0094d88c13 Potential fix for role_added/role_removed Automod triggers triggering randomly 2021-09-11 19:24:13 +03:00
Dragory
c1c7c092d9 Reformat all files with Prettier 2021-09-11 19:06:51 +03:00
Dragory
8ff3816e83 Ignore mime type charset and other extra details in match_mime_type 2021-09-05 21:01:13 +03:00
Dragory
0684d07102 Fix channel/category/thread matching for threads in Automod overrides 2021-09-05 20:58:50 +03:00
Almeida
416e53cbc8 Rename use_inline_reply to inline (#278) 2021-09-05 17:38:03 +03:00
Almeida
b6f6f98002 Add archive_thread action to automod (#271) 2021-09-04 19:37:49 +03:00
Almeida
6f5aaa9336 Add use_inline_reply option to the Automod reply action (#269) 2021-09-04 19:37:02 +03:00
Almeida
72d5ffa4bf Don't match video embed descriptions (#256) 2021-09-04 19:23:31 +03:00
Hiroyuki
701517c235 feat(automod): MIME type trigger (#247) 2021-09-04 19:18:33 +03:00
metal
46325937c0 Logs - role change compare only role IDs instead of a collection (#264) 2021-09-04 19:15:16 +03:00
almeidx
6a0b4bfa65 fix: automod on guildMemberUpdate 2021-08-21 14:16:40 +01:00
Dragory
01fcab3262 Don't apply Automod on Zeppelin itself 2021-08-21 00:39:50 +03:00
Dragory
49fe6f9efa Fix logMessage variable not working in automod alert 2021-08-20 20:31:36 +03:00
Dragory
ffb3dc28cf Automod reply action embed fix 2021-08-19 19:54:02 +03:00
Dragory
eafd2b9e20 matchAttachmentType fix 2021-08-18 22:44:54 +03:00
Dragory
14dcbe2f9d Hotfix 6 2021-08-18 22:29:46 +03:00
Dragory
193c67c5ff You saw nothing 2021-08-18 21:08:30 +03:00
Dragory
00fc1895f7 Thread fixes 2021-08-18 20:47:24 +03:00
Dragory
a5ecf849a4 Type fixes + use template safe values for renderTemplate() everywhere 2021-08-18 20:32:45 +03:00
Dragory
c7f739fd8f Type fixes + circular dependency fix 2021-08-18 20:01:06 +03:00
Dragory
44fbd020db Fix issues with circular dependencies between plugins 2021-08-18 19:33:22 +03:00
Dragory
dd78ac0090 Typed log functions + more 2021-08-18 01:51:42 +03:00
Almeida
d95477ef95 removed leftover console.log 2021-08-14 15:05:10 +01:00
Almeida
697c31b7bb added allow_further_rules option to automod rules
This essentially makes it so you can run multiple rules at once
2021-08-14 15:05:08 +01:00
almeidx
c932333971 upgrade discord.js 2021-08-04 20:45:42 +01:00
almeidx
5569e023fd use Util methods for escaping inline code and code blocks 2021-07-29 17:35:27 +01:00
almeidx
c21e779c03 user.tag 2021-07-29 00:37:19 +01:00
almeidx
78f68f0d8a removed unnecessary non-null operator 2021-07-28 22:29:52 +01:00
Dark
63d143a0ce DJS Update, Full Import Cleanup 2021-07-25 14:32:08 +02:00
Dark
de85ba37b9 More fixes, change rest of stripObjectToScalars to configAccessibleObj 2021-07-21 22:14:09 +02:00
Dark
d24aea7c5c Start move to configAccessibleObjects, exclude perm overrides from logs
configAccessibleObjects are used to guarantee backwards compatibility and consistency.
Perm overrides from our own plugins are ignored as to not spam logs through bot managed slowmode or companion channels
2021-07-06 05:23:47 +02:00
Dark
1c7e97c785 Fix various bugs, update djs 2021-07-04 23:14:12 +02:00
Dark
6e2bd28691 Change DiscordRESTError to DiscordAPIError 2021-06-30 23:06:02 +02:00
Dark
2977363dc0 Type fixes for djs 2021-06-30 04:56:56 +02:00
Dark
0560ddf4b8 Add member_leave automod trigger
At least i think so - cant test it until knub changes are done
2021-06-17 02:30:12 +02:00