|
604d03ac28
|
fix(moderation): one index per query
Pylint / Pylint (push) Successful in 1m13s
|
2023-10-06 16:17:26 -04:00 |
|
|
71237e02af
|
fix(moderation): added indexing to create_guild_table
Pylint / Pylint (push) Failing after 1m15s
|
2023-10-06 16:12:55 -04:00 |
|
|
60a1f7e500
|
misc(moderation): formatting
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
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
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
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
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
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
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
Pylint / Pylint (push) Failing after 1m14s
|
2023-10-06 13:27:54 -04:00 |
|
|
45a1edf0d0
|
fix(history): fixed two broken method calls
Pylint / Pylint (push) Failing after 1m12s
|
2023-10-06 13:24:36 -04:00 |
|
|
2f26da72ab
|
feat(moderation): added history command
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
Pylint / Pylint (push) Successful in 1m12s
|
2023-10-06 10:50:59 -04:00 |
|
|
d55d37954d
|
fix(moderation): fixed resolve_query being broken
Pylint / Pylint (push) Successful in 1m14s
|
2023-10-06 10:49:05 -04:00 |
|
|
fb2e99bbcd
|
fix(moderation): fixed resolve not unmuting/unbanning people
Pylint / Pylint (push) Successful in 1m13s
|
2023-10-06 10:46:06 -04:00 |
|
|
9524bd753c
|
fix(moderation): hopefully fixed messages logging twice to console
Pylint / Pylint (push) Successful in 1m12s
|
2023-10-06 10:27:57 -04:00 |
|
|
6eb086f8cb
|
feat(moderation): improved logging
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
Pylint / Pylint (push) Successful in 1m11s
|
2023-10-06 10:18:55 -04:00 |
|
|
8a3ed15ee0
|
feat(moderation): added resolved_by field to mysql tables
Pylint / Pylint (push) Successful in 1m11s
|
2023-10-06 10:07:52 -04:00 |
|
|
d1d5bec732
|
fix(moderation): fixed resolve not commiting its database changes
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
Pylint / Pylint (push) Successful in 1m12s
|
2023-10-06 09:45:32 -04:00 |
|
|
2fb7fd2d0c
|
fix(moderation): awaited coroutines
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
Pylint / Pylint (push) Successful in 1m14s
|
2023-10-06 09:34:30 -04:00 |
|
|
fedd5f6799
|
fix(moderation): fixed resolve command
Pylint / Pylint (push) Successful in 1m13s
|
2023-10-06 09:11:22 -04:00 |
|
|
5fa62fceca
|
fix(moderation): pylint fixes
Pylint / Pylint (push) Successful in 1m15s
|
2023-10-06 09:04:02 -04:00 |
|
|
4960d40ac9
|
feat(moderation): improving resolve command
Pylint / Pylint (push) Failing after 1m13s
|
2023-10-05 22:36:42 -04:00 |
|
|
7c88f98a28
|
fix(moderation): fixed fetching guild configs
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
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
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
Pylint / Pylint (push) Successful in 1m12s
|
2023-10-05 17:14:04 -04:00 |
|
|
6001c926f2
|
feat(moderation): added resolve command
Pylint / Pylint (push) Successful in 1m12s
|
2023-10-05 17:09:55 -04:00 |
|
|
eb1cd6aada
|
fix(moderator): fixed fetching deleted users' cases
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
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
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)
Pylint / Pylint (push) Failing after 1m13s
|
2023-10-05 16:26:45 -04:00 |
|
|
6bfd110b35
|
fix(moderation): fixed improper kwarg in ban command
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
Pylint / Pylint (push) Failing after 1m12s
|
2023-10-05 16:15:16 -04:00 |
|
|
f8bc67fe48
|
fix(moderation): don't set 1 to 1
Pylint / Pylint (push) Failing after 1m12s
|
2023-10-05 14:15:34 -04:00 |
|
|
ce72d0c6bf
|
fix(moderation): resolved moderations with a duration will now be considered "expired"
Pylint / Pylint (push) Failing after 1m12s
|
2023-10-05 14:14:05 -04:00 |
|
|
69191b3b9b
|
fix(moderation): fixed the handle_expiry task setting expired to 1 on moderations without a duration
Pylint / Pylint (push) Failing after 1m12s
|
2023-10-05 13:58:18 -04:00 |
|
|
8d9b934fee
|
fix(moderation): fixed handle_expiry task
Pylint / Pylint (push) Failing after 1m11s
|
2023-10-05 13:56:31 -04:00 |
|
|
a8ea15a5c6
|
fix(moderation): handle_expiry task is now actually started
Pylint / Pylint (push) Failing after 1m13s
|
2023-10-05 13:51:17 -04:00 |
|
|
af011e047b
|
fix(moderation): wrapped expired in a bool converter in the case command
Pylint / Pylint (push) Failing after 1m12s
|
2023-10-05 13:50:05 -04:00 |
|
|
db4826e232
|
fix(moderation): case now uses the expired value to determine if a duration'd moderation has expired
Pylint / Pylint (push) Failing after 1m12s
|
2023-10-05 13:48:46 -04:00 |
|
|
11da49202d
|
feat(moderation): expired moderations are now automaticaly marked as such
|
2023-10-05 13:48:11 -04:00 |
|
|
4083e1890e
|
fix(moderation): timedelta fixes
Pylint / Pylint (push) Failing after 1m12s
|
2023-10-05 13:32:22 -04:00 |
|
|
f6615746c9
|
fix(moderation): added timedelta variable to hopefully fix durations
Pylint / Pylint (push) Failing after 1m12s
|
2023-10-05 13:28:55 -04:00 |
|
|
c0857a9038
|
fix(moderation): case fields are no longer inline
Pylint / Pylint (push) Failing after 1m11s
|
2023-10-05 13:12:22 -04:00 |
|
|
e22910b27b
|
fix(moderation): resolved moderations will be set as expired now
Pylint / Pylint (push) Failing after 1m13s
|
2023-10-05 13:11:04 -04:00 |
|
|
df49498da7
|
fix(moderation): naturaldelta --> precisedelta
Pylint / Pylint (push) Failing after 1m11s
|
2023-10-05 13:07:51 -04:00 |
|
|
df4dc53ecc
|
fix(moderation): fixed /case formatting
Pylint / Pylint (push) Failing after 1m11s
|
2023-10-05 13:06:59 -04:00 |
|
|
8eb4039c64
|
fix(moderation): case now uses fetch_user instead of get_user
Pylint / Pylint (push) Failing after 1m12s
|
2023-10-05 13:04:44 -04:00 |
|
|
c783f4032a
|
feat(moderation): added case command
Pylint / Pylint (push) Failing after 1m13s
|
2023-10-05 12:58:57 -04:00 |
|
|
2982b475ca
|
fix(moderation): using target object instead of target.id for ban command and unban command
Pylint / Pylint (push) Successful in 1m12s
|
2023-10-05 11:22:35 -04:00 |
|
|
008d4b8d57
|
fix(moderation): you can no longer unban someone who is not banned
Pylint / Pylint (push) Successful in 1m12s
|
2023-10-05 11:17:41 -04:00 |
|
|
45a5354299
|
fix(moderation): fixed fetch_ban on line 303
|
2023-10-05 11:16:21 -04:00 |
|
|
d580331b31
|
fix(moderation): fixed choices in ban command
Pylint / Pylint (push) Successful in 1m11s
|
2023-10-05 11:12:21 -04:00 |
|
|
f455b7bf7a
|
fix(moderation): fixed tempbans not passing the duration argument properly
Pylint / Pylint (push) Successful in 1m13s
|
2023-10-05 11:11:18 -04:00 |
|
|
aca705d073
|
feat(moderation): added ban and unban commands
Pylint / Pylint (push) Successful in 1m12s
|
2023-10-05 11:09:39 -04:00 |
|
|
27c12c6307
|
feat(moderation): added note command
|
2023-10-05 10:46:52 -04:00 |
|
|
1ff7f35785
|
fix(moderation): fixed having a prefix in the tdc help command
Pylint / Pylint (push) Successful in 1m10s
|
2023-10-05 09:58:52 -04:00 |
|
|
e1f2c4b8e6
|
fix(moderation): fixed some issues with tdc
Pylint / Pylint (push) Successful in 1m11s
|
2023-10-05 09:57:14 -04:00 |
|
|
821c04732f
|
fix(moderation): tdc was using xl stupid help formatting
Pylint / Pylint (push) Successful in 1m12s
|
2023-10-05 09:55:22 -04:00 |
|
|
21c9e28452
|
fix(moderation): pylint fixes
Pylint / Pylint (push) Successful in 1m10s
|
2023-10-05 09:47:53 -04:00 |
|
|
4cbf552204
|
fix(moderation): added reason to target.timeout in mute method
Pylint / Pylint (push) Failing after 1m12s
|
2023-10-05 09:40:41 -04:00 |
|
|
ee5f9461aa
|
fix(moderation): fixed a few unawaited coroutines
Pylint / Pylint (push) Failing after 1m21s
|
2023-10-05 09:28:42 -04:00 |
|
|
59c8a96afc
|
fix(moderation): hopefully made the jump_url work
Pylint / Pylint (push) Failing after 1m23s
|
2023-10-05 09:27:30 -04:00 |
|
|
32b2007c87
|
fix(moderation): awaited four coroutines
Pylint / Pylint (push) Failing after 1m19s
|
2023-10-05 09:25:28 -04:00 |
|
|
be2d97e19c
|
misc(moderation): cleaned up mysql_log method
Pylint / Pylint (push) Failing after 1m20s
|
2023-10-05 09:23:54 -04:00 |
|
|
5136a492f8
|
feat(moderation): moved embed creation to a seperate method
Pylint / Pylint (push) Failing after 1m17s
|
2023-10-05 09:21:40 -04:00 |
|
|
27070d3920
|
fix(moderation): fixed slash commands implementation
Pylint / Pylint (push) Failing after 1m16s
|
2023-10-05 08:43:11 -04:00 |
|
|
3f042b1f96
|
feat(moderation): added get_next_case_number and made embeds better
Pylint / Pylint (push) Failing after 1m19s
|
2023-10-05 08:42:20 -04:00 |
|
|
fe8211818b
|
fix(moderation): PLEASE WORKL
Pylint / Pylint (push) Successful in 1m13s
|
2023-10-04 21:51:54 -04:00 |
|
|
5c362f049a
|
fix(moderation): further refining the 28 day check
Pylint / Pylint (push) Successful in 1m15s
|
2023-10-04 21:49:24 -04:00 |
|
|
4e31ca651d
|
fix(moderation): allow mutes that are exactly 28 days
Pylint / Pylint (push) Successful in 1m13s
|
2023-10-04 21:46:00 -04:00 |
|
|
ce18cf1348
|
fix(moderation): hopefully actually fixed duration checker
Pylint / Pylint (push) Successful in 1m12s
|
2023-10-04 21:44:47 -04:00 |
|
|
9db783ddc2
|
fix(moderation): hopefully fixed the duration checker
Pylint / Pylint (push) Successful in 1m12s
|
2023-10-04 21:42:15 -04:00 |
|
|
d3951f6548
|
fix(moderation): added a check to mute that prevents a discord api hour from timing someone out for longer than 28 days
Pylint / Pylint (push) Successful in 1m13s
|
2023-10-04 21:39:36 -04:00 |
|
|
0deb589198
|
feat(moderation): added tdc command
Pylint / Pylint (push) Successful in 1m15s
|
2023-10-04 21:32:33 -04:00 |
|
|
f6868c6c48
|
misc(moderation): changed an error message
Pylint / Pylint (push) Successful in 1m13s
|
2023-10-04 17:08:42 -04:00 |
|
|
7aaabfa14c
|
misc(moderation): changed the message sent by creating a table
Pylint / Pylint (push) Successful in 1m12s
|
2023-10-04 16:51:09 -04:00 |
|
|
77c5d6a22a
|
fix(moderation): forgot to remove an unused import
Pylint / Pylint (push) Successful in 1m13s
|
2023-10-04 16:44:07 -04:00 |
|
|
dd98ecdcd1
|
feat(moderation): added unmute command
Pylint / Pylint (push) Failing after 1m13s
|
2023-10-04 16:43:15 -04:00 |
|
|
e66a902442
|
feat(moderation): added warn command
|
2023-10-04 16:39:58 -04:00 |
|
|
6fba47ea56
|
misc(moderation): changed table naming scheme
|
2023-10-04 16:37:59 -04:00 |
|
|
2b0e24a4e9
|
fix(moderation): fixed allowedmention setting in mute command
Pylint / Pylint (push) Successful in 1m12s
|
2023-10-04 13:18:44 -04:00 |
|
|
ce584b0de7
|
fix(moderation): message.reply --> send
Pylint / Pylint (push) Successful in 1m12s
|
2023-10-04 13:16:55 -04:00 |
|
|
6c280f25c2
|
feat(moderation): disabled ability to mute people who are already muted
Pylint / Pylint (push) Successful in 1m12s
|
2023-10-04 13:16:03 -04:00 |
|
|
14c4e61a40
|
fix(moderation): added humanize to the info.json
Pylint / Pylint (push) Successful in 1m11s
|
2023-10-04 13:12:01 -04:00 |
|
|
a9ec5044a2
|
misc(moderation): improved timestamp formatting in embeds and response messages
Pylint / Pylint (push) Successful in 1m11s
|
2023-10-04 13:11:18 -04:00 |
|
|
98f91b8ba3
|
fix(moderation): awaited a coroutine
Pylint / Pylint (push) Successful in 1m13s
|
2023-10-04 12:59:26 -04:00 |
|
|
f792d9c149
|
fix(moderation): changed command decorator for mute command
Pylint / Pylint (push) Successful in 1m12s
|
2023-10-04 12:46:48 -04:00 |
|
|
9f1d864b31
|
misc(moderation): changed all instances of timeout to mute
Pylint / Pylint (push) Failing after 1m12s
|
2023-10-04 12:45:29 -04:00 |
|
|
57f49d8e42
|
feat(moderation): added timeout command
|
2023-10-04 12:44:21 -04:00 |
|
|
854a1f14e5
|
fix(moderation): swapped a subtraction action
Pylint / Pylint (push) Failing after 1m14s
|
2023-10-04 12:24:13 -04:00 |
|
|
bfaad63920
|
fix(moderation): + instead of -
Pylint / Pylint (push) Failing after 1m13s
|
2023-10-04 12:23:14 -04:00 |
|
|
189a6f82ab
|
fix(moderation): fixed a type-error
Pylint / Pylint (push) Failing after 1m13s
|
2023-10-04 12:22:21 -04:00 |
|
|
f298567224
|
fix(moderation): fixed timeouts being unable to log because of an issue with time formatting
Pylint / Pylint (push) Failing after 1m13s
|
2023-10-04 12:19:46 -04:00 |
|