Commit graph

23 commits

Author SHA1 Message Date
Nils
c5d68650a3
Enforce unified lock names by using functions to generate lock keys () 2021-04-02 16:43:13 +03:00
Nils
2fc8cffd80
Allow kicking the user from VC on mute ()
* Allow kicking the user from VC on mute

If any non-id string is entered in `move_to_voice_channel`, the user is kicked from the VC instead of being moved. We do not automatically kick if the option is set to null in order to not make this a breaking change for old, intended behavior

* Add explicit config option for kicking instead of kicking on any non-id

Kicking takes precedent in this case and will take effect instead of moving to voice id
2021-04-02 16:39:22 +03:00
Dragory
93912541b4
automod: add triggers for mod actions 2021-02-14 16:58:02 +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
Nils
dea3c2516c
Add more verbose mute error messages as BOT_ALERTs and console errors () 2021-01-28 01:25:11 +02:00
Dragory
b9dde47a9e
Fix several locations that expected resolveUser() to return null 2020-12-17 04:12:49 +02:00
Dragory
ac7935e24d
Fix muteUser() sometimes operating on stale member info 2020-12-17 03:50:02 +02:00
Nils
ec3bf2739d
Add moderator variable to mod action templates () 2020-12-12 22:29:08 +02:00
Dragory
629002b8d9
Turn on strict TS compilation. Fix up and tweak types accordingly. 2020-11-09 20:03:57 +02:00
Dragory
76f7658763
Fixes 2020-10-16 02:13:54 +03:00
Dragory
2f470dc37a
Update to new Knub 30 beta. Code clean-up. 2020-10-01 01:43:38 +03:00
Dragory
5d579446c5
Fix several role race conditions 2020-09-30 01:08:42 +03:00
Dragory
4ae8cf85a3
Add time_and_date plugin. Use it for timezones and date formats around the bot. 2020-08-19 00:19:12 +03:00
Dragory
c67a1df11d
Add support for server-specific timezone and date format settings 2020-08-10 00:24:06 +03:00
Dragory
a641312853
resolveUser: return null if the passed value is not a valid id 2020-08-09 20:10:03 +03:00
Dark
e131c77e20 Allow for caseNumber in Logs, showing the case number - repalce log evts 2020-08-02 02:30:01 +02:00
Dark
532041ad0d Fixed mistake that made REST calls we know will fail on forcemute/unmute 2020-07-31 19:31:36 +02:00
Dragory
7909c99a7f
Fix up docs 2020-07-30 13:08:06 +03:00
Dark
59ef2e6fec Fix rejoin mutes not working 2020-07-29 01:14:02 +02:00
Dark
fd56664984 Migrate ModActions to new Plugin structure !!mutes dont work!! 2020-07-24 02:25:33 +02:00
Dragory
ebcb28261b
WIP ModActions 2020-07-23 00:37:33 +03:00
Dragory
1064a1ca46
Add custom logger. Fix a bunch of errors. Optimize imports. 2020-07-22 22:56:21 +03:00
Dragory
ccff7384ba
Port Mutes plugin 2020-07-22 22:09:05 +03:00