Almeida
92dfbca362
feat: add thread_create and thread_delete automod triggers ( #272 )
...
Co-authored-by: metal <admin@metalruller.com>
2021-10-31 17:21:53 +02:00
Dragory
bb94d77143
feat: add env var to enable profiling
2021-10-28 17:11:56 +03:00
Dragory
151a5df4af
feat(automod): add affects_self option for rules
2021-10-17 08:15:30 +03:00
Dragory
f582640e8e
debug: more profiling for Automod
2021-10-05 23:54:58 +03:00
Dragory
53d7491c1b
debug: re-enable Automod with extra profiling
2021-10-05 23:49:00 +03:00
Dragory
5e25792734
fix(automod): always break triggerLoop on match, even if allow_further_rules is enabled
2021-10-05 21:11:41 +03:00
Dragory
c0c73751c9
feat: add more detailed automod profiling
2021-10-05 21:09:03 +03:00
Dragory
ac79eb09f5
Reformat all files with Prettier
2021-09-11 19:06:51 +03:00
Dragory
497d334b15
Fix channel/category/thread matching for threads in Automod overrides
2021-09-05 20:58:50 +03:00
Almeida
86143e7031
Don't match video embed descriptions ( #256 )
2021-09-04 19:23:31 +03:00
Dragory
b336e8b5f4
Don't apply Automod on Zeppelin itself
2021-08-21 00:39:50 +03:00
Dragory
0e7cf9715f
Thread fixes
2021-08-18 20:47:24 +03:00
Dragory
bed6589d48
Typed log functions + more
2021-08-18 01:51:42 +03:00
Almeida
28f4fc01c0
removed leftover console.log
2021-08-14 15:05:10 +01:00
Almeida
eb61b5a653
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
Dark
c932269b7d
DJS Update, Full Import Cleanup
2021-07-25 14:32:08 +02:00
Dark
acb4913495
More fixes, change rest of stripObjectToScalars to configAccessibleObj
2021-07-21 22:14:09 +02:00
Dark
d2dd103175
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
dda19de6e6
Fix various bugs, update djs
2021-07-04 23:14:12 +02:00
Dark
0822fc15e5
Type fixes for djs
2021-06-30 04:56:56 +02:00
Dark
5efdf5ce95
Formatting and initial ButtonRoles DB work
2021-06-08 02:23:30 +02:00
Dark
6ac9d2f2a2
Organise all imports, make Mutes depend on Logs
2021-06-06 23:51:32 +02:00
Dark
d0a1beb809
Finish preliminary rework, ready to test
2021-06-02 04:07:50 +02:00
Dark
52839cc9f3
More rework progress, remove all eris imports
2021-06-01 02:05:55 +02:00
Dragory
f6be4f4af6
Update to Knub30.0.0-beta.37 and Eris 0.15, first pass
2021-05-23 14:35:16 +03:00
Dragory
2e5224124f
Improve antiraid trigger automod logs
2021-04-02 19:50:37 +03:00
Dragory
3afc95c858
Fix antiraid_level automod trigger not being available
2021-04-02 19:47:30 +03:00
Dragory
acfbb19b3f
automod: if a rule is on cooldown, allow rules after it to trigger
2021-04-02 18:00:11 +03:00
Dragory
4f66f004d5
automod: fix cooldowns applying across rules
2021-04-02 17:59:41 +03:00
Dragory
b28186aa0a
automod: add antiraid_level trigger
2021-04-02 17:53:16 +03:00
Dragory
c3407e2d5d
Counters v0.9
...
Includes automod trigger/action. No user-facing commands yet.
2021-02-13 17:29:10 +02:00
Dragory
629002b8d9
Turn on strict TS compilation. Fix up and tweak types accordingly.
2020-11-09 20:03:57 +02:00
Dragory
3aada93a80
Add sticker_spam automod trigger
2020-10-16 02:01:07 +03:00
Dragory
2f470dc37a
Update to new Knub 30 beta. Code clean-up.
2020-10-01 01:43:38 +03:00
Dragory
205f7721ea
automod: treat unknown users as bots
...
Primarily because of webhooks that don't have a real user
associated with them.
2020-09-17 22:17:39 +03:00
Dragory
4c7a51f586
automod: add role_added and role_removed triggers
2020-08-10 02:22:39 +03:00
Dragory
2e9e47ac83
Fix up some automod context objects/types
2020-08-02 16:11:42 +03:00
Dragory
6caf7b1304
automod: fix spam filters counting edits multiple times
2020-08-02 03:23:12 +03:00
Dragory
80fb9d7b6b
automod: tweaks/fixes to spam detection
2020-07-30 22:47:33 +03:00
Dragory
2a08e70087
automod: fix crash, improve user id detection
2020-07-30 13:45:42 +03:00
Dragory
7fb7787583
automod: add cooldown support
2020-07-30 01:54:18 +03:00
Dragory
ae97a5dded
automod: add default configs for actions
2020-07-30 01:45:14 +03:00
Dragory
e55a1e3bd6
automod: don't generate summary if doing a silentClean
2020-07-29 22:54:26 +03:00
Dragory
63b77d1aaf
automod: create archives for matched spam
2020-07-29 22:42:31 +03:00
Dragory
b73c8668e3
automod: update match summaries for match_* triggers
2020-07-29 22:42:17 +03:00
Dragory
a3f423a1d6
Don't run actions set to 'null' or 'false'
2020-07-28 21:53:01 +03:00
Dragory
07da88b7cb
More Automod updates
2020-07-28 21:51:58 +03:00
Dragory
86023877a2
Automod actions + ModActions public interface
2020-07-28 21:34:01 +03:00
Dragory
0f0728bc1c
Automod work vol 3
2020-07-27 22:19:34 +03:00
Dragory
0e9f65e0d5
Automod work vol 2
2020-07-27 21:51:03 +03:00