Commit graph

449 commits

Author SHA1 Message Date
290ac5947f
fix(aurora): actually fixed the previous TypeError 2024-08-12 17:44:39 -04:00
c134a3ed18
fix(aurora): maybe fixed a TypeError?
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 41s
2024-08-12 17:42:46 -04:00
9726b1423c
fix(aurora): fixed a ModuleNotFoundError being caused by a typo
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 42s
2024-08-12 17:40:17 -04:00
9c345ed96b
feat(aurora): add per-type configuration options and a menu to configure them
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 42s
none of the options do anything yet, this is just creating the configuration keys and the menu to modify them
2024-08-12 17:39:13 -04:00
de06490050
fix(aurora): typo
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 41s
2024-08-10 13:51:17 -04:00
2e3640b738
fix(aurora): make on more accurate
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 41s
2024-08-10 13:50:47 -04:00
cb424ed722
fix(aurora): fixed another OperationalError
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 39s
2024-08-10 13:44:18 -04:00
f3246366ff
fix(aurora): fixed Moderation.get_latest() breaking when using only before and after, and no other kwargs
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 39s
2024-08-10 13:42:15 -04:00
14750787b2
fix(aurora): cast timestamps to integers
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 39s
2024-08-10 13:34:15 -04:00
14dc256919
fix(aurora); log when Modereation.execute() fails with an operationalerror
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 41s
2024-08-10 13:32:37 -04:00
49cf7c9005
feat(aurora): switch from dateparser to dateutil and add on parameter to history command
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 42s
2024-08-10 13:27:49 -04:00
1a3af342df
feat(aurora): allow for querying moderation history by date (before/after)
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 42s
2024-08-10 13:17:16 -04:00
7f0bd8c1a8
fix(aurora): fixed the Moderation.update() method being broken
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 43s
2024-07-12 16:33:00 -04:00
6edda87baa
fix(aurora): add a resolve_handler to AddRole (oops!)
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 44s
2024-07-12 16:30:34 -04:00
b379584251
fix(aurora): fixed a TypeError in the note and warn handlers
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 41s
2024-07-12 16:05:05 -04:00
f1e763673b
fix(aurora): legitimately the final pylint fixes for now
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 42s
2024-07-12 16:02:19 -04:00
c4c5b323a3
fix(aurora): ACTUALLY final pylint fixes
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 45s
2024-07-12 15:58:15 -04:00
ea12d362df
fix(aurora): final pylint fixes
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 44s
2024-07-12 15:55:16 -04:00
8d03022453
fix(aurora): more pylint fixes
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 48s
2024-07-12 15:52:27 -04:00
63e6f4b552
fix(aurora): pylint fixes
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 49s
2024-07-12 15:49:54 -04:00
47c8116ee0
misc(aurora): removed useless whitespace from the top of a file
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 43s
2024-07-12 15:42:58 -04:00
ad0d981888
fix(aurora): hopefully fixed a pydantic schema error
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 42s
2024-07-12 15:28:39 -04:00
e2b0fc999a
feat(aurora): finishing up moderation handlers
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 46s
2024-07-12 15:22:24 -04:00
9d0f2e3887
misc(aurora): send evidenceformat to dms if send_evidenceformat is called outside of an Interaction context, as epheremal messages would be disabled in this case 2024-07-06 18:58:04 -04:00
461fbf83ee
fix(aurora): use phx-class-registry instead of class-registry 2024-07-06 14:23:56 -04:00
9faf1b027c
misc(aurora): typehints
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 40s
2024-07-06 13:39:01 -04:00
ec32e19b8b
fix(aurora): pass a Type instead of a string
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 42s
2024-07-06 13:24:44 -04:00
9f747a77ca
fix(aurora): fixed a history call to Moderation.type that was causing a TypeError
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 41s
2024-07-06 13:16:53 -04:00
6d0d79c6c7
fix(aurora): properly skip over case 0
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 37s
2024-07-06 13:15:06 -04:00
13874dd4f0
fix(aurora): add a debug logging statement
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 25s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 38s
2024-07-06 13:12:47 -04:00
aae4370868
misc(aurora): fixed an incorrect string
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 25s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 41s
2024-07-06 13:10:47 -04:00
37bae2eeb3
fix(aurora): add a softban type
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 40s
2024-07-06 13:10:09 -04:00
8f0425456c
feat(aurora): boilerplate for all currently added moderation types
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 40s
2024-07-06 13:03:59 -04:00
a05e957dde
fix(aurora): fixed a json encoder issue that was causing an attributeerror
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 41s
2024-07-06 12:29:43 -04:00
0c628cf2a2
fix(aurora): fixed a TypeError
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 39s
2024-07-06 12:27:59 -04:00
bf945ec9f1
fix(aurora): fixed some stuff up
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 42s
2024-07-06 12:23:06 -04:00
54ac77ceb9
fix(aurora): fix `__str__() method of the Type` class
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 39s
2024-07-06 12:16:15 -04:00
b85932c338
feat(aurora): use resolve handlers 2024-07-06 12:15:39 -04:00
08512d0dad
feat(aurora): use the type_registry in the Moderation object
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 41s
2024-07-06 12:03:49 -04:00
134e787c42
fix(aurora): fixed the Moderation.get_target method trying to get a channel object from a user id
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 42s
2024-07-06 11:58:46 -04:00
127dd564f5
fix(aurora): use the verb for message embed titles
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 24s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 39s
2024-07-06 11:55:05 -04:00
88cc7b4a3f
fix(aurora): fixed another attributeerror
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 37s
2024-07-06 11:53:39 -04:00
dd89bfaf34
fix(aurora): checking against the wrong bool value for silent
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 39s
2024-07-06 11:52:19 -04:00
ee49d5b10c
misc(aurora): make target_type lowercase 2024-07-06 11:50:59 -04:00
fac00feeef
fix(aurora): fixed another AttributeError
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 41s
2024-07-06 11:47:56 -04:00
f2a88cbf94
fix(aurora): fixed an AttributeError
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 40s
2024-07-06 11:46:13 -04:00
aeec616be5
fix(aurora): assume that ctx is a commands.Context object before trying to use it in moderate
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 25s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 38s
2024-07-06 11:32:33 -04:00
9f068bba6f
feat(aurora): starting on the updated moderation type system
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 40s
2024-07-06 11:30:37 -04:00
fcecfe8e88
fix(aurora): fixed an issue in the galacticbot importer
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 40s
2024-07-05 19:14:03 -04:00
2aadf5134d
fix(aurora): use f-strings
Some checks failed
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 39s
Actions / Build Documentation (MkDocs) (pull_request) Failing after 26s
2024-07-05 19:03:44 -04:00