Commit graph

864 commits

Author SHA1 Message Date
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
d1d5bec732
fix(moderation): fixed resolve not commiting its database changes
All checks were successful
Pylint / Pylint (push) Successful in 1m12s
2023-10-06 09:53:59 -04:00
bd17b6e88a
misc(moderation): added a seperate method for retrieving a user's information, instead of doing it twice in embed_factory
All checks were successful
Pylint / Pylint (push) Successful in 1m12s
2023-10-06 09:45:32 -04:00
2fb7fd2d0c
fix(moderation): awaited coroutines
All checks were successful
Pylint / Pylint (push) Successful in 1m12s
2023-10-06 09:36:23 -04:00
9adfe1461f
feat(moderation): offloading all embed generation to embed_factory method
All checks were successful
Pylint / Pylint (push) Successful in 1m14s
2023-10-06 09:34:30 -04:00
fedd5f6799
fix(moderation): fixed resolve command
All checks were successful
Pylint / Pylint (push) Successful in 1m13s
2023-10-06 09:11:22 -04:00
5fa62fceca
fix(moderation): pylint fixes
All checks were successful
Pylint / Pylint (push) Successful in 1m15s
2023-10-06 09:04:02 -04:00
4960d40ac9
feat(moderation): improving resolve command
Some checks failed
Pylint / Pylint (push) Failing after 1m13s
2023-10-05 22:36:42 -04:00
7c88f98a28
fix(moderation): fixed fetching guild configs
All checks were successful
Pylint / Pylint (push) Successful in 1m13s
2023-10-05 20:12:00 -04:00
90e0a4b153
fix(moderation): made dm_users and ignore_other_bots guild-dependent
All checks were successful
Pylint / Pylint (push) Successful in 1m13s
2023-10-05 20:09:42 -04:00
25ac0a3c0c
feat(moderation): added silent options to all moderation commands and a config value for automatically dming moderated users
All checks were successful
Pylint / Pylint (push) Successful in 1m13s
2023-10-05 20:06:07 -04:00
0c004ecf48
fix(moderation): expire_handler now checks for the expired bool instead of the resolved bool
All checks were successful
Pylint / Pylint (push) Successful in 1m12s
2023-10-05 17:14:04 -04:00
6001c926f2
feat(moderation): added resolve command
All checks were successful
Pylint / Pylint (push) Successful in 1m12s
2023-10-05 17:09:55 -04:00
eb1cd6aada
fix(moderator): fixed fetching deleted users' cases
All checks were successful
Pylint / Pylint (push) Successful in 1m12s
2023-10-05 16:55:18 -04:00
bf8032de62
fix(moderation): cog_unload is now a coroutine 2023-10-05 16:44:54 -04:00
819b36d267
fix(moderation): duration is stringified now
Some checks failed
Pylint / Pylint (push) Failing after 1m13s
2023-10-05 16:38:32 -04:00
613a267797
fix(moderation): time until duration expiry only appears now if the moderation hasn't expired yet
Some checks failed
Pylint / Pylint (push) Failing after 1m13s
2023-10-05 16:37:01 -04:00
696165239f
feat(moderation): expiry_handler now messages users who are unbanned (or attempts to)
Some checks failed
Pylint / Pylint (push) Failing after 1m13s
2023-10-05 16:26:45 -04:00
6bfd110b35
fix(moderation): fixed improper kwarg in ban command
Some checks failed
Pylint / Pylint (push) Failing after 1m12s
2023-10-05 16:19:01 -04:00
564faeedf2
feat(moderation): tempbans will be handled by handle_expiry every 60 seconds
Some checks failed
Pylint / Pylint (push) Failing after 1m12s
2023-10-05 16:15:16 -04:00