Commit Graph

1045 Commits (31bb36d6d5727e33136bd925c0429c990653cfa8)

Author SHA1 Message Date
sgoudham a0af4668b8 Fixed not throwing errors when arguments for moderation commands 4 years ago
sgoudham 02e61e95a5 Formatting ping command differently 4 years ago
sgoudham 47f5185809 Cleaned up version number code, making about command more modular
Ping command is now an embed
4 years ago
sgoudham 8c58ae2286 Error handling for waifu commands 4 years ago
sgoudham ed031d689c Waifu search is it's own command 4 years ago
sgoudham 76956f3e3f Updated Commentary 4 years ago
sgoudham a36e8a98dc Simplifying some code
Adding method to check for timeout error
4 years ago
sgoudham 4f9280f5c6 Making random waifu it's own command instead of a waifu argument 4 years ago
sgoudham afc639ee66 Didn't account for modmail that was 50 characters long exactly 4 years ago
sgoudham f8f422b2eb Fixed the verification system 4 years ago
sgoudham 66a7a5a6a6 Fixed the verification system 4 years ago
sgoudham 21bfa2d656 Awaiting function 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 71e5088b3b If user does not react within 60 seconds. Delete the modmail channel 4 years ago
sgoudham 7f7f5bcf50 If user does not react within 60 seconds. Delete the modmail channel 4 years ago
sgoudham 4926c6b242 If bot does not have embed links permission, send normal text error message 4 years ago
sgoudham 2cc6a5e86d Adding License 4 years ago
sgoudham 5f4171935c Changed parameter to ensure consistency 4 years ago
sgoudham 00f86137a7 Made sure that messages purged display proper number 4 years ago
sgoudham 61fe835ccc Made setting up modlogs and modmail much easier
Using typehints to convert into Channel objects
Command specific error handling is now used
4 years ago
sgoudham 1e7889e9b4 Adding specific error handling for modlogs 4 years ago
sgoudham 8cb70c7491 When command has an error handler function, don't send global event handler errors 4 years ago
sgoudham e0af4b8412 Simplifying code
Using self.bot.generate_embed()
4 years ago
sgoudham 80cf8bcb9c Removing .format() in favour of fstrings 4 years ago
sgoudham dfa7c99c0b Removing .format() in favour of fstrings 4 years ago
sgoudham d3acc4bd39 Removing .format() 4 years ago
sgoudham 4219e681c8 Removing .format() in favour of fstrings 4 years ago
sgoudham e6742806b6 Removing .format() 4 years ago
sgoudham 511e6712f0 Removing .format() 4 years ago
sgoudham 057955886d Removing .format() in favour of fstrings 4 years ago
sgoudham 9df0c200c6 Getting rid of .format()
Made text into embeds
Simplifying code
4 years ago
sgoudham b539157462 Getting rid of .format() 4 years ago
sgoudham 40a7a0a58d Removed redundant global variable for homies command 4 years ago
sgoudham 2bf08a32be Deleting message first and then sending the dm to the user 4 years ago
sgoudham dab51d22d6 Using self.bot.generate_embed() 4 years ago
sgoudham 5a9d106bd6 No need for settings.py file anymore 4 years ago
sgoudham 35d8844cf1 No need for settings.py file anymore 4 years ago
sgoudham 94b529a300 Fixing typo for embed colour in channelinfo command 4 years ago
sgoudham 236ecfd9b4 No need for settings.py file anymore 4 years ago
sgoudham 9f78ffaecb No need for settings.py file anymore 4 years ago
sgoudham b8b7127235 Moved error handling into a separate cog 4 years ago
sgoudham cbc030e652 Moved owner only commands into owner.py 4 years ago
sgoudham 1089d30709 Moved ping command into info 4 years ago
sgoudham f932485df0 Made sure that settings.py file is not used anymore 4 years ago
sgoudham f76577244b Made sure that settings.py file is not used anymore 4 years ago
sgoudham ce6994a3a5 Made sure that settings.py file is not used anymore 4 years ago
sgoudham edb5be567f Made sure that settings.py file is not used anymore 4 years ago
sgoudham b1321aebf5 Made sure that settings.py file is not used anymore 4 years ago
sgoudham 404b9daa37 Added stupid check to see if the message was "edited" within dms 4 years ago
sgoudham f246fb1d2f Set Case Insensitive to True 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 aea5e0f49d Added GPLv3 license 4 years ago
sgoudham a733dc137c Reformatted code
Properly indented the code
Added GPLv3 license
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 fe388d622a Moved generate embed function into settings.py 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 fe9a92106c Removed lots of redundant code 4 years ago
sgoudham b52975f329 Added daily waifu
Simplifyed more code
4 years ago
sgoudham dd01f45c5a Simplifying code
Added daily waifu command
4 years ago
sgoudham f413be50b0 Not saving file to the directory anymore. Sending as a bytes object 4 years ago
sgoudham 25f1937593 Not saving file to the directory anymore. Sending as a bytes object 4 years ago
sgoudham da5e9c8a89 Updated commentary 4 years ago
sgoudham c7755d274b Updated commentary 4 years ago
sgoudham b1c7c20220 Added very scuffed text command 4 years ago
sgoudham 1886f6e0c8 Made sure that managed roles are kept for the user 4 years ago
sgoudham 1901b1da35 Added rolepersist group command description 4 years ago
sgoudham 389ed00282 Added role persist commands
Role persist can be displayed/enabled/disabled
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 08576fc9e7 Refactoring lots of code
Displaying roles from highest to lowest for user
4 years ago
sgoudham 3b287fa24a Got rid of white space 4 years ago
sgoudham e4a2afbada Listing roles in highest to lowest order
Added top role field for serverinfo command
4 years ago
sgoudham cb3cc825dc Checking channel permissions instead of guild wide permissions as it is more accurate. Less chance for errors 4 years ago
sgoudham a49a26730a Still sending serverinfo command without ban members or manage guild permissions 4 years ago
sgoudham 454a7adb57 Trying different way of executing modmail
Not massive if statements anymore
4 years ago
sgoudham 6347c48204 Added anton images into the enso command 4 years ago
sgoudham c6b93cf931 Made sure that all messages within the channel are stored in the file before getting deleted 4 years ago
sgoudham 7750c5092e Reformatted modmail embed
Uploading file like bytes object instead of saving to the directory
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 b3a3900b7e Taking in multiple arguments with Waifus 4 years ago
sgoudham 30f7870afd Less aggressive name matching 4 years ago
sgoudham 6bfef9f591 More aggressive name matching 4 years ago
sgoudham c411d417fc Send error if no waifu is found in the dict 4 years ago
sgoudham 66d4fa75bd Made sure that forbidden error isn't thrown 4 years ago
sgoudham bcdb5907a7 Cleaned up lots of code
Logging member bans and unbans
Repeating less code
4 years ago
sgoudham 3e1d6b4784 Checking member/channel in a single line 4 years ago
sgoudham 2c33c711d5 Added extra line break 4 years ago
sgoudham 5b855ff552 Implemented page count 4 years ago
sgoudham c9466399e5 Not deleting embed after timeout, just clearing reactions 4 years ago
sgoudham 807c1ac838 Got rid of print data 4 years ago
sgoudham 45aeb38373 Got a simple paginated waifu embed system going on
Finally got search function working
4 years ago
sgoudham 544a0326a2 Identifying Husbando's from Waifu's 4 years ago
sgoudham e9e95a4421 Changed direction of arrow for roles in serverinfo command 4 years ago
sgoudham cf561b2899 Replaced text file waifu command with mywaifulist api 4 years ago
sgoudham 9eaec6da73 Moved prefix command into the help.py 4 years ago
sgoudham 5b36bd57e1 Added support server/invite link and current guild prefix within the about command 4 years ago
sgoudham 7ba6de16ec Updated Commentary
Members now only need manage guild permissions in order to setup modmail
Turning all messages into embeds
Refactored Code
4 years ago
sgoudham 5b849d77a7 Updated Commentary
Members now only need manage guild permissions in order to setup modmail
4 years ago
sgoudham 5edea99bff Got rid of remindme command due it not being as advanced as I want it to be 4 years ago
sgoudham 8d8967552e Made asset object return string 4 years ago
sgoudham 690af3f86e Introducing avatar command 4 years ago
sgoudham 73b2fb5364 mmsetup now needs admin permissions 4 years ago
sgoudham 451a002fde Added global counter to make sure every homies file is unique 4 years ago
sgoudham c1f5e3a2fb Reformatted embed 4 years ago
sgoudham eb6eb5d7b8 Added/Updated Commentary 4 years ago
sgoudham 74f9c21ade Got rid of redefining database pool twice 4 years ago
sgoudham 761f665f29 Changed paramater from "command" to "cmd" 4 years ago
sgoudham 29900e11a2 Moved help commands into help Cog 4 years ago
sgoudham 26ccb31bcc Added feedback command 4 years ago
sgoudham 59d3cfbda8 Added help cog 4 years ago
sgoudham 521d743b8b Reverting version number back 4 years ago
sgoudham 8f309de8c8 Made version in about command modular 4 years ago
sgoudham 39eda6231a Changed Cooldown of Interactive Commands to 3 seconds 4 years ago
sgoudham 9d74182e7b Not using new waifu system 4 years ago
sgoudham ae487b4994 Added 15k Waifus
Loaded Waifus into Mem
Testing embed display
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 55e87b3fc3 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 150ac84689 DB Connection is now created within the same event loop as client
Referencing pool connection from client/self.bot
4 years ago
sgoudham 36bc135bba DB Connection is now created within the same event loop as client
Referencing pool connection from client/self.bot
4 years ago
sgoudham 59c0e0f233 Added aliases 4 years ago