Commit graph

109 commits

Author SHA1 Message Date
ca50deedd5
feat(aurora): renamed moderation cog to aurora, converted to sqlite3 2023-12-28 04:23:55 -05:00
4e40bb6a32
fix(moderation): use ceil instead of round for moderation pagesize 2023-12-21 17:47:13 -05:00
390d786094
fix(moderation): pylint fixes 2023-12-18 19:02:37 -05:00
faebd2629c
fix(moderation): pylint fixes 2023-12-18 19:00:16 -05:00
52c074a96e
fix(moderation): removed old config command 2023-12-18 18:41:39 -05:00
8335e63bfa
feat(moderation): updated configs 2023-12-18 18:40:07 -05:00
1c624ee8ab
fix(moderation): fixed lookuperror 2023-12-18 18:34:53 -05:00
6b95743e73
fix(moderation): fixed failing to load 2023-12-18 18:34:15 -05:00
d4dae2f770
feat(moderation): added auto_evidenceformat 2023-12-18 18:33:37 -05:00
424a22672b
fix(moderation): fixed case command's evidenceformat option 2023-12-18 17:42:50 -05:00
c3767d919b
feat(moderation): added evidenceformat 2023-12-18 17:41:58 -05:00
89facfe663
misc(moderation): isort'd the cog 2023-12-18 17:24:40 -05:00
1aa630656c
fix(moderation): hopefully fixed import errors 2023-12-18 17:09:15 -05:00
b870e7e76f
misc(moderation): moved files into utils folder 2023-12-18 17:01:50 -05:00
d3bd68f9b0
fix(moderation): close database/cursor 2023-12-18 16:35:38 -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
c7f7d29be5
feat(moderation): updated the main file to use the config object from config.py 2023-12-18 15:57:51 -05:00
e32e91180a
fix(moderation): fixed resolve command not marking logs as resolved 2023-12-18 15:20:16 -05:00
855c3845ef
fix(moderation): fixed importing reasons again 2023-12-17 13:04:08 -05:00
ee7b64cc78
fix(moderation): fixed importing reasons 2023-12-17 13:00:43 -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
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
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