Commit graph

163 commits

Author SHA1 Message Date
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
2066b075da
fix(repo): changed all instances of git.seaswimmer.cc to coastalcommits.com
All checks were successful
Pylint / Pylint (3.10) (push) Successful in 51s
2023-10-24 00:48:49 -04: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
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
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