Commit graph

230 commits

Author SHA1 Message Date
75109e0834
misc(moderation): moved a bunch of functionality to other files to reduce the length of the main file and improve code maintainability
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 48s
2023-12-17 02:16:44 -05:00
209ca2998d
fix(moderation): fixed broken mysql query
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 53s
2023-12-17 00:07:47 -05:00
0422b15985
fix(moderation): fixed broken mysql statement
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 49s
2023-12-17 00:04:04 -05:00
b82e1f3f84
moderation(feat): added metadata json field to the db
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 54s
2023-12-17 00:02:07 -05:00
d2b1c27181
fix(moderation): fixed case number formatting
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 49s
2023-12-16 21:28:09 -05:00
b270e1724d
fix(moderation): fixed blacklist autocomplete
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 50s
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
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 51s
2023-12-16 21:02:54 -05:00
2703fb2fc0
fix(moderation): fixed an f string
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 59s
2023-12-16 20:49:24 -05:00
7e6ad9f6e3
fix(moderation): fixing durations n such
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 1m0s
2023-12-16 20:43:01 -05:00
d4095846ad
fix(moderation): set durations of 0 to NULL instead of a timedelta representing 0 seconds
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 54s
2023-12-16 20:31:50 -05:00
95a2e3b520
fix(moderation): fix kick command
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 52s
2023-12-16 20:29:54 -05:00
53003efb89
fix(moderation): fixed broken duration imports
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 50s
2023-12-16 20:20:45 -05:00
cef337132b
feat(moderation): format case numbers
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 54s
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
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 47s
2023-12-16 14:45:17 -05:00
44aaf4b320
misc(moderation): changed formatting of mysql_log method call in import galacticbot
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 46s
2023-12-16 14:44:05 -05:00
30ea17cfb6
fix(moderation): reverted previous changes (they dont work lmao)
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 50s
2023-12-16 13:55:50 -05:00
d300ba60da
fix(moderation): infinite loop
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 50s
2023-12-16 13:53:38 -05:00
c700782e17
fix(moderation): galacticbot import loop should no longer be blocking
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 52s
2023-12-16 13:35:12 -05:00
59f0375ad5
fix(moderation): limited pagesize to 20
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 47s
2023-12-15 22:28:42 -05:00
f12f4b5406
fix(moderation): reduced maximum reason size in history embeds from 150 to 125
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 48s
2023-12-15 22:24:29 -05:00
d67f73ab91
feat(moderation): un-hid galacticbot importing
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 50s
2023-12-15 22:14:30 -05:00
c8a32058f1
fix(moderation): silently fail if an overflow error is encountered
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 46s
2023-12-15 22:13:38 -05:00
8da6288263
fix(moderation): testing a fix for timedelta fixes
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 48s
2023-12-15 22:06:17 -05:00
5e45da84fc
fix(moderation): rounded timedelta
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 45s
2023-12-15 22:02:24 -05:00
26225d3774
fix(moderation): fixed variable name
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 51s
2023-12-15 21:58:25 -05:00
2adf7ed811
fix(moderation): fixed another unboundlocalerror
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 46s
2023-12-15 21:57:12 -05:00
5a656ef9a0
fix(moderation): fixed unboundlocalerror
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 47s
2023-12-15 21:56:12 -05:00
c2c8644d43
fix(moderation): fixed changes in imports
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 47s
2023-12-15 21:51:51 -05:00
418cff9de6
fix(moderation): guild.id instead of guild
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 47s
2023-12-15 21:47:48 -05:00
461f52a1d1
fix(moderation): fixed NotFound errors
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 47s
2023-12-15 21:46:06 -05:00
e562ef2742
fix(moderation): fixed mysql_log
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 47s
2023-12-15 21:33:26 -05:00
0c28d362be
feat(moderation): added galacticbot importing
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 49s
2023-12-15 21:31:00 -05:00
623d44b98b
misc(moderation): bolded some formatting in a response message
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 47s
2023-12-15 17:54:53 -05:00
8b8f05ce50
fix(moderation): fixed audit log logging 2023-12-15 17:54:38 -05:00
fd71f176f9
misc(moderation): added commented-out placeholders for the blacklist commands 2023-12-15 17:38:53 -05:00
c07e3cc095
feat(moderation): added a changes field to the case embed
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 48s
2023-12-15 15:47:29 -05:00
0f16b0eee9
fix(moderation): fixed incorrect string
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 49s
2023-12-15 14:08:16 -05:00
bfad13a40c
feat(moderation): added command to configure the use_discord_permissions value
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 48s
2023-12-15 14:07:21 -05:00
16bd2f70de
fix(moderation): awaited coroutines
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 51s
2023-12-15 13:56:22 -05:00
4401b0419e
feat(moderation): added check_moddable
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 1m9s
2023-12-15 13:54:58 -05:00
0905430ad5
fix(moderation): fixed classmethod being in a sql query
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 46s
2023-12-15 11:22:25 -05:00
6dae7f9442
fix(moderation): fixed mysql_log trying to use a python list instead of a json dump
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 46s
2023-12-15 10:52:37 -05:00
87703daaf4
fix(moderation): fixed exporting cases
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 46s
2023-12-15 10:41:38 -05:00
8c347dd1f0
feat(moderation): added aliases (view, show) to moderationset list
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 47s
2023-12-15 10:36:52 -05:00
7d4277f454
misc(moderation): immune roles and blacklist types will no longer show up in moderationset list 2023-12-15 10:36:19 -05:00
af9db8cc58
fix(moderation): hopefully fixed exports not exporting as files 2023-12-15 10:35:55 -05:00
e91cd10ce6
fix(moderation): check inline before checking pagesize
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 46s
2023-12-15 10:13:40 -05:00
f6a915b030
fix(moderation): history now properly utilizes the epheremal config option
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 46s
2023-12-15 10:10:22 -05:00