Commit graph

20 commits

Author SHA1 Message Date
Dragory
14bebfe405
Remove stderr for missing permissions to post mod cases
This is generally only relevant to the server admins, and is already
logged as a BOT_ALERT for them.
2020-12-18 05:26:33 +02:00
Dragory
5056b4376a
Add pagination to !cases -mod 2020-12-15 15:18: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
2f470dc37a
Update to new Knub 30 beta. Code clean-up. 2020-10-01 01:43:38 +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
131a79ffd4
Add case icons. Clean up !cases. Allow customizing case colors and icons. 2020-08-11 04:16:06 +03:00
Dragory
936ea5311b
Use relative time for recent dates in case summaries
Comes with an option to toggle on/off and to set the "recent" threshold.
2020-08-10 03:53:04 +03:00
Dragory
d30cd0b764
Include extra notes in case summaries if there's space 2020-08-10 03:52:26 +03:00
Dragory
b379bea9b8
Use messageLink() function for message links everywhere 2020-08-10 03:26:39 +03:00
Dragory
1778f95453
Add link to original case in case log channel to case embed 2020-08-10 03:22:57 +03:00
Dragory
eb203a3b7a
Use server timezone and date formats in case summaries. Link to cases in case log channel from case summaries. 2020-08-10 03:18:34 +03:00
Dragory
19a82b767f
When updating cases, update existing case embed in case log channel if possible 2020-08-10 02:35:47 +03:00
Dragory
c67a1df11d
Add support for server-specific timezone and date format settings 2020-08-10 00:24:06 +03:00
Dragory
ddbbc543c2
Add !deletecase 2020-08-09 22:44:46 +03:00
Dragory
a641312853
resolveUser: return null if the passed value is not a valid id 2020-08-09 20:10:03 +03:00
Dragory
0a4b4147c6
cases: don't break if a case note is an empty string 2020-07-30 01:45:32 +03:00
Dragory
ac714ea307
Fix case embeds breaking with notes over 1024 chars in length 2020-07-29 22:48:49 +03: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
479cb56928
Port Cases plugin 2020-07-22 22:08:49 +03:00