Commit graph

982 commits

Author SHA1 Message Date
1990b97518
fix(aurora): ignore moderation cases where the moderation_id is 0 2024-06-02 23:59:17 -04:00
641f45d126
feat(aurora): add the from_sql_all classmethod to the Moderation model 2024-06-02 23:53:19 -04:00
73c9104882
fix(aurora): cast to string before checking length to avoid typeerrors when reason is None 2024-05-24 04:26:58 -04:00
5b64ee9578
feat(aurora): add metadata to evidenceformat 2024-05-24 04:22:42 -04:00
bfb4d8768d
fix(aurora): add moderation metadata to the log factory 2024-05-24 04:18:17 -04:00
7f71ca3d6d
fix(aurora): change interval metadata 2024-05-24 04:16:48 -04:00
3dcc637920
fix(aurora): avoid keyerrors 2024-05-24 04:15:27 -04:00
9a4f19f4a1
fix(aurora): show metadata key/value pairs in /case 2024-05-24 04:12:28 -04:00
7a9c9846de
fix(aurora): fixed a broken from_id method 2024-05-24 04:09:27 -04:00
0cc7d6079d
fix(aurora): removed useless debug statement 2024-05-24 04:06:05 -04:00
ed923f1d9b
fix(aurora): finally actually maybe fixed the pydantic validation error 2024-05-24 04:04:21 -04:00
39cb5feb50
misc(aurora): adding temporary debug logging 2024-05-24 04:02:15 -04:00
c90796f6b3
fix(aurora): hopefully actually fixed the pydantic validation error 2024-05-24 04:01:15 -04:00
0b1d1d29e6
fix(aurora): hopefully fixed a pydantic validation error 2024-05-24 03:57:54 -04:00
599ab8c51d
fix(aurora): fixed a non-async function being awaited 2024-05-24 03:56:32 -04:00
797fd561c9
fix(aurora): fixed another typeerror 2024-05-24 03:53:38 -04:00
51d3245703
fix(aurora): fixed a typeerror in Moderation.log() 2024-05-24 03:51:43 -04:00
0411e3dab7
fix(aurora): fixed a typeerror in the check_moddable function 2024-05-24 03:49:55 -04:00
67b33a2eb8
feat(aurora): added a slowmode command 2024-05-24 03:46:20 -04:00
dc51aa7bdc
fix(aurora): import fixes 2024-05-09 21:27:26 -04:00
904fd1c914
fix(aurora): fixed more import errors 2024-05-06 21:46:01 -04:00
92d221ff70
fix(aurora): forgot a file! 2024-05-06 21:43:08 -04:00
d91a4f49f9
fix(aurora): fixed import errors 2024-05-06 21:39:43 -04:00
ab878739c4
misc(aurora): pep 604 compliance 2024-05-06 21:04:08 -04:00
946e14ee3c
fix(aurora): something idk 2024-05-06 20:45:22 -04:00
bcc4aa384f
fix(aurora): hopefully fixed the module not found issue? 2024-05-06 17:41:14 -04:00
260dd3ef4c
fix(aurora): fixing a ModuleNotFound error 2024-05-06 17:35:43 -04:00
c69b3cd032
misc(aurora): import change 2024-05-06 17:33:28 -04:00
2b79e3b6a8
fix(aurora): added an __init__.py to a directory that was missing one 2024-05-06 17:29:57 -04:00
7dfe94869c
misc(aurora): codebase cleanup 2024-05-06 17:23:59 -04:00
ac8cefd779
fix(aurora): pylint fixes 2024-05-06 16:47:21 -04:00
09471a4027
misc(aurora): change the logging severity of Change.from_dict()'s logs to trace 2024-05-06 16:39:13 -04:00
15ccd5530a
fix(aurora): fixed a few unboundlocalerrors 2024-05-06 16:37:52 -04:00
bb5ab8e61b
fix(aurora): make Moderration.from_result() return a Moderation object instead of a dictionary 2024-05-06 16:36:27 -04:00
c2e017339e
fix(aurora): fixed a broken classmethod 2024-05-06 16:35:06 -04:00
d7ca5cab46
feat(aurora): cleaned up the codebase and fixed a whole bunch of bugs 2024-05-06 16:34:08 -04:00
53b67e1c95
fix(aurora): convert results into a dictionary before making a Moderation instance out of them 2024-05-06 16:07:35 -04:00
d7a8fbe367
fix(aurora): ignore moderations with the id 0 in the history command 2024-05-06 16:02:00 -04:00
f8968e8e9e
feat(aurora): updated /history command 2024-05-06 15:59:43 -04:00
834d116b20
fix(aurora): fixed a syntax error 2024-05-06 15:32:01 -04:00
d375716fbf
feat(aurora): added a resolve function to the Moderation model 2024-05-06 15:29:48 -04:00
dcda128f11
fix(aurora): edit command will now edit reasons as intended 2024-05-06 15:15:54 -04:00
16af26f93e
fix(aurora): fixed a logging statement 2024-05-06 15:11:11 -04:00
5be5a39c54
fix(aurora): check type of dictionary in debug log 2024-05-06 15:06:10 -04:00
e14845ef85
fix(aurora): make sure the user_id in changes is always an integer 2024-05-06 15:03:41 -04:00
8d1a57165d
fix(aurora): added debug logging 2024-05-06 15:00:54 -04:00
a4e11fd828
fix(aurora): fixing some model stuff 2024-05-06 14:55:36 -04:00
9c7e0b0b89
fix(aurora): fixed a missing parameter 2024-05-06 14:48:16 -04:00
1e865643a0
fix(aurora): fixed duration being a timedelta in case_safe 2024-05-06 14:45:04 -04:00
b7b6dc2f2e
fix(aurora): don't convert end_timestamp to an integer 2024-05-06 14:44:06 -04:00