Commit graph

41 commits

Author SHA1 Message Date
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
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
Dark
5e73d380c5
Update DJS 2021-07-04 17:41:44 +02:00
Dark
1ad70ffe1a
Change DiscordRESTError to DiscordAPIError 2021-06-30 23:06:02 +02:00
Dark
0822fc15e5
Type fixes for djs 2021-06-30 04:56:56 +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
edcfd2333f
Bot now connects, lint fixes 2021-06-02 19:35:44 +02:00
Dark
52839cc9f3
More rework progress, remove all eris imports 2021-06-01 02:05:55 +02:00
Dragory
f6be4f4af6
Update to Knub30.0.0-beta.37 and Eris 0.15, first pass 2021-05-23 14:35:16 +03:00
Dragory
eed4fd586b
Fix unnecessary 'go to original case' links in case log channel 2021-05-22 14:01:00 +03:00
Almeida
a4a7eb41b0
refactor(*): remove unused exception variables (#193) 2021-05-06 21:23:47 +03:00
Dragory
25a3350196
Add hide_case option to automod mod actions 2021-05-03 18:49:52 +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
Dragory
5ffc3e7cc4
Fix formatting error in !cases with long code blocks 2021-02-13 22:59:48 +02:00
Dragory
17e388ff48
cases: allow using user overrides for log_automatic_actions 2020-12-23 04:27:58 +02:00
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
7909c99a7f
Fix up docs 2020-07-30 13:08:06 +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
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
479cb56928
Port Cases plugin 2020-07-22 22:08:49 +03:00