Commit graph

859 commits

Author SHA1 Message Date
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
28bcb48abc
misc(moderation): added aliases to moderationset
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 47s
2023-12-15 10:06:35 -05:00
939ecebb50
fix(moderation): fixed history config settings
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 46s
2023-12-15 10:05:07 -05:00
1bd0a6d23b
feat(moderation): case's ephemeral toggle will now be handled by the history_ephemeral config
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 51s
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
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 47s
2023-12-15 09:59:32 -05:00
2788cc57f0
fix(moderation): stringify parsed_time
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 49s
2023-12-14 21:27:45 -05:00
8ad36c8b42
fix(moderation): fixed blacklist add command
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 48s
2023-12-14 21:26:23 -05:00
0630804267
fix(moderation): fixed embeds in blacklist list and immunity list
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 47s
2023-12-14 21:22:37 -05:00
1fdd8b1e36
fix(moderation): awaited coroutines
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 48s
2023-12-14 21:21:40 -05:00
154e871dfc
feat(moderation): added configuration to add immune roles and blacklist types
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 48s
2023-12-14 21:19:14 -05:00
b55e3da63e
fix(moderation): fixed cases sometimes not exporting as files
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 46s
2023-12-14 20:32:46 -05:00
eed3ad1748
fix(moderation): pylint fix
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 46s
2023-12-14 20:29:48 -05:00
817f2d8622
feat(moderation): added embed generator for changes
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 47s
2023-12-14 20:27:07 -05:00
5f5fe459cb
misc(moderation): changed all case_number arguments to case
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 47s
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
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 47s
2023-12-14 20:06:57 -05:00
716e7a70f6
fix(moderation): added docstring to export argument in case command
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 48s
2023-12-14 20:00:03 -05:00
eb9cb459fd
feat(moderation): added exporting cases
Some checks failed
Pylint / Pylint (3.10) (push) Has been cancelled
2023-12-14 19:59:22 -05:00
8929a2c190
feat(moderation): resolving moderations now logs in the changes list
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 46s
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
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 46s
2023-12-14 19:42:19 -05:00
bde7c69086
fix(moderation): assume case['changes'] is already a list
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 46s
2023-12-14 19:41:25 -05:00
c7e84c40d1
feat(moderation): added edit command
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 46s
2023-12-14 19:38:35 -05:00