Commit graph

933 commits

Author SHA1 Message Date
2d33c9ad71
fix(moderation): fixed a bug in the log method
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 55s
2023-10-23 20:23:22 -04:00
7ee1554080
feat(moderation): added discord channel logging for moderations
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 59s
2023-10-23 20:09:17 -04:00
f2e9657eff
misc(moderation): minor docstring change
All checks were successful
Pylint / Pylint (3.10) (push) Successful in 55s
2023-10-22 19:29:51 -04:00
167382a25a
fix(moderation): resolve now requires more permissions
All checks were successful
Pylint / Pylint (3.10) (push) Successful in 53s
2023-10-22 14:17:09 -04:00
d0e36282b5
fix(moderation): check for the correct permission when using unban command
All checks were successful
Pylint / Pylint (3.10) (push) Successful in 56s
2023-10-22 14:15:03 -04:00
4f513a44a9
fix(moderation): kwarg ordering
All checks were successful
Pylint / Pylint (3.10) (push) Successful in 54s
2023-10-22 14:11:16 -04:00
24d756b901
fix(moderation): fixed errors trying to fetch the roles of a user object
All checks were successful
Pylint / Pylint (3.10) (push) Successful in 54s
2023-10-22 14:10:13 -04:00
d752484662
feat(moderation): added checking for role hierarchy issues
All checks were successful
Pylint / Pylint (3.10) (push) Successful in 55s
2023-10-22 14:04:06 -04:00
e61d787edf
feat(moderation): implemented permissions checking 2023-10-22 13:55:54 -04:00
3d2960b37a
feat(moderation): do not run tasks or catch events for guilds that have the cog disabled 2023-10-22 13:28:50 -04:00
1c247636d1
updated info.json's for all cogs in the repository
All checks were successful
Pylint / Pylint (3.10) (push) Successful in 58s
2023-10-22 13:22:44 -04:00
466441265f
fix(pylint): updated poetry installer link
All checks were successful
Pylint / Pylint (3.10) (push) Successful in 56s
2023-10-20 16:18:14 -04:00
d98f631bed
misc(pylint): only run on relevant python version, to speed up action runs
All checks were successful
Pylint / Pylint (3.10) (push) Successful in 55s
2023-10-20 15:36:19 -04:00
88b1a995b4
fix(suggestions): icon_url --> icon.url
All checks were successful
Pylint / Pylint (3.10) (push) Successful in 56s
Pylint / Pylint (3.11) (push) Successful in 51s
Pylint / Pylint (3.9) (push) Successful in 55s
2023-10-20 15:33:26 -04:00
cc6f20c62a Update README.md
All checks were successful
Pylint / Pylint (3.10) (push) Successful in 1m1s
Pylint / Pylint (3.11) (push) Successful in 52s
Pylint / Pylint (3.9) (push) Successful in 54s
2023-10-20 14:37:21 +00:00
2a85daf55b
fix(pylint): updated deps
All checks were successful
Pylint / Pylint (3.10) (push) Successful in 56s
Pylint / Pylint (3.11) (push) Successful in 52s
Pylint / Pylint (3.9) (push) Successful in 55s
2023-10-07 20:01:42 -04:00
7b1071d49a
fix(pylint): lint with supported versions only
Some checks failed
Pylint / Pylint (3.12) (push) Failing after 36s
Pylint / Pylint (3.11) (push) Successful in 54s
2023-10-07 19:56:11 -04:00
75f14c794a
fix(pylint): no sir I do not want to run the same task 1000x times
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 27s
Pylint / Pylint (3.11) (push) Successful in 49s
Pylint / Pylint (3.9) (push) Failing after 26s
2023-10-07 19:54:01 -04:00
0fa58eba3c
feat(pylint): lint 3.10 and 3.9 as well
Some checks reported warnings
Pylint / Pylint (3.10, 3.11.2) (push) Has been cancelled
Pylint / Pylint (3.10, 3.9) (push) Has been cancelled
Pylint / Pylint (3.11, 3.10) (push) Has been cancelled
Pylint / Pylint (3.11, 3.11.2) (push) Has been cancelled
Pylint / Pylint (3.11, 3.9) (push) Has been cancelled
Pylint / Pylint (3.9, 3.10) (push) Has been cancelled
Pylint / Pylint (3.9, 3.11.2) (push) Has been cancelled
Pylint / Pylint (3.9, 3.9) (push) Has been cancelled
Pylint / Pylint (3.10, 3.10) (push) Has been cancelled
2023-10-07 19:53:26 -04:00
52647c6133
feat(pylint): updated pylint workflow to work with amd64 architectures
All checks were successful
Pylint / Pylint (3.11, 3.11.2) (push) Successful in 1m22s
2023-10-07 19:50:58 -04:00
7c6fc32c88
fix(moderation): case 0 will no longer be shown in history, resolve, or case
All checks were successful
Pylint / Pylint (push) Successful in 1m13s
2023-10-06 23:51:42 -04:00
bde82ae975
fix(moderation): history will no longer show case 0
All checks were successful
Pylint / Pylint (push) Successful in 1m13s
2023-10-06 23:48:47 -04:00
5451f31c9f
fix(moderation): added pytimeparse2 to the requirements
All checks were successful
Pylint / Pylint (push) Successful in 1m14s
2023-10-06 23:29:46 -04:00
64669349de
feat(moderation): added command argument descriptions to all slash commands
All checks were successful
Pylint / Pylint (push) Successful in 1m13s
2023-10-06 23:09:55 -04:00
40d2b01de5
fix(moderation): fixed tuple in history command
All checks were successful
Pylint / Pylint (push) Successful in 1m13s
2023-10-06 22:56:47 -04:00
1e59f0cada
feat(moderation): history embeds can now be epheremal
All checks were successful
Pylint / Pylint (push) Successful in 1m16s
2023-10-06 22:55:41 -04:00
3c35eeb29d
feat(moderation): enabled checking history without a user/target or moderator set 2023-10-06 22:55:07 -04:00
9d10e8a635
fix(moderation): whatever i just wont close the cursor
All checks were successful
Pylint / Pylint (push) Successful in 1m13s
2023-10-06 16:26:44 -04:00
e38df7aefe
misc(moderation): removed useless return
All checks were successful
Pylint / Pylint (push) Successful in 1m14s
2023-10-06 16:24:48 -04:00
3d4dc392cd
fix(moderation): use tuples in cursor.execute arguments
All checks were successful
Pylint / Pylint (push) Successful in 1m12s
2023-10-06 16:18:15 -04:00
604d03ac28
fix(moderation): one index per query
All checks were successful
Pylint / Pylint (push) Successful in 1m13s
2023-10-06 16:17:26 -04:00
71237e02af
fix(moderation): added indexing to create_guild_table
Some checks failed
Pylint / Pylint (push) Failing after 1m15s
2023-10-06 16:12:55 -04:00
60a1f7e500
misc(moderation): formatting
All checks were successful
Pylint / Pylint (push) Successful in 1m13s
2023-10-06 13:52:49 -04:00
9900c7ea98
fix(moderation): fixed history embed setting the url instead of the icon url for the author field
All checks were successful
Pylint / Pylint (push) Successful in 1m14s
2023-10-06 13:43:50 -04:00
0925753404
misc(moderation): removed checking channels' moderations history, will add back later on if I decide to add lockdown/slowmode/etc
All checks were successful
Pylint / Pylint (push) Successful in 1m13s
2023-10-06 13:40:57 -04:00
4a628cfc1d
feat(moderation): you are now able to check moderation history of moderators
All checks were successful
Pylint / Pylint (push) Successful in 1m13s
2023-10-06 13:39:51 -04:00
fc5ee4dcc0
fix(moderation): changed how resolved moderations are determined in history command
Some checks failed
Pylint / Pylint (push) Failing after 1m12s
2023-10-06 13:36:04 -04:00
07ff047ddb
fix(moderation): fixed history trying to convert a null value to an integer
Some checks failed
Pylint / Pylint (push) Failing after 1m13s
2023-10-06 13:34:11 -04:00
1fd80ff074
fix(moderation): hopefully fixed history command trying to convert NULL to a value
Some checks failed
Pylint / Pylint (push) Failing after 1m12s
2023-10-06 13:32:22 -04:00
0c006432d8
fix(moderation): moderations are now sorted in descending order by ID in history command
Some checks failed
Pylint / Pylint (push) Failing after 1m14s
2023-10-06 13:27:54 -04:00
45a1edf0d0
fix(history): fixed two broken method calls
Some checks failed
Pylint / Pylint (push) Failing after 1m12s
2023-10-06 13:24:36 -04:00
2f26da72ab
feat(moderation): added history command
Some checks failed
Pylint / Pylint (push) Failing after 1m13s
2023-10-06 13:22:30 -04:00
477673b384
fix(moderation): handle unbans, unmutes, bans seperately in resolve command 2023-10-06 12:46:51 -04:00
0d180d16c4
fix(moderation): fixed markdown being applied to usernames
All checks were successful
Pylint / Pylint (push) Successful in 1m12s
2023-10-06 10:50:59 -04:00
d55d37954d
fix(moderation): fixed resolve_query being broken
All checks were successful
Pylint / Pylint (push) Successful in 1m14s
2023-10-06 10:49:05 -04:00
fb2e99bbcd
fix(moderation): fixed resolve not unmuting/unbanning people
All checks were successful
Pylint / Pylint (push) Successful in 1m13s
2023-10-06 10:46:06 -04:00
9524bd753c
fix(moderation): hopefully fixed messages logging twice to console
All checks were successful
Pylint / Pylint (push) Successful in 1m12s
2023-10-06 10:27:57 -04:00
6eb086f8cb
feat(moderation): improved logging
All checks were successful
Pylint / Pylint (push) Successful in 1m13s
2023-10-06 10:25:13 -04:00
da469e7d35
fix(moderation): fixed error in handle_expiry if a table doesn't exist yet
All checks were successful
Pylint / Pylint (push) Successful in 1m11s
2023-10-06 10:18:55 -04:00
8a3ed15ee0
feat(moderation): added resolved_by field to mysql tables
All checks were successful
Pylint / Pylint (push) Successful in 1m11s
2023-10-06 10:07:52 -04:00