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

138 commits

Author SHA1 Message Date
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
Dark
38a5e07be8 Formatting and initial ButtonRoles DB work 2021-06-08 02:23:30 +02:00
Dark
addb614023 Organise all imports, make Mutes depend on Logs 2021-06-06 23:51:32 +02:00
Dark
1ee016e85e Bot now connects, lint fixes 2021-06-02 19:35:44 +02:00
Dark
c99e745f89 Finish preliminary rework, ready to test 2021-06-02 04:07:50 +02:00
Dark
3883b5b749 More rework progress, remove all eris imports 2021-06-01 02:05:55 +02:00
Dragory
a8cc09c0dd Fix antiraid_level override 2021-05-23 17:15:15 +03:00
Dragory
047174fbc4 Update to Knub30.0.0-beta.37 and Eris 0.15, first pass 2021-05-23 14:35:16 +03:00
Dragory
9e1586e90e Fix hide_case being required 2021-05-03 19:40:59 +03:00
Dragory
b0fd29f098 Add hide_case option to automod mod actions 2021-05-03 18:49:52 +03:00
Dragory
1c8ba55e45 Add member to the Automod context for mod action triggers 2021-04-29 02:29:23 +03:00
Dragory
c6237b200c Remove leftover console.log() 2021-04-29 02:15:06 +03:00
Dragory
34f408833d Fix user mention not working in Automod reply action 2021-04-29 00:56:56 +03:00
Dragory
45795a1c5f Add allowed_mentions option to Automod alert action 2021-04-29 00:50:25 +03:00
Dragory
0a0646174c Small tweaks to set_slowmode Automod action 2021-04-28 23:26:43 +03:00
Nils
0715a5c927 Add automod action for setting slowmode (#167) 2021-04-28 23:18:23 +03:00
Nils
c2c3470994 Allow automod to issue tempbans (#189) 2021-04-28 22:42:54 +03:00
Dragory
cab20fa295 Merge branch 'master' of github.com:Dragory/ZeppelinBot 2021-04-28 22:40:02 +03:00
Dragory
826bcfdd50 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
abc9da0e68 Allow Automod to distinguish whether mod actions are manual or automatic (#179) 2021-04-28 22:06:33 +03:00
Shoaib Sajid
25ff030dac Fix typo in automod docs (#185) 2021-04-28 22:02:25 +03:00
Dragory
984dd64214 Add permission checks and alerts to Automod 'reply' action 2021-04-11 14:13:25 +03:00
Dragory
5b88ad5865 Fix error when using an unknown counter from Automod 2021-04-11 13:44:48 +03:00
Dragory
087c266e4d Handle errors when sending message in automod 'alert' action 2021-04-04 22:30:21 +03:00
Dragory
92b960216d Improve antiraid trigger automod logs 2021-04-02 19:50:37 +03:00
Dragory
7088b883e2 Fix antiraid_level automod trigger not being available 2021-04-02 19:47:30 +03:00
Dragory
e29d5d0974 Fix log_automatic_actions option not working for automod actions 2021-04-02 19:36:40 +03:00
Dragory
6ac43edda4 Merge branch 'master' of github.com:Dragory/ZeppelinBot 2021-04-02 18:00:27 +03:00
Dragory
145451e7c0 automod: if a rule is on cooldown, allow rules after it to trigger 2021-04-02 18:00:11 +03:00
Dragory
6273b5f534 automod: fix cooldowns applying across rules 2021-04-02 17:59:41 +03:00
Dragory
76e727a43e automod: add any_message trigger 2021-04-02 17:57:04 +03:00
Dragory
3f77e598ac automod: add antiraid_level trigger 2021-04-02 17:53:16 +03:00
Dragory
aa906e4a2b automod: allow setting antiraid level to null/off with set_antiraid_level action 2021-04-02 17:52:50 +03:00
Dragory
1703f7b440 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
eb7ac72cd4 Enforce unified lock names by using functions to generate lock keys (#165) 2021-04-02 16:43:13 +03:00
Dragory
f8d393fad2 counters: move triggers to counters plugin; architectural tweaks 2021-04-02 16:36:45 +03:00
Dragory
76c3ccdb9a automod: fix {logMessage} variable in alert text 2021-02-15 00:25:20 +02:00
Dragory
7400af57c6 automod: use proper locks in removeRoles action 2021-02-14 17:16:00 +02:00
Dragory
30426960e7 automod: add triggers for mod actions 2021-02-14 16:58:02 +02:00
Dragory
2a3145e97b automod: add user/member to automod context for counters trigger 2021-02-13 21:34:47 +02:00
Nils
d9282643d8 Allow certain or all roles to be removed upon mute and readded on unmute (#140) 2021-02-13 20:04:40 +02:00
Dragory
c5c78c0e66 Remove debug console.log()s 2021-02-13 17:42:41 +02:00
Dragory
c78b2b7d8e Counters v0.9
Includes automod trigger/action. No user-facing commands yet.
2021-02-13 17:29:10 +02:00
Dragory
b9d561018b Fix crash if automod alert message fails to render 2020-12-17 03:44:42 +02:00
Dragory
d7993c7bcc Fix automod warns, kicks, and bans not using default contact methods 2020-12-03 16:55:53 +02:00