Commit graph

66 commits

Author SHA1 Message Date
Dragory
5056b4376a
Add pagination to !cases -mod 2020-12-15 15:18:08 +02:00
Jonathan
eb4d5ea6f1
List message author IDs in bulk deletes logs (#109) 2020-12-12 22:31:35 +02:00
Dragory
2f50232cf3
Fix TypeORM errors for nullable fields
For fields with '| null' in the TS type, the column type needs to be
specified explicitly in column options when using MySQL.

See:
https://github.com/typeorm/typeorm/issues/1358#issuecomment-391736766
2020-11-09 20:12:16 +02:00
Dragory
629002b8d9
Turn on strict TS compilation. Fix up and tweak types accordingly. 2020-11-09 20:03:57 +02:00
Dragory
3aada93a80
Add sticker_spam automod trigger 2020-10-16 02:01:07 +03:00
Dragory
5d13322439
Add bot owner commands for adding/removing servers and dashboard users 2020-10-10 14:21:59 +03:00
Dragory
a017aa7bfe
Encrypt archives at rest 2020-09-16 22:42:25 +03:00
Dragory
baa3a5640e
Encrypt message data at rest 2020-09-16 22:32:43 +03:00
Dragory
f916e8c156
Fix antiraid level upsert for MySQL 2020-09-15 00:59:46 +03:00
Dragory
902be16ae8
Centralize DM logic, don't attempt DMs for an hour after a 20026 error 2020-08-21 03:44:38 +03:00
Dragory
753ceda5ec
!timezone: add fuzzy matching for timezone name; add reset 2020-08-19 00:47: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
Dragory
131a79ffd4
Add case icons. Clean up !cases. Allow customizing case colors and icons. 2020-08-11 04:16:06 +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
d9c952bebd
Make BOT_ALERT log text more prominent by default 2020-08-07 01:22:52 +03:00
Dragory
60aff76ebe
!source: don't show source of messages you don't have access to; allow mods to use the command by default 2020-08-05 23:57:09 +03:00
Dark
8600cc4195 Update Massmute to newest version... again 2020-08-04 15:27:12 +02:00
Dark
cd45d929ad Change nickname storage to the intended 10 2020-07-29 01:58:28 +02:00
Dragory
1064a1ca46
Add custom logger. Fix a bunch of errors. Optimize imports. 2020-07-22 22:56:21 +03:00
Dragory
177fc40780
Various Knub 30 and type fixes 2020-07-06 02:08:11 +03:00
Dragory
c308a9b5ce
logs: fix bulk deletes not being logged 2020-06-04 02:51:15 +03:00
Dragory
3795ce6f1b
Increase messages CLEAN_PER_LOOP to 500 2020-06-02 00:58:17 +03:00
Dragory
59918858ec
Fix username history cleanup startup delay 2020-06-02 00:55:49 +03:00
Dragory
8c9f9dc42f
Add config retention period / cleanup 2020-06-02 00:47:37 +03:00
Dragory
6f1391aead
Remove debug log 2020-06-02 00:47:22 +03:00
Dragory
de71520747
Add username/nickname history retention periods 2020-06-02 00:26:06 +03:00
Dragory
80f6f69ccd
Message cleanup tweaks 2020-06-01 21:28:07 +03:00
Dragory
0eb6a0ef97
Tweaks to avoid deadlocks in GuildSavedMessages 2020-05-30 22:30:44 +03:00
Dragory
a011d4524d
Push cleanup interval back to 5min 2020-05-28 03:13:34 +03:00
Dragory
d781c6c3b4
Fix deletion limit in message cleanup 2020-05-28 03:09:27 +03:00
Dragory
bf3cae2201
Run message cleanup more frequently with a lower limit 2020-05-28 02:52:51 +03:00
Dragory
26f1042b8e
Retain bot messages for a shorter time, raise deletion limit 2020-05-28 02:50:07 +03:00
Dragory
6cd07ed696
Don'Ãt run message cleanup queries in the API process 2020-05-28 02:45:07 +03:00
Dragory
1ff86defc3
Fix 3 2020-05-28 02:39:04 +03:00
Dragory
ca9af4f24e
Fix 2 2020-05-28 02:37:14 +03:00
Dragory
51a16ee1aa
Fix 2020-05-28 02:34:26 +03:00
Dragory
8f71e51041
Small tweak to message cleanup 2020-05-28 02:30:03 +03:00
Dragory
e4aa101edd
Lower message retention period to 1 day 2020-05-28 01:54:38 +03:00
Dragory
f9568ab37b
Store supporters in the database 2020-05-28 01:29:51 +03:00
Dragory
e0209d3319
dashboard: work on guild access page 2020-05-23 17:31:01 +03:00
Dragory
d03d729438
dashboard/api: add support for Zeppelin staff members; add ViewGuild permission; code cleanup 2020-05-23 16:22:03 +03:00
Dragory
22a77994f6
Add logs for !note 2020-05-22 22:21:56 +03:00
Dragory
a5178dc78f
*Remove* debug line 2020-05-13 07:56:39 +03:00
Dragory
976a1c8d50
Remove debug line 2020-05-13 07:54:54 +03:00
roflmaoqwerty
76e371854f moved new emoji to beginning of join log 2020-04-03 16:14:22 +03:00
Dark
5afe3ce3fe Made Alerts infinite until timed out, added -active and changed cmd sigm 2020-04-03 16:09:58 +03:00
Dragory
820c9b466e
Add mass role add/remove commands. Fix UnknownUser mentions in logs. Fix unnecessary audit log reads when adding/removing roles and the log type is ignored. 2020-03-28 15:21:13 +02:00