Commit graph

168 commits

Author SHA1 Message Date
15ef2216ce
feat(moderation): added changes column to mysql tables
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 56s
2023-12-14 15:50:48 -05:00
adbe4b4d85
fix(moderation): only reduce length of reason in /history if it is actually below 150 characters
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 55s
2023-12-14 14:57:28 -05:00
9cd63ce92b
fix(moderation): added caching for history command
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 56s
2023-12-14 14:41:38 -05:00
5babdb74c2
fix(moderation): fixed formatting in mute command
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 1m0s
2023-12-14 14:26:37 -05:00
be565f9458
fix(moderation): fixed history embeds taking 3 years to process 2023-12-14 14:24:00 -05:00
a67b1f8ccb
fix(moderation): fixed editing the case number into the message
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 51s
2023-12-13 16:59:36 -05:00
7d147bc027
fix(moderation): I forgot about notes 💀
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 52s
2023-12-13 16:55:53 -05:00
a0b77d6fcf
feat(moderation): added case numbers to the moderation response messages
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 52s
2023-12-13 16:54:25 -05:00
f9a9f07b39
fix(moderation): fix malformed sql query
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 53s
2023-12-13 16:04:21 -05:00
33ac32c086
fix(moderation): removed case 0 from the export
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 53s
2023-12-13 16:01:42 -05:00
dd778587bb
fix(moderation): added encoding type to open() in history command (pylint fix)
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 53s
2023-12-13 15:53:08 -05:00
b7193ae2bf
fix(moderation): beautify export json
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 54s
2023-12-13 15:46:28 -05:00
781b283135
fix(moderation): fixed discord.File
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 51s
2023-12-13 15:45:00 -05:00
b7200210ba
fix(moderation): fixed filename in discord upload function
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 53s
2023-12-13 15:43:23 -05:00
9d73e46749
fix(moderation): fixed ephemeral argument's docstring in history 2023-12-13 15:42:28 -05:00
3402ea5553
fix(moderation): fixed filename AGAIN
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 53s
2023-12-13 15:41:55 -05:00
d5486aa011
fix(moderation): fixed filename again
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 53s
2023-12-13 15:40:39 -05:00
4d97d6722d
fix(moderation): fixed export filename
Some checks failed
Pylint / Pylint (3.10) (push) Has been cancelled
2023-12-13 15:39:53 -05:00
5740ba851f
fix(moderation): export temp writes to a directory it actually has access to
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 55s
2023-12-13 15:38:40 -05:00
6681a7d938
feat(moderation): added ability to export moderation history
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 1m2s
2023-12-13 15:35:17 -05:00
d4e0425e0a
fix(moderation): pylint fixes
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 53s
2023-12-13 15:15:30 -05:00
cb5c1e32eb
fix(moderation): use bool() instead of ==
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 54s
2023-12-13 15:07:04 -05:00
09d9a5239b
fix(moderation): history now properly checks the epheremal argument
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 54s
2023-12-13 15:00:36 -05:00
71d7329696
fix(moderation): fixed history command (hopefully)
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 55s
2023-12-13 14:48:44 -05:00
9b68892b67
bunch of goofy/broken changes
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 54s
2023-12-13 03:06:26 -05:00
7a9692b50c
fix(moderation): pylint fixes 2023-10-24 00:41:29 -04:00
6647a3a15e
fix(moderation): use correct config value name for the log method
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 57s
2023-10-23 20:25:31 -04:00
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
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
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