Commit graph

560 commits

Author SHA1 Message Date
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
e562ef2742
fix(moderation): fixed mysql_log 2023-12-15 21:33:26 -05:00
0c28d362be
feat(moderation): added galacticbot importing 2023-12-15 21:31:00 -05:00
623d44b98b
misc(moderation): bolded some formatting in a response message 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 2023-12-15 15:47:29 -05:00
0f16b0eee9
fix(moderation): fixed incorrect string 2023-12-15 14:08:16 -05:00
bfad13a40c
feat(moderation): added command to configure the use_discord_permissions value 2023-12-15 14:07:21 -05:00
16bd2f70de
fix(moderation): awaited coroutines 2023-12-15 13:56:22 -05:00
4401b0419e
feat(moderation): added check_moddable 2023-12-15 13:54:58 -05:00
0905430ad5
fix(moderation): fixed classmethod being in a sql query 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 2023-12-15 10:52:37 -05:00
87703daaf4
fix(moderation): fixed exporting cases 2023-12-15 10:41:38 -05:00
8c347dd1f0
feat(moderation): added aliases (view, show) to moderationset list 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 2023-12-15 10:13:40 -05:00
f6a915b030
fix(moderation): history now properly utilizes the epheremal config option 2023-12-15 10:10:22 -05:00
28bcb48abc
misc(moderation): added aliases to moderationset 2023-12-15 10:06:35 -05:00
939ecebb50
fix(moderation): fixed history config settings 2023-12-15 10:05:07 -05:00
1bd0a6d23b
feat(moderation): case's ephemeral toggle will now be handled by the history_ephemeral config 2023-12-15 10:02:54 -05:00
b01a2bbb21
fix(moderation): added message to case's change argument response if no changes have been made 2023-12-15 09:59:32 -05:00
2788cc57f0
fix(moderation): stringify parsed_time 2023-12-14 21:27:45 -05:00
8ad36c8b42
fix(moderation): fixed blacklist add command 2023-12-14 21:26:23 -05:00
0630804267
fix(moderation): fixed embeds in blacklist list and immunity list 2023-12-14 21:22:37 -05:00
1fdd8b1e36
fix(moderation): awaited coroutines 2023-12-14 21:21:40 -05:00
154e871dfc
feat(moderation): added configuration to add immune roles and blacklist types 2023-12-14 21:19:14 -05:00
b55e3da63e
fix(moderation): fixed cases sometimes not exporting as files 2023-12-14 20:32:46 -05:00
eed3ad1748
fix(moderation): pylint fix 2023-12-14 20:29:48 -05:00
817f2d8622
feat(moderation): added embed generator for changes 2023-12-14 20:27:07 -05:00
5f5fe459cb
misc(moderation): changed all case_number arguments to case 2023-12-14 20:16:25 -05:00
ea9d8fb201
feat(moderation): case exports will now export as codeblocks instead of files if they are less than 1,800 characters in length 2023-12-14 20:06:57 -05:00
716e7a70f6
fix(moderation): added docstring to export argument in case command 2023-12-14 20:00:03 -05:00
eb9cb459fd
feat(moderation): added exporting cases 2023-12-14 19:59:22 -05:00
8929a2c190
feat(moderation): resolving moderations now logs in the changes list 2023-12-14 19:57:43 -05:00
d623622d3b
fix(moderation): implemented a solution for people editing moderations more than 25 times 2023-12-14 19:45:27 -05:00
43528397e8
fix(moderation): dump changes to json before adding to mysql database 2023-12-14 19:42:19 -05:00
bde7c69086
fix(moderation): assume case['changes'] is already a list 2023-12-14 19:41:25 -05:00