Commit graph

52 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
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
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
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
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 (#167) 2021-04-28 23:18:23 +03:00
Nils
903a2369c8
Allow automod to issue tempbans (#189) 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 (#179) 2021-04-28 22:06:33 +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
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
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 (#165) 2021-04-02 16:43:13 +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
Nils
a13b0b6fda
Allow certain or all roles to be removed upon mute and readded on unmute (#140) 2021-02-13 20:04:40 +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
Dragory
138bc05402
Fix automod warns, kicks, and bans not using default contact methods 2020-12-03 16:55:53 +02:00
Dragory
2d749730a6
Fix automod mutes not using default contact methods 2020-12-03 16:47:11 +02:00
Dragory
629002b8d9
Turn on strict TS compilation. Fix up and tweak types accordingly. 2020-11-09 20:03:57 +02:00
Dragory
5d579446c5
Fix several role race conditions 2020-09-30 01:08:42 +03:00
Dragory
d9140ff7a8
automod: allow alert action to send messages >2000 chars long 2020-09-15 01:57:46 +03:00
Dragory
61804d9e64
Improve error handling with mutes 2020-09-13 22:45:02 +03:00
Dragory
4c7a51f586
automod: add role_added and role_removed triggers 2020-08-10 02:22:39 +03:00
Dragory
bfa9cf55a7
automod: change_nickname action can now also take simply a string value 2020-08-10 01:37:20 +03:00
Dragory
6d4a7cdafd
More work on permission utils and eager permission checks 2020-08-07 01:21:31 +03:00
Dragory
bd09c3bdf3
automod: ignore errors in 'clean' action
These are, in most cases, just that the message was already deleted
before we got to it or similar.
2020-07-30 20:41:00 +03:00
Dragory
def8e037ef
Debug++ 2020-07-30 20:15:35 +03:00
Dragory
b6b4154b2d
automod: fix logs showing duplicate users 2020-07-30 02:21:11 +03:00
Dragory
ae97a5dded
automod: add default configs for actions 2020-07-30 01:45:14 +03:00
Dragory
c39d69dd5d
automod: ensure actions only apply once per user/member 2020-07-29 22:58:14 +03:00
Dragory
3c90e5d4ab
automod: separate actions taken with comma + space instead of just comma 2020-07-29 22:43:33 +03:00
Dragory
01e43e9b46
Add new Automod actions to availableActions 2020-07-28 23:28:42 +03:00
Dragory
07da88b7cb
More Automod updates 2020-07-28 21:51:58 +03:00