Dragory
c7751a9da1
Centralize periodic checks for mutes, tempbans, vcalerts, reminders, and scheduled posts
...
This should result in a significant performance improvement.
The new method is also more precise than the old one, allowing
the aforementioned checks to be performed with second-precision.
2021-09-25 21:34:07 +03:00
Dragory
ac79eb09f5
Reformat all files with Prettier
2021-09-11 19:06:51 +03:00
Dragory
2451719155
Tweaks to member role restoration on unmute
2021-08-20 22:34:31 +03:00
Dragory
be0f9182a0
Always fetch fresh member data when unmuting v2: electric boogaloo
2021-08-20 22:27:35 +03:00
Dragory
3a9caae758
Always fetch fresh member data when unmuting
2021-08-20 22:26:40 +03:00
Dragory
41f8e190dd
Remove server-specific timed unmute logging
2021-08-20 21:40:59 +03:00
Dragory
d54f03361a
Remove first check delay for expired mute checking
2021-08-19 22:12:39 +03:00
Dragory
f6feb75e29
+debug
2021-08-19 19:49:44 +03:00
Dragory
31b9043b82
Fix user mention in unmute logs
2021-08-19 19:42:50 +03:00
Dragory
d109a58cb7
Type fixes + use template safe values for renderTemplate() everywhere
2021-08-18 20:32:45 +03:00
Dragory
59e75e0584
Type fixes + circular dependency fix
2021-08-18 20:01:06 +03:00
Dragory
e3b6b017a2
Fix issues with circular dependencies between plugins
2021-08-18 19:33:22 +03:00
Dragory
bed6589d48
Typed log functions + more
2021-08-18 01:51:42 +03:00
almeidx
3537305c59
upgrade discord.js
2021-08-04 20:45:42 +01:00
almeidx
5e91a9fed3
removed unnecessary collector filters
2021-07-29 17:24:53 +01:00
almeidx
afe0ec1194
removed unnecessary string literal and simplified stuff
2021-07-29 10:08:55 +01:00
almeidx
74a676913e
user.tag
2021-07-29 00:37:19 +01:00
almeidx
3d29963b87
perf
2021-07-29 00:03:25 +01:00
almeidx
9ddfc48bb2
simplify
2021-07-28 23:57:33 +01:00
almeidx
d9d1793e59
removed unnecessary type annotation
2021-07-28 23:54:34 +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
dda19de6e6
Fix various bugs, update djs
2021-07-04 23:14:12 +02:00
Dark
5e73d380c5
Update DJS
2021-07-04 17:41:44 +02:00
Dark
0822fc15e5
Type fixes for djs
2021-06-30 04:56:56 +02:00
Dark
6e22687bf6
Switch pagination to buttons
2021-06-21 01:36:35 +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
aa4ce00fa6
mutes: fix pluginData.state being initialized too late
2021-05-23 16:58:47 +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
Almeida
a4a7eb41b0
refactor(*): remove unused exception variables ( #193 )
2021-05-06 21:23:47 +03:00
Dragory
74cc58aeaa
Add missing role locks for unmutes
2021-04-29 01:41:02 +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
Nils
c5d68650a3
Enforce unified lock names by using functions to generate lock keys ( #165 )
2021-04-02 16:43:13 +03:00
Nils
2fc8cffd80
Allow kicking the user from VC on mute ( #156 )
...
* 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 ( #140 )
2021-02-13 20:04:40 +02:00
Nils
dea3c2516c
Add more verbose mute error messages as BOT_ALERTs and console errors ( #146 )
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 ( #119 )
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