Commit graph

568 commits

Author SHA1 Message Date
b870e7e76f
misc(moderation): moved files into utils folder 2023-12-18 17:01:50 -05:00
fe7193601b
fix(moderation): fixed metadata importing again 2023-12-18 16:58:24 -05:00
67836d034d
fix(moderation): updated metadata importing 2023-12-18 16:56:27 -05:00
452799e5ca
fix(moderation): added metadata to moderation importer 2023-12-18 16:53:13 -05:00
b05e6f575f
fix(moderation): actually fixed duration importing, again 2023-12-18 16:50:00 -05:00
2fba89787a
fix(moderation): import expired too 2023-12-18 16:48:04 -05:00
0069312f43
fix(moderation): actually fixed duration importing 2023-12-18 16:47:10 -05:00
a6bbeaace6
fix(moderation): fixed duration importing, again again 2023-12-18 16:46:21 -05:00
72cedc89d3
fix(moderation): fixed strptime import 2023-12-18 16:45:34 -05:00
555f386553
fix(moderation): fixed duration importing (again) 2023-12-18 16:43:58 -05:00
e2c165297d
fix(moderation): fixed moderation imports 2023-12-18 16:43:28 -05:00
7c3310af32
fix(moderation): fixed broken dict key in importer 2023-12-18 16:35:48 -05:00
d3bd68f9b0
fix(moderation): close database/cursor 2023-12-18 16:35:38 -05:00
56d316b6fa
fix(moderation): fixed trying to import the 0th case 2023-12-18 16:33:09 -05:00
f8b1e03d0e
fix(moderation): fixed moderation importer 2023-12-18 16:29:21 -05:00
dc9e755492
fix(moderation): hopefully fixed history exports 2023-12-18 16:27:22 -05:00
7f0d2ae153
fix(moderation): fixed history command erroring on unmigrated database 2023-12-18 16:23:45 -05:00
b982975a0c
fix(moderation): fixed import command 2023-12-18 16:20:36 -05:00
c1a359e856
feat(moderation): added importer for moving db data between bots 2023-12-18 16:17:29 -05:00
a11978848d
misc(moderation): moved importing logic to a seperate file 2023-12-18 16:17:08 -05:00
25cbc33b6d
misc(moderation): moved config registration logic from main file to config.py 2023-12-18 15:58:06 -05:00
c7f7d29be5
feat(moderation): updated the main file to use the config object from config.py 2023-12-18 15:57:51 -05:00
5fa346bc75
fix(moderation): fixed formatting in some embed factory embeds 2023-12-18 15:20:26 -05:00
e32e91180a
fix(moderation): fixed resolve command not marking logs as resolved 2023-12-18 15:20:16 -05:00
f4839d9df7
fix(moderation): do not count the original moderation as a change when checking a case 2023-12-18 15:15:24 -05:00
855c3845ef
fix(moderation): fixed importing reasons again 2023-12-17 13:04:08 -05:00
e1d84dfc4b
fix(moderation): fixed messed up embeds 2023-12-17 13:02:46 -05:00
ee7b64cc78
fix(moderation): fixed importing reasons 2023-12-17 13:00:43 -05:00
e74923c357
fix(moderation): fixed broken sql query 2023-12-17 12:58:15 -05:00
9c6cbc160b
fix(moderation): fixed moderation commands being broken due to db changes 2023-12-17 12:56:46 -05:00
141c0459d4
feat(moderation): allow importing lockdown and slowmode moderation types 2023-12-17 12:54:41 -05:00
53290e7062
fix(moderation): awaited a coroutine in utils.log 2023-12-17 03:36:35 -05:00
920e70d7b1
Revert "fix(moderation): hopefully fixed embed_factory"
This reverts commit dbb3e7b278.
2023-12-17 03:35:59 -05:00
dbb3e7b278
fix(moderation): hopefully fixed embed_factory 2023-12-17 03:33:09 -05:00
31fa5eb937
fix(moderation): pylint fixes 2023-12-17 03:11:51 -05:00
e77a7c9553
fix(moderation): pylint fixes (more of them!) 2023-12-17 03:06:48 -05:00
e38e68ecb5
fix(moderation): more pylint fixes! 2023-12-17 03:06:09 -05:00
4302f33a9e
fix(moderation): pylint fixes 2023-12-17 02:36:18 -05:00
75109e0834
misc(moderation): moved a bunch of functionality to other files to reduce the length of the main file and improve code maintainability 2023-12-17 02:16:44 -05:00
209ca2998d
fix(moderation): fixed broken mysql query 2023-12-17 00:07:47 -05:00
0422b15985
fix(moderation): fixed broken mysql statement 2023-12-17 00:04:04 -05:00
b82e1f3f84
moderation(feat): added metadata json field to the db 2023-12-17 00:02:07 -05:00
d2b1c27181
fix(moderation): fixed case number formatting 2023-12-16 21:28:09 -05:00
b270e1724d
fix(moderation): fixed blacklist autocomplete 2023-12-16 21:19:40 -05:00
d65cb8a2a8
misc(moderation): changed logger name 2023-12-16 21:19:31 -05:00
0e0c75f987
fix(moderation): reduced fatal error levels to error level, and info to debug 2023-12-16 21:02:54 -05:00
2703fb2fc0
fix(moderation): fixed an f string 2023-12-16 20:49:24 -05:00
7e6ad9f6e3
fix(moderation): fixing durations n such 2023-12-16 20:43:01 -05:00
d4095846ad
fix(moderation): set durations of 0 to NULL instead of a timedelta representing 0 seconds 2023-12-16 20:31:50 -05:00
95a2e3b520
fix(moderation): fix kick command 2023-12-16 20:29:54 -05:00