Commit graph

124 commits

Author SHA1 Message Date
04223c3c55
Merge branch 'main' into aurora-pydantic 2024-06-04 11:48:15 -04:00
9b0f977016
feat(aurora): moved get_next_case_number() into the Moderation class, along with removing from_sql and get_all_cases. also added some other classmethods to replace those.
also modified message_factory and its calls to add a new kwarg
2024-06-04 00:04:11 -04:00
bbe8b281d1
misc(aurora): changed two typehints in aurora.utilities.utils and added other typehints 2024-06-03 23:46:22 -04:00
be253b668b
feat(aurora): converted /history to use the new Moderation sql queries 2024-06-03 01:07:00 -04:00
d646754466
feat(aurora): added a bunch of functionality to the Moderation model 2024-06-03 00:47:56 -04:00
76f176d4cc
feat(aurora): change history to use Moderation.from_sql_all() 2024-06-03 00:22:32 -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
7f71ca3d6d
fix(aurora): change interval metadata 2024-05-24 04:16:48 -04:00
9a4f19f4a1
fix(aurora): show metadata key/value pairs in /case 2024-05-24 04:12:28 -04:00
67b33a2eb8
feat(aurora): added a slowmode command 2024-05-24 03:46:20 -04:00
1405dae49e
fix(aurora): add roles to evidenceformat 2024-05-20 20:59:01 -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
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
15ccd5530a
fix(aurora): fixed a few unboundlocalerrors 2024-05-06 16:37:52 -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
dcda128f11
fix(aurora): edit command will now edit reasons as intended 2024-05-06 15:15:54 -04:00
dc44e8c6de
feat(aurora): migrated /edit to the new model system 2024-05-04 22:01:32 -04:00
2c336ff70c
fix(aurora): fixed a faulty expiration check 2024-05-04 17:15:21 -04:00
6147c8c6d5
feat(aurora): whole bunch of changes to the models and various other things 2024-05-04 16:54:12 -04:00
7dfd9c607a
misc(aurora): moved some stuff around 2024-05-04 15:25:05 -04:00
ca1722fee3
feat(aurora): migrated to a custom json encoder 2024-05-04 15:05:50 -04:00
bd48b43517
fix(aurora): reduced view timeouts to 60 seconds 2024-05-03 22:21:28 -04:00
d6f33857a3
feat(aurora): added timeouts to configuration views 2024-05-03 22:20:53 -04:00
6c859d72a8
fix(aurora): pylint fix 2024-05-03 21:45:04 -04:00
af108519f9
feat(aurora): imma be real chief i have no idea what i did this commit 2024-05-03 21:35:29 -04:00
a641b11daa
fix(aurora): fixed the incorrect moderation type being passed to message_factory in /removerole 2024-05-03 21:02:16 -04:00
cd514d0535
fix(aurora): fixed removerole adding roles instead of removing them 2024-05-03 20:56:07 -04:00
908fed37bc
fix(aurora): fixed a TypeError in the expiry handler task 2024-05-03 20:52:29 -04:00
7ef13016d9
fix(aurora): fixed an AttributeError in the expiry handler 2024-05-03 20:51:02 -04:00
877f5e00d3
fix(aurora): adding some more logging to the expiry task 2024-05-03 20:47:19 -04:00
bcef643349
fix(aurora): fixed an incorrectly named column in on_member_join 2024-05-03 20:44:04 -04:00
1a74ce9130
fix(aurora): fixed a broken logging statement 2024-05-03 20:38:07 -04:00
67142c6458
fix(aurora): added more verbose debug logging to the expiry task 2024-05-03 20:37:01 -04:00
dc8138bd89
fix(aurora): added warning logging to the expiry task 2024-05-03 20:32:02 -04:00
f9e807957f
fix(aurora): why was I trying to raise an exception???? 2024-05-03 20:28:26 -04:00
8e59b5a4bd
fix(aurora): added a missing ; to an sql statement 2024-05-03 20:25:42 -04:00
6966ea1613
fix(aurora): added a missing ) in an sql query 2024-05-03 20:24:16 -04:00
752a41855a
fix(aurora): actually fixed the string concatenation bug 2024-05-03 20:21:30 -04:00
0642d5eb42
fix(aurora): fixed a bug in addrole and removerole with string concatenation 2024-05-03 20:18:29 -04:00
ebf739b563
feat(aurora): added a listener to readd roles to a user on guild join 2024-05-03 20:10:26 -04:00
f6b827c64f
feat(aurora): added expiry handling for addrole and removerole 2024-05-03 20:09:48 -04:00