Commit graph

648 commits

Author SHA1 Message Date
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
53003efb89
fix(moderation): fixed broken duration imports 2023-12-16 20:20:45 -05:00
cef337132b
feat(moderation): format case numbers 2023-12-16 20:11:53 -05:00
e9e2c20a58
feat(moderation): added ability to edit durations 2023-12-16 16:59:48 -05:00
5b8f6823ef
fix(moderation): pylint fix 2023-12-16 14:45:17 -05:00
44aaf4b320
misc(moderation): changed formatting of mysql_log method call in import galacticbot 2023-12-16 14:44:05 -05:00
30ea17cfb6
fix(moderation): reverted previous changes (they dont work lmao) 2023-12-16 13:55:50 -05:00
d300ba60da
fix(moderation): infinite loop 2023-12-16 13:53:38 -05:00
c700782e17
fix(moderation): galacticbot import loop should no longer be blocking 2023-12-16 13:35:12 -05:00
59f0375ad5
fix(moderation): limited pagesize to 20 2023-12-15 22:28:42 -05:00
f12f4b5406
fix(moderation): reduced maximum reason size in history embeds from 150 to 125 2023-12-15 22:24:29 -05:00
d67f73ab91
feat(moderation): un-hid galacticbot importing 2023-12-15 22:14:30 -05:00
c8a32058f1
fix(moderation): silently fail if an overflow error is encountered 2023-12-15 22:13:38 -05:00
8da6288263
fix(moderation): testing a fix for timedelta fixes 2023-12-15 22:06:17 -05:00
5e45da84fc
fix(moderation): rounded timedelta 2023-12-15 22:02:24 -05:00
26225d3774
fix(moderation): fixed variable name 2023-12-15 21:58:25 -05:00
2adf7ed811
fix(moderation): fixed another unboundlocalerror 2023-12-15 21:57:12 -05:00
5a656ef9a0
fix(moderation): fixed unboundlocalerror 2023-12-15 21:56:12 -05:00
c2c8644d43
fix(moderation): fixed changes in imports 2023-12-15 21:51:51 -05:00
418cff9de6
fix(moderation): guild.id instead of guild 2023-12-15 21:47:48 -05:00
461f52a1d1
fix(moderation): fixed NotFound errors 2023-12-15 21:46:06 -05:00