Commit graph

322 commits

Author SHA1 Message Date
d13ad88f16
fix(aurora): fixed a whole bunch of pydantic errors 2024-05-04 17:09:22 -04:00
6147c8c6d5
feat(aurora): whole bunch of changes to the models and various other things 2024-05-04 16:54:12 -04:00
2dfc9d9824
fix(aurora): use AuroraBaseModels for the JSONEncoder class instead of just pydantic ones to prevent issues with other data types 2024-05-04 15:37:07 -04:00
ca7c0d8d7c
fix(aurora): use pydantic basemodels instead of the Moderation model 2024-05-04 15:33:49 -04:00
98f3e5943b
fix(aurora): fixed incorrect kwarg name 2024-05-04 15:29:01 -04:00
7dfd9c607a
misc(aurora): moved some stuff around 2024-05-04 15:25:05 -04:00
df87612055
feat(aurora): added imported_timestamp to metadata on new imports 2024-05-04 15:13:31 -04:00
58303b8e9c
feat(aurora): added a to_json method to the moderation model 2024-05-04 15:08:08 -04:00
ca1722fee3
feat(aurora): migrated to a custom json encoder 2024-05-04 15:05:50 -04:00
69805b276f
fix(aurora): fixed an issue with json decoding 2024-05-04 14:58:24 -04:00
25d7101cb5
fix(aurora): testing a potential bugfix 2024-05-04 14:55:17 -04:00
92f9619cea
fix(aurora): added two conditional statements to fix an error 2024-05-04 14:54:14 -04:00
1d825625f3
fix(aurora): fixed some broken conditional statements 2024-05-04 14:53:04 -04:00
ea65816c32
fix(aurora): fixed an incorrect if statement 2024-05-04 14:51:22 -04:00
afed1d6a37
feat(aurora): changed a lot of stuff. THIS IS A BREAKING CHANGE! VERY BREAKING! TAKE DATABASE BACKUPS BEFORE UPDATING TO THIS 2024-05-04 14:49:07 -04:00
e8ca0aeb1c
fix(aurora): convert float timestamps to integers 2024-05-04 14:19:48 -04:00
2da76eb51a
feat(aurora): subclassed jsonencoder to allow for custom behavior 2024-05-04 14:18:19 -04:00
e5cdd3893f
fix(aurora): cleaned up the Moderation model 2024-05-04 14:08:53 -04:00
14a04cff59
fix(aurora): fixed an error 2024-05-04 13:48:57 -04:00
f3d6244a17
fix(aurora): optimizing the from_sql method 2024-05-04 13:47:07 -04:00
b6d1510698
fix(aurora): fixed a broken import 2024-05-04 13:42:58 -04:00
c0969ea947
feat(aurora): added a Moderation model 2024-05-04 13:41:11 -04:00
c618f9be72
fix(aurora): updated the aurora importer to have all of the currently implemented moderation types 2024-05-04 12:57:27 -04:00
76e9c1ec0d
fix(aurora): default timeouts to None instead of 0 2024-05-03 22:25:03 -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
1d1795c262
fix(aurora): added addrole/removerole support to case_factory 2024-05-03 21:42:02 -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
38b0580228
fix(aurora): updated message_factory for addrole support 2024-05-03 21:01:11 -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
b8a4d247f8
fix(aurora): fixed a bug in /case with exports to codeblocks being improperly formatted 2024-05-03 20:09:23 -04:00
a7fcbc4dab
feat(aurora): implemented removerole command 2024-05-03 20:08:57 -04:00
acb737f0a6
fix(aurora): fixed a broken button in the guild config menu 2024-04-26 16:14:30 -04:00
4344d26096
feat(AntiPolls): added the cog 2024-04-16 10:44:05 -04:00
df970717c2
feat(aurora): added sorting based on role position for the addrole and immune role configuration embeds 2024-04-08 11:57:28 -04:00
97b54b507b
fix(aurora): fixed an issue with adding multiple immune roles/addrole roles at once 2024-04-08 11:46:22 -04:00
0955282325
fix(aurora): do not run handle_expiry before Red is ready 2024-04-08 06:24:34 -04:00
833d6954cc
misc(repo): changed all logger names 2024-04-08 05:55:35 -04:00
9f7244cd65
feat(Aurora): added a respect_hierarchy configuration option and relevant configuration button to [p]aurora set guild, along with functionality that uses this configuration value 2024-04-05 10:43:58 -04:00
a4f2d21fa1
fix(aurora): fixed a minor issue in utilities.utils.get_bool_emoji 2024-04-05 10:42:13 -04:00
5adaca755d
feat(aurora): added documentation link to cog-level help embed 2024-03-29 07:17:39 -04:00
4c603eea46
misc(aurora): version bump 2024-03-08 15:39:37 -05:00
92e8ee2dc2
fix(aurora): removed humanize from factory.py 2024-03-08 15:01:24 -05:00
99dddf2fa7
fix(aurora): remove humanize 2024-03-08 14:56:50 -05:00
ba7a5f9208
fix(aurora): fixed an out of range value error if you ban someone for 30000000 years 2024-03-08 14:30:57 -05:00
ddb9f30d6f
fix(aurora): added returns to the errors in the timedelta and relativedelta commands 2024-03-08 14:27:50 -05:00
3b5932bac9
fix(aurora): fixed broken help formatting 2024-03-08 14:21:26 -05:00
f4efcb8ea5
feat(aurora): migrated to Red's builtin timedelta/relativedelta parsing 2024-03-08 14:19:48 -05:00
178a92559c
feat(repo): added help formatters for version numbers to cogs that have them and migrated to using red's inbuilt loggers instead of logging.getLogger 2024-03-07 03:38:34 -05:00
497f6a0a1a
fix(repo): changed all loggers to red.seacogs.<cog_name> instead of red.sea.<cog_name> 2024-03-07 01:32:27 -05:00
95a947b019
fix(aurora): fixed a dangerous-default-value pylint warning in database.mysql_log() 2024-02-28 11:01:33 -05:00
84543fbd73
fix(aurora): more pylint fixes 2024-02-28 10:58:57 -05:00
bd3a08fe97
fix(aurora): pylint fixes 2024-02-28 10:56:13 -05:00
858a1bae8a
fix(repo): ruff fixes / removing pylint exceptions 2024-02-14 11:04:26 -05:00
9c293750cb
fix(aurora): ruff fixes 2024-02-14 10:39:26 -05:00
eafd02bb53
feat(workflow): switch to ruff for code linting 2024-02-14 10:35:57 -05:00
1aa12e88ac
fix(aurora): fixed unknown user in history command 2024-02-13 18:28:06 -05:00
69482c9f45
fix(aurora): fixed a NoneType error in utils.fetch_user_dict() 2024-02-13 18:25:32 -05:00
35ad7a77a7
fix(aurora): require ids to be ints in some utlis functions 2024-02-13 23:19:41 +00:00
f7d2f1a564
misc(aurora): less restrictive type requirements for some utils functions 2024-02-13 23:18:44 +00:00
db7c06b044
misc(aurora): adding typechecks to return values in utils 2024-02-13 23:02:13 +00:00
3506274a2a
fix(aurora): actually fixed pylint error 2024-02-03 13:44:08 -05:00
09ce2c7d73
fix(aurora): pylint fix 2024-02-03 13:41:57 -05:00
0ccad57476
fix(aurora): pylint fix 2024-02-02 12:55:34 -05:00
6be92f05db
fix(aurora): fixed /history not showing roles correctly 2024-02-02 12:16:41 -05:00
ba5b128afc
fix(aurora): figuring out why I can't get a role from an id 2024-02-02 12:09:45 -05:00
7d2b71667a
fix(aurora): fixing user dm messages in addrole 2024-02-02 12:05:05 -05:00
21dabccb48
fix(aurora): fixed mysql_log in addrole (again) 2024-02-02 11:54:01 -05:00
c1d2e6d28a
fix(aurora): fixed mysql_log in addrole 2024-02-02 11:53:08 -05:00
5b18b6612a
fix(aurora): defer before sending the user a message 2024-02-02 11:51:44 -05:00
4d321006c8
fix(aurora): defer the interaction so it doesn't expire 2024-02-02 11:47:51 -05:00
d1afd62114
fix(aurora): fixed hanging 2024-02-02 11:43:27 -05:00
efe16cefac
fix(aurora): cleaning up code more 2024-02-02 11:41:44 -05:00
4ca9760284
fix(aurora): cleaned up addrole 2024-02-02 11:36:46 -05:00
c9c2e1f955
fix(aurora): oops i set reason instead of role 2024-02-02 11:33:17 -05:00
a83a63dd6a
fix(aurora): addrole should take a role argument 2024-02-02 11:32:20 -05:00
018eb5ed28
misc(aurora): version bump 2024-02-02 11:30:20 -05:00
fa3b353704
misc(repository): black reformat 2024-02-02 11:22:08 -05:00
519e3056ab
feat(aurora): added addrole command 2024-02-02 11:21:56 -05:00
960ec4c83a
misc(repo): changing authors in info.json files to match my new discord username 2024-02-01 13:20:37 -05:00
f21526573f
fix(aurora): removed some of the tags from aurora so it fits on the cog index properly 2024-01-31 22:24:33 -05:00
71d99babe5
Added install disclaimer to aurora 2024-01-31 23:37:41 +00:00
fa7faec4c2
feat(repo): updated info.json's of nerdify and aurora 2024-01-16 18:07:20 +00:00
a7d8a20c57
fix(aurora): fixed incorrect example usage for [p]aurora timedelta 2024-01-16 14:29:57 +00:00
950d4abf6a
fix(aurora): pylint fixes 2024-01-16 14:26:54 +00:00
46a290aad3
feat(aurora): merged all of the changes made in the configuration rewrite into the codebase of the cog itself 2024-01-16 14:23:45 +00:00
3b8506cba8
fix(aurora): pylint fixes 2024-01-16 14:08:57 +00:00
fc86db94da
misc(aurora): moved log_channel to the bottom of the guild view 2024-01-16 14:06:50 +00:00
78a5103b1f
fix(aurora): changed up the guild embed a bit 2024-01-16 14:03:58 +00:00
3d4b6800a5
feat(aurora): added configuration menu for guild 2024-01-16 14:02:10 +00:00
4db7c912cb
misc(aurora): changed some strings in the overrides embed 2024-01-16 13:54:48 +00:00
4d8aa465b1
fix(aurora): changed color of close buttons to gray instead of red 2024-01-16 13:44:19 +00:00
fecde10b1c
feat(aurora): added previous commit's functionality to addrole and fixed some bugs 2024-01-16 13:43:22 +00:00
2037f385d1
feat(aurora): allow setting multiple immune roles at once 2024-01-16 13:39:12 +00:00
a4a0ec924a
fix(aurora): fixed another error in the immune embed generator 2024-01-16 13:13:48 +00:00
630381328b
fix(aurora): fixed an error in the immune embed generator 2024-01-16 13:11:25 +00:00
7476fcaa8d
misc(aurora): changed some strings in the addrole and immunity embeds 2024-01-16 13:10:16 +00:00
464fa9f97a
fix(aurora): fixed some errors 2024-01-16 13:06:50 +00:00
4788f3189c
fix(aurora): fixed the addrole embed generator having an outdated config variable name 2024-01-16 13:04:44 +00:00
d8def3cfc8
fix(aurora): fixed a few errors in addrole/immune 2024-01-16 13:03:51 +00:00
89a3e958b2
fix(aurora): rename configuration value 2024-01-16 13:00:00 +00:00
4226f1a14c
fix(aurora): use views for views instead of embeds 2024-01-16 12:59:15 +00:00
4a262dc6a1
fix(aurora): awaited two coroutines 2024-01-16 12:58:18 +00:00
13e82f8768
feat(aurora): added views for addrole and immunity 2024-01-16 12:57:42 +00:00
a88a3dbf65
fix(aurora): fix embed formatting for addrole/immunity 2024-01-16 11:56:04 +00:00
3cbc8a744c
fix(aurora): fixed guild command 2024-01-16 11:53:22 +00:00
45286ded55
feat(aurora): added aurora settings guild command 2024-01-16 11:50:09 +00:00
f97f010dec
fix(aurora): fixed list formatting for real this time 2024-01-16 11:31:16 +00:00
d83e1bf731
fix(aurora): fixed list formatting in overrides embed 2024-01-16 11:30:51 +00:00
aaf6fcaa37
fix(aurora): fixed formatting in overrides embed 2024-01-16 11:29:58 +00:00
7c6322041d
fix(aurora): fixed overrides embed 2024-01-16 11:28:51 +00:00
0bf6143bf3
fix(aurora): fixing some stuff relating to embed generation 2024-01-16 11:24:39 +00:00
4795fac5ac
fix(aurora): use elif instead of if 2024-01-16 11:20:21 +00:00
d20cb4c3bc
fix(aurora): fixed resetting pagesize 2024-01-16 11:18:05 +00:00
56857554e9
fix(aurora): changed a whole bunch of stuff in the user override config menu 2024-01-16 11:11:38 +00:00
045af7788b
fix(aurora): fixed width error 2024-01-16 11:04:28 +00:00
6d7b551f25
fix(aurora): fixed width error 2024-01-16 11:00:46 +00:00
b53ca9cac4
fix(aurora): fixed incorrect decorator (again) 2024-01-16 10:59:02 +00:00
fe50eddc25
fix(aurora): fixed incorrect decorator 2024-01-16 10:58:33 +00:00
c55cb53a41
feat(aurora): added configuration options for all of the user overrides 2024-01-16 10:57:21 +00:00
c0ab9e89f3
fix(aurora): fix boolean conversion in override menu 2024-01-16 10:42:12 +00:00
219b18e34b
fix(aurora): fixed setting overrides not working 2024-01-16 10:39:00 +00:00
a43f3de8bc
fix(aurora): fixed bad request 2024-01-16 10:36:02 +00:00
98a2c463b9
fix(aurora): fixed override embed erroring 2024-01-16 10:33:25 +00:00
7ae16ea258
feat(aurora): moving to select menus for user overrides 2024-01-16 10:31:11 +00:00
ffcaeec653
fix(aurora): applied previous commit's fix to the other buttons 2024-01-15 15:25:09 +00:00
acf2484cbb
fix(aurora): followup.send instead of response.send_message 2024-01-15 15:24:18 +00:00
1e9a6abe74
fix(aurora): you can no longer change other people's overrides 2024-01-15 15:22:36 +00:00
a7f6cff625
fix(aurora): possibly fixed editing the config menu on settings change 2024-01-15 15:20:47 +00:00
a5b0055256
fix(aurora): hopefully fixed erroring views 2024-01-15 15:09:01 +00:00
900eb16aa9
fix(aurora): fixed circular import 2024-01-15 15:01:20 +00:00
14705efddd
feat(aurora): adding the first parts of menu configs 2024-01-15 14:58:53 +00:00
b86a91882f
misc(aurora): added docstrings/modified docstrings for some of the config commands 2024-01-15 14:29:13 +00:00
a7dc1400c4
fix(aurora): fixed UnboundLocalError in configuration.embed._addrole 2024-01-15 14:13:33 +00:00