Commit graph

606 commits

Author SHA1 Message Date
Dragory
b76f87bbef Merge branch 'master' of github.com:Dragory/ZeppelinBot 2019-04-18 08:46:03 +03:00
Dragory
f3e6c05c67 Work on better error messages for mod actions, allow muting users that are not on the server; WIP 2019-04-18 08:45:51 +03:00
Miikka
74cce3d093
templateFormatter: fix unknown values showing up as "false" 2019-04-17 09:43:27 +03:00
Miikka
24e16078ec
Fix bot-maintained slowmodes not being applied 2019-04-15 14:11:58 +03:00
Miikka
160c31baf7
Fix slowmodes longer than 6h 2019-04-15 14:01:49 +03:00
Dragory
3643c319d4 Fix error when parsing a spam plugin mute time that is of type number 2019-04-14 20:12:00 +03:00
Dragory
f5de7db971 Add safety net for unknown roles in guildMemberUpdate 2019-04-14 17:05:58 +03:00
Dragory
c34532e348 Add safety net for attempts to create a duplicate case for a single kick audit log entry 2019-04-14 17:05:07 +03:00
Dragory
dd7ae1d4b8 Include user notification result in warn/kick/ban cases 2019-04-14 17:03:29 +03:00
Dragory
1ead037b8a Allow overriding default unit for delay strings; use seconds by default for slowmodes 2019-04-14 14:05:16 +03:00
Dragory
7cc4687e87 Update husky & lint-staged, tweak their scripts 2019-04-14 13:37:29 +03:00
Dragory
3226aec0bf Clear lint-staged test 2019-04-14 13:36:03 +03:00
Dragory
2481a476b5 lint-staged test 2 2019-04-14 13:35:25 +03:00
Dragory
f3178e7d27 lint-staged test 2019-04-14 13:34:23 +03:00
Dragory
7f0833f699 Some fixes and cleanup 2019-04-14 13:30:48 +03:00
Dragory
338855de15 Fix error when creating a case with no noteDetails 2019-04-14 13:26:55 +03:00
Dragory
434758b8ad Fix right click bans causing logs with the banned user's username missing 2019-04-14 13:26:29 +03:00
Dragory
fe88766f02 Notify user for spam detection mutes. Add notification status ('user notified in DMs' etc.) to the case. Log case updates. Add 'unmuted immediately' to the case for unmutes without a time. 2019-04-13 17:35:02 +03:00
Dragory
40cb74ee28 evaluateTemplateVariable: require property to be a direct/own property of 'values', not from its prototype 2019-04-13 04:11:24 +03:00
Dragory
f76dd3ed62 Deprecate !cases expand/hidden in favor of options --expand/--hidden (-e/-h) 2019-04-13 04:01:37 +03:00
Dragory
9785e9fb89 Add !help 2019-04-13 03:54:36 +03:00
Dragory
05dfff7d37 Update Knub to 19.3.0 2019-04-13 03:43:17 +03:00
Dragory
6216989b90 Clean up !update code 2019-04-13 03:31:50 +03:00
Dragory
f4544f5452 Deprecate !updatecase alias for !update 2019-04-13 03:28:38 +03:00
Dragory
5ce3e496c3 Fix some invalid permission checks 2019-04-13 03:27:29 +03:00
Dragory
fbcf5d7cb8 search: add --case-sensitive/--cs flag; show nicknames in the results 2019-04-13 03:24:02 +03:00
Dragory
fdd9bd93c5 mute list: show whether the user has left the server or been banned; allow filtering by whether the user has left with --left 2019-04-13 03:17:09 +03:00
Dragory
05bf5b4f25 Allow filtering !mutes with --age 2019-04-13 02:39:36 +03:00
Dragory
838448153b Support weeks (w) in delays (mutes, reminders, etc.) 2019-04-13 02:35:53 +03:00
Dragory
5eeb3d2536 Add timestamps to !cases 2019-04-13 02:27:52 +03:00
Dragory
503f1ff170 Use command aliases/overloads where applicable 2019-04-13 02:23:45 +03:00
Dragory
ad10a79b6c Add !s as an alias for !search 2019-04-13 02:23:22 +03:00
Dragory
d79af59863 Update to Knub 19.2.0 2019-04-13 02:22:45 +03:00
Dragory
d77105c831 Slowmode: support native slowmode up to 6h 2019-04-13 01:56:11 +03:00
Dragory
50f5792bc5 Update to Knub 19.1.1 and update plugins accordingly 2019-04-13 01:44:18 +03:00
Dragory
18e321f5bb Fix type error 2019-04-05 20:06:29 +03:00
Dragory
8e2808d42c Fix quotation marks in !mute and !unmute arguments 2019-04-05 20:05:37 +03:00
Dragory
6e1ef12bce Update Knub to 18.2.0 2019-04-05 19:59:01 +03:00
Dragory
bab82559dc Update Knub to 18.1.0, js-yaml to 3.13.1 2019-04-05 19:31:21 +03:00
Dragory
b9b4e2e9ed Starboard: use locks for checking reactions to avoid race conditions 2019-03-31 22:35:54 +03:00
Dragory
dad7717688 ModActions: allow 'e' as an alias for 'expand' in !cases 2019-03-20 00:35:46 +02:00
Dragory
cb7904ef81 Utility: add voice information to !info, tweak embed styles a bit 2019-03-20 00:34:41 +02:00
Dragory
9202a717e3 Mutes: add move_to_voice_channel option 2019-03-20 00:24:32 +02:00
Dragory
39b7b35cbf Fix tag character limit 2019-03-16 18:54:09 +02:00
Dragory
15408b04d7 templateFormatter: add choose() as a shortcut for cases() with a preset index that picks from the cases randomly 2019-03-16 18:52:45 +02:00
Dragory
656fb1baf3 Add !tag eval for testing tag formatting before creating a tag 2019-03-16 18:37:42 +02:00
Dragory
e61fe722c5 Tags: add tag() function to call other tags (with infinite loop protection 👀) 2019-03-16 18:16:59 +02:00
Dragory
45b06ece20 Logs: fix double member IDs in voice channel logs 2019-03-16 17:54:26 +02:00
Dragory
96b2d33423 templateFormatter: add cases() template function; Tags: add set/get tag functions to store/retrieve variables within tags 2019-03-16 17:54:05 +02:00
Dragory
a8d274c054 Tags: don't attempt to send empty messages 2019-03-16 17:32:32 +02:00