Dragory
b8e0f26bf0
Fix missing pings/mentions in logs
2019-05-03 08:08:21 +03:00
Dragory
2d0f4ead20
Remove deprecated expand/hidden opts from !cases, use --expand/--hidden instead
2019-05-02 08:28:49 +03:00
Dragory
1e2b68119c
Fix member fetching in a few places
2019-05-02 08:21:11 +03:00
Dragory
c38c2cc904
Fix case preview in !cases when two or more of the first case notes have the same timestamp
2019-04-20 20:15:31 +03:00
Dragory
3700a2a4c5
In !cases, use the username from the latest case if the user is not found
2019-04-20 19:32:20 +03:00
Dragory
6b3dc42747
Support attachments in !update
2019-04-20 19:20:35 +03:00
Dragory
608f17c532
Deprecate GuildActions. Fix double case posting when muting a user for message spam. Update to new mute/case style when muting a user for "other" spam.
...
GuildActions turned out to be a fairly pointless abstraction in the end.
It didn't really solve the problems it was meant to solve (that is,
reduce code spaghetti by having all inter-plugin calls go through a
single service, and allow easier ways to replace core plugins with
alternatives that share the same interface) any better than simply
using `this.getPlugin()` when needed, and introduced extra complexity
and made static analysis messier.
2019-04-20 17:36:28 +03:00
Dragory
89ce0555a7
Fix error when fetching unknown user
2019-04-19 20:05:20 +03:00
Dragory
ee20363dd8
Fix user mentions not working for mod actions. Allow using plain username to target users with mod actions. Make error messages more consistent.
2019-04-19 12:25:25 +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
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
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
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
f76dd3ed62
Deprecate !cases expand/hidden in favor of options --expand/--hidden (-e/-h)
2019-04-13 04:01:37 +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
50f5792bc5
Update to Knub 19.1.1 and update plugins accordingly
2019-04-13 01:44:18 +03:00
Dragory
8e2808d42c
Fix quotation marks in !mute and !unmute arguments
2019-04-05 20:05:37 +03:00
Dragory
dad7717688
ModActions: allow 'e' as an alias for 'expand' in !cases
2019-03-20 00:35:46 +02:00
Dragory
11558df665
Logs: add permission for whether a user is pinged in logs or not (mainly to not ping mods); templateFormatter: fix error when following a plain value variable with a function variable
2019-03-16 16:10:30 +02:00
Dragory
d5a902bcdd
ModActions: log sent DMs
2019-03-16 15:44:20 +02:00
Dragory
ba3af1cb63
Add templateFormatter; migrate from formatTemplateString to templateFormatter
2019-03-16 15:42:55 +02:00
Dragory
374e79e2dc
Include durations in mute and unmute case notes, clarify bot responses when updating an active mute
2019-03-07 22:35:33 +02:00
Dragory
18f16f6bad
ModActions: make the text that tells how the user was notified more descriptive
2019-03-07 22:09:14 +02:00
Dragory
b7b42705f9
Add types for all plugin configs and permissions. Update code to work with Knub 18.
2019-03-04 21:44:04 +02:00
Dragory
ffafc765d8
ModActions: !cases without id now returns 5 most recent cases created by you, or the mod specified with --mod
2019-02-23 22:40:43 +02:00
Dragory
152b86e587
ModActions: show if the user was messaged in bot response to actions
2019-02-23 22:05:54 +02:00
Dragory
09b3775247
ModActions: join reason attachments with spaces, not newlines
2019-02-23 21:54:22 +02:00
Dragory
f7274225f9
Cleanup
2019-02-23 21:53:41 +02:00
Dragory
31331f67c5
ModActions: fixes and tweaks to !addcase
2019-02-23 21:52:36 +02:00
Dragory
23f68e734e
ModActions: support attachments in reasons
2019-02-23 21:47:55 +02:00
Dragory
147dcc973d
ModActions: add !cases cmd without user, tweak old !cases response message
2019-02-23 21:33:57 +02:00
Dragory
0c974e1d16
ModActions: remove aliases showcase, usercases
2019-02-23 21:32:38 +02:00
Miikka
81e6465cdf
Update ModActions.ts
2019-02-20 17:04:42 +02:00
Dragory
fa759d1f46
Allow using !update without a case number. Will update the mod's latest case instead.
2019-02-17 15:23:40 +02:00
Dragory
ed3760313f
Update to Knub 17.0.1, remove all d.nonBlocking() calls
2019-02-17 15:19:55 +02:00
Dragory
6358022442
Make more events non-blocking
2019-02-16 14:13:46 +02:00
Dragory
0b0bb05eed
GuildActions: create overloads for known actions; refactor certain actions, using only 1 args object; mutes: move !mutes to the Mutes plugin, fix case number not showing in mute list, make mute list prettier
2019-02-15 05:07:28 +02:00
Dragory
b4127a0fd8
Make lengthy handlers nonBlocking
2019-02-08 22:37:09 +02:00
Dragory
e841f20ab0
Add special mention if a mod action was performed on behalf of another mod with the --mmod option
2019-02-08 20:25:35 +02:00
Dragory
4ce59fb99b
Add --mod option to most mod actions
2019-02-08 20:04:48 +02:00
Dragory
93571bcbfe
Add --mod to !addcase
2019-02-07 20:36:57 +02:00
Dragory
f6f1c29fc1
Add user id and show recent cases in 'member joined with prior records' log entry
2019-01-15 04:15:22 +02:00
Dragory
8de31844d5
Add support for hiding cases with !hidecase
2019-01-13 17:56:25 +02:00