Commit Graph

160 Commits (5b118d7c850741be547317f1732b793c3df49ae3)

Author SHA1 Message Date
sgoudham 25d233140c Logging guild channel creations 4 years ago
sgoudham 5ff68c884a Renaming fields 4 years ago
sgoudham 4b45e184cb Logging guild channel deletions 4 years ago
sgoudham 4bc416cc4f Muted members can see channels but can't send messages 4 years ago
sgoudham 0aa73b1d19 Custom error handling for ban commands
Powerban allows for banning members outside of the guild
4 years ago
sgoudham 03a1781b68 Updated commentary
Added powerban command to ban users who aren't part of the guild
4 years ago
sgoudham 170bc3f231 Make sure bot updates aren't triggering events
Fixing unmute and mute for working with cache
4 years ago
sgoudham 4003967af0 Refactored EVERYTHING
No more converting to strings and back to ints
Moving on from MariaD to PostGresSQL (THANK THE GODS)
Storing modmail in cache
Close to implementing circular queue for member cache
FULLY REDID COMMENTARY
Updated Version Number to 0.8.2 (Closer to v1 release!)
Gonna test commands for the cache within main.py
4 years ago
sgoudham a0af4668b8 Fixed not throwing errors when arguments for moderation commands 4 years ago
sgoudham bf206bfd5f Not checking permissions everytime the channel is muted and making muted role now disable read perms 4 years ago
sgoudham 2cc6a5e86d Adding License 4 years ago
sgoudham 00f86137a7 Made sure that messages purged display proper number 4 years ago
sgoudham e0af4b8412 Simplifying code
Using self.bot.generate_embed()
4 years ago
sgoudham 35d8844cf1 No need for settings.py file anymore 4 years ago
sgoudham 404b9daa37 Added stupid check to see if the message was "edited" within dms 4 years ago
sgoudham c68b414ebd Set Case Insensitive to True 4 years ago
sgoudham 7f34e08898 Simplifying check bot checks 4 years ago
sgoudham 094149c6cc Displaying attachment links when message is deleted
Not logging message deletions from other bots
4 years ago
sgoudham ea64effee3 Reformatted role added embed 4 years ago
sgoudham f32508238d Reformatted role added embed 4 years ago
sgoudham f94b04ab3c Reformatted role removed embed 4 years ago
sgoudham d4aeb539f7 Added GPLv3 license
Added logging for message deletions
4 years ago
sgoudham e2f76a6662 Updated commentary 4 years ago
sgoudham faacbab3e4 Updated commentary
Added logging for messages not stored within internal cache
4 years ago
sgoudham e02adac5a6 Logging message edits (only in cache for now)
Only logs messages fully up to 500 characters
4 years ago
sgoudham 96c6fdf51b Updated commentary for
Beginning to log message edits
4 years ago
sgoudham 2d34fcbbf4 Updated commentary
Removed unnecessary action of defining new_roles_string again
4 years ago
sgoudham 250984bcb6 Updated commentary 4 years ago
sgoudham 254e2da8b0 Adding back check cause I'm dumb dumb 4 years ago
sgoudham 510cd38f46 Reformatting nickname embed
Got rid of unnecessary check
4 years ago
sgoudham 6829b3dcac Not using elif 4 years ago
sgoudham 716c1da64a Added logging for role additions/removed to members 4 years ago
sgoudham af4a31a833 Error message is now an embed 4 years ago
sgoudham 4896c5cfbe Made sure that the message that is sent for purge command is deleted and then the messages are purged 4 years ago
sgoudham d4c6580db5 Updated Commentary 4 years ago
sgoudham 176078e45d Make sure that the channel permissions for the muted role are correct 4 years ago
sgoudham 46d6ad3474 Enabled read messages for muted role
Disabled read message history and send messages
Checking with every channel if the muted role has the permissions. If not, it overwrites with the permissions required
4 years ago
sgoudham 3b605a92fe Doing all channels instead of just text 4 years ago
sgoudham 8a34da5511 Muted role now disables read perms in every single text channel
Added functionality to make sure that new channels have muted role overwrites
4 years ago
sgoudham 1886f6e0c8 Made sure that managed roles are kept for the user 4 years ago
sgoudham 5f7617319d Reformatting role persist warning embed 4 years ago
sgoudham 046be93f9d If user is already muted, send error message to prevent database from screwing up 4 years ago
sgoudham 9bf6529c37 Removed typo 4 years ago
sgoudham 2f2c8198ee Removing ctx parameter for clearRoles() 4 years ago
sgoudham 7c282cb6ea Reformatting embed 4 years ago
sgoudham b5a8592a73 Got rid of typo in variable 4 years ago
sgoudham 9732c7cd77 Changed parameters to fully pass context 4 years ago
sgoudham 209ae19dc0 Fixed error in field 4 years ago
sgoudham 4dff56007f If role persist is not enabled. Add warning into mute command 4 years ago
sgoudham bcdb5907a7 Cleaned up lots of code
Logging member bans and unbans
Repeating less code
4 years ago
sgoudham 548d6348aa Fixed Purge Command being off by 1 4 years ago
sgoudham a4aa1bb5a0 Fixed Purge Command being off by 1 4 years ago
sgoudham d1e1eb2fc8 DB Connection is now created within the same event loop as client
Referencing pool connection from client/self.bot
4 years ago
sgoudham ec34fe0dd3 DB Connection is now created within the same event loop as client
Referencing pool connection from client/self.bot
4 years ago
sgoudham e1befcb730 Original message does not get deleted 4 years ago
sgoudham ae31716729 Original message does not get deleted 4 years ago
sgoudham f4884fc840 Added usage for mute/unmute command 4 years ago
sgoudham f2217cf150 Updated commentary 4 years ago
sgoudham 92fae125b9 Forgot to await function 4 years ago
sgoudham 319661ee96 Forgot "if not" 4 years ago
sgoudham 6d550d9c60 Made if statements cleaner (imo)
Tried to convert unban command into using def
4 years ago
sgoudham 189f75b3e1 Removing mention for banned user in embed 4 years ago
sgoudham 100b462323 Not including ctx.typing for everything 4 years ago
sgoudham e794f0d7de Changed small typo for unmuting modlog embed 4 years ago
sgoudham 3b332a4851 Made the bot type when muting/unmuting command 4 years ago
sgoudham da65bf75e0 Made sure connection within connection isn't created 4 years ago
sgoudham 0788799ea5 Mute/Unmute commands have been added
Storing/Clearing roles in database
4 years ago
sgoudham 51150e1a23 Implemented mute command
Still need to implement database integration and make an unmute command
4 years ago
sgoudham 753e27977d Fixing small error within purge command 4 years ago
sgoudham cbd8a2ad79 Got rid of on_member_unban as I am logging the event through the unban anyways 4 years ago
sgoudham e9d8fc90a3 Moved modlogs over to guild.py 4 years ago
sgoudham 31ef01d03a Added embed colours to kick/ban
Added logging within the unban command
4 years ago
sgoudham 6c3f163cca Added embed colours to kick/ban 4 years ago
sgoudham e40cf0d9a0 Making it multiple integers 4 years ago
sgoudham 6f2e197b7b Added custom type hint to unban command 4 years ago
sgoudham 5cb2e2c4af Renamed variables for increased transparency
Added member unban event
4 years ago
sgoudham e0418743a4 Added colour to confirmation embed 4 years ago
sgoudham 57c6bdd906 Confirmation of the ban/kick is sent everytime and if the modlogs channel exists within the cache, an embed is sent to the modlogs channel too 4 years ago
sgoudham d301e576ae Error embed is now bold 4 years ago
sgoudham b1a29448d9 Added error handling for when the user tries to ban/kick themselves 4 years ago
sgoudham 18cb7c8378 Reformatted error messages 4 years ago
sgoudham d309dc6d70 Made ban command better (Multiple people can be banned at once)
Sending bans to logs if modlogs channel has been setup
Error messages don't disappear anymore and are now embedded
Updating Commentary
4 years ago
sgoudham 2166543eab Added account creation date to member join event 4 years ago
sgoudham a6d0935d7c Got rid of with ctx.typing() as it wasn't needed 4 years ago
sgoudham 1f78b45cfe Restructured code 4 years ago
sgoudham 49ba5f6174 On member joins are now sent to the modlog 4 years ago
sgoudham 0a419d0524 Imported group from discord.ext.commands at the top 4 years ago
sgoudham 7c36aca03d Imported more modules at the top to make code look cleaner 4 years ago
sgoudham 7f78420e9f Added listener for when member leaves the user and then sends the logs to the modlogs channel (if user has setup modlogs channel in their server) 4 years ago
sgoudham 0da671f5f5 Made more database connections Asynchronous
Addded listener for bulk deletion of messages and to log them in the modlogs channel if it was setup
4 years ago
sgoudham 6db25d32a3 Adding listener to log purged messages 4 years ago
sgoudham 8274b2bc61 Added a modlogs system
If modlogs channel has been setup, embeds will be sent there. If not then the embed will be sent to the channel that the user is in.
Updated/Added commentary
4 years ago
sgoudham abbb9178b8 Changing from insert to update statement 4 years ago
sgoudham 9a4ab97e76 Adding group of commands for setting up modlog channels 4 years ago
sgoudham 4c3b130e92 Adding cooldowns for commands 4 years ago
sgoudham 7ae857e5f9 Updating commentary 4 years ago
sgoudham dbdac8dd21 Updated/Added commentary 4 years ago
sgoudham 7d545f73ce Reformatted the purge command 4 years ago
sgoudham cc15903ea7 Fixed typo 4 years ago
sgoudham c3a64b1afa Made purge command work properly 4 years ago