Commit graph

139 commits

Author SHA1 Message Date
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
1ad70ffe1a
Change DiscordRESTError to DiscordAPIError 2021-06-30 23:06:02 +02:00
Dark
0822fc15e5
Type fixes for djs 2021-06-30 04:56:56 +02:00
Dark
f9dd82f201
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
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
edcfd2333f
Bot now connects, lint fixes 2021-06-02 19:35:44 +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
8ab6538744
Fix antiraid_level override 2021-05-23 17:15:15 +03: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
ddaf3c98ee
Fix hide_case being required 2021-05-03 19:40:59 +03:00
Dragory
25a3350196
Add hide_case option to automod mod actions 2021-05-03 18:49:52 +03:00
Dragory
abdf54e134
Add member to the Automod context for mod action triggers 2021-04-29 02:29:23 +03:00
Dragory
ec81f63b5d
Remove leftover console.log() 2021-04-29 02:15:06 +03:00
Dragory
b541d5d087
Fix user mention not working in Automod reply action 2021-04-29 00:56:56 +03:00
Dragory
eb9cd080fd
Add allowed_mentions option to Automod alert action 2021-04-29 00:50:25 +03:00
Dragory
73f0b7e30b
Small tweaks to set_slowmode Automod action 2021-04-28 23:26:43 +03:00
Nils
dd9c52bc43
Add automod action for setting slowmode () 2021-04-28 23:18:23 +03:00
Nils
903a2369c8
Allow automod to issue tempbans () 2021-04-28 22:42:54 +03:00
Dragory
3d549b4e78
Merge branch 'master' of github.com:Dragory/ZeppelinBot 2021-04-28 22:40:02 +03:00
Dragory
45e81848a7
Add postInCaseLog option for mod action Automod actions; allow forcing case log even when log_automatic_actions is disabled 2021-04-28 22:39:49 +03:00
Nils
51db942d97
Allow Automod to distinguish whether mod actions are manual or automatic () 2021-04-28 22:06:33 +03:00
Shoaib Sajid
00f368d62b
Fix typo in automod docs () 2021-04-28 22:02:25 +03:00
Dragory
e6461d541d
Add permission checks and alerts to Automod 'reply' action 2021-04-11 14:13:25 +03:00
Dragory
ad8aab3937
Fix error when using an unknown counter from Automod 2021-04-11 13:44:48 +03:00
Dragory
186ac65924
Handle errors when sending message in automod 'alert' action 2021-04-04 22:30:21 +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
cc795c9742
Fix log_automatic_actions option not working for automod actions 2021-04-02 19:36:40 +03:00
Dragory
ab51231fef
Merge branch 'master' of github.com:Dragory/ZeppelinBot 2021-04-02 18:00:27 +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
9ac4e15573
automod: add any_message trigger 2021-04-02 17:57:04 +03:00
Dragory
b28186aa0a
automod: add antiraid_level trigger 2021-04-02 17:53:16 +03:00
Dragory
13294ad351
automod: allow setting antiraid level to null/off with set_antiraid_level action 2021-04-02 17:52:50 +03:00
Dragory
4147298120
Add counter documentation/examples. Tweak counter triggers/actions in automod.
Rename change_counter automod action to add_to_counter,
add set_counter action, rename counter trigger to counter_trigger.
2021-04-02 17:44:43 +03:00
Nils
c5d68650a3
Enforce unified lock names by using functions to generate lock keys () 2021-04-02 16:43:13 +03:00
Dragory
ab8ea2e7e5
counters: move triggers to counters plugin; architectural tweaks 2021-04-02 16:36:45 +03:00
Dragory
47adfb07eb
automod: fix {logMessage} variable in alert text 2021-02-15 00:25:20 +02:00
Dragory
6bb6dfadb9
automod: use proper locks in removeRoles action 2021-02-14 17:16:00 +02:00
Dragory
93912541b4
automod: add triggers for mod actions 2021-02-14 16:58:02 +02:00
Dragory
78ff2641d4
automod: add user/member to automod context for counters trigger 2021-02-13 21:34:47 +02:00
Nils
a13b0b6fda
Allow certain or all roles to be removed upon mute and readded on unmute () 2021-02-13 20:04:40 +02:00
Dragory
39448a4213
Remove debug console.log()s 2021-02-13 17:42:41 +02:00
Dragory
c3407e2d5d
Counters v0.9
Includes automod trigger/action. No user-facing commands yet.
2021-02-13 17:29:10 +02:00
Dragory
116c33e341
Fix crash if automod alert message fails to render 2020-12-17 03:44:42 +02:00