Commit Graph

207 Commits (5565754d15f21b339a17ea72005e0a41ea3257b9)

Author SHA1 Message Date
sgoudham 34b67f30af Restructured Code 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 ca66d108cf Moved DB Connection to main.py
DB Connection is now created within the same event loop as client
4 years ago
sgoudham 5a1ddb2d0c Updated print statement for Member Remove 4 years ago
sgoudham db45ae8a1b On Member Remove, roles of the user are stored within the database
On Member Join, member information is stored/roles are given back/roles are then deleted
4 years ago
sgoudham b21f7e9a56 Added back error handling for missing permissions 4 years ago
sgoudham e2e0e4261b Reverted from .format to f" 4 years ago
sgoudham 5d86190927 Moving to cache system only using one dict 4 years ago
sgoudham ca502ebd7d Putting the nicknames back into commentary 4 years ago
sgoudham 89a9fb7997 Just for fun 4 years ago
sgoudham 5ca6717b0e Saving fun code for later in commentary 4 years ago
sgoudham 9296a82d16 Updated Commentary 4 years ago
sgoudham 77d85447e0 Added colour to reboot embed 4 years ago
sgoudham 89ceca47ce Updated Commentary
Missing user permissions are now displayed
4 years ago
sgoudham 9d32a91b2c Updated Commentary 4 years ago
sgoudham 22afa162dc Added colour to the error embed messages 4 years ago
sgoudham f63e008871 Added emoji for restart embed 4 years ago
sgoudham 89f689e181 Added emoji for restart embed 4 years ago
sgoudham 389356aa30 Added emoji for restart embed 4 years ago
sgoudham 9139ee8216 Trying to get delete_after working 4 years ago
sgoudham 7507675f85 Restart command is now embed 4 years ago
sgoudham b67789d7a0 Added error handling for owner only commands 4 years ago
sgoudham fc9dbdfcf9 Added error handling for owner only commands 4 years ago
sgoudham f24bf0ecb2 Turning error handling messages into embeds 4 years ago
sgoudham 02554c9efd Making missing permissions command an embed 4 years ago
sgoudham 63567344f6 Making missing permissions command an embed 4 years ago
sgoudham 3827cd622d Restructuring code 4 years ago
sgoudham 86928b76dc Error messages don't disappear now 4 years ago
sgoudham 010a8a9ce0 Changing from connection2 to connection 4 years ago
sgoudham 7520602a92 Added confirmation for the database reload 4 years ago
sgoudham fe2d1ac0b3 Reworked all database connections within main.py
Database connections should now be asynchronous
SQL statements now can handle duplicate key entries
4 years ago
sgoudham 7e9a8aeaab Trying to get asynchronous database connections working 4 years ago
sgoudham 5d67859ab4 Making it insert ignore instead of just insert 4 years ago
sgoudham adc86c02cc Reverting back to inefficient blocking connections 4 years ago
sgoudham 7fb3453a68 Removing executemany 4 years ago
sgoudham a8c4e48280 Using insert ignore instead of just insert 4 years ago
sgoudham 0a04171db7 Removing discord username from the insert statement (I admit defeat. You win MYSQL, You win 😭) 4 years ago
sgoudham 8f5ce3de0f Specifying that the prefix has to be less than or equal to 5 characters 4 years ago
sgoudham e67ff3699e Fixing error that 5 character prefixes won't work 4 years ago
sgoudham 00c4a1082b Minimising the problem of blocking (Problem still exists)
Also removing on_member_delete
4 years ago
sgoudham 28f9a61033 Updating commentary
Adding modlogs channel to cache on guild_join and removing it from cache on guild_leave
4 years ago
sgoudham 21208a0014 Moving all prefix functions into settings.py 4 years ago
sgoudham b56aa88eba Added plural 4 years ago
sgoudham fcbcbe2cde Making it the command arguments optional for prefix and help 4 years ago
sgoudham 8a74a16713 Reformatting error message 4 years ago
sgoudham 3ebf9466e1 Increasing sleep from 5 to 10 seconds allowing the user more time to read the message
Adding more specific help
4 years ago
sgoudham ad5a243310 Added commentary 4 years ago
sgoudham 76112ddf3b Making string of missing permissions and displaying them to the user 4 years ago
sgoudham e24da2dfc8 Testing the missing permissions string 4 years ago
sgoudham fc81de5616 Trying to add error handling for missing bot permissions and user permissions 4 years ago
sgoudham 43204a9606 Trying to add check failure 4 years ago
sgoudham 1eca1958c1 Testing if forbidden permissions works 4 years ago
sgoudham 926dbefe92 Added @bot_has_permissions as a check 4 years ago
sgoudham 4628a05502 Simplifying commentary 4 years ago
sgoudham 5068c7e7fd Making prefix argument appear
Added commentary
4 years ago
sgoudham a8b6f39b03 Getting rid of redundant code 4 years ago
sgoudham f2061b5d73 Removing error handling (Cause nothing can go wrong???) 4 years ago
sgoudham a53d9b0473 Checking to see if message is sent after bot has logged out 4 years ago
sgoudham b4307ecfef Adding commentary
Adding confirmation of bot restart/error handling
Status now changes every 2 minutes
4 years ago
sgoudham 735335f4e3 Removing random tag command 4 years ago
sgoudham 4014aaf164 Restructuring code 4 years ago
sgoudham 729c8c4e8c Restructuring code 4 years ago
sgoudham 34047d3331 Removing random letter 4 years ago
sgoudham fe98977695 Made database connections more efficient 4 years ago
sgoudham 9b4eeaec4c Restructuring code
Adding commentary
4 years ago
sgoudham 98c33c83e7 someone command allows for a random person in the server to be tagged 4 years ago
sgoudham f1a2adedb7 Hiding leave command 4 years ago
sgoudham 4455a09ebf Getting rid of try/except 4 years ago
sgoudham f1a1a55035 Making leave guild text bold 4 years ago
sgoudham 499be9c901 Making leave guild text bold 4 years ago
sgoudham d73bd355cf Adding leave guild 4 years ago
sgoudham 169bc6cd11 Fixed small error with help command 4 years ago
sgoudham 8d6141c287 Everyone can use help 4 years ago
sgoudham b2ed0c752c Renaming Paginator to help.py 4 years ago
sgoudham 78b27c7d3f Removing default help command 4 years ago
sgoudham 70af399719 Moving ping command back into main.py
Adding prefix command description
4 years ago
sgoudham 246bf96ae8 Restructuring code 4 years ago
sgoudham ab6309c75e Updating status every 3 minutes 4 years ago
sgoudham 573900493a Adding commentary
Updating if statement
4 years ago
sgoudham 371d2ebb21 Looping Status 4 years ago
sgoudham 4747c36b4c Testing out looping status 4 years ago
sgoudham ae36be3f56 Checking if message is sent within a guild or not 4 years ago
sgoudham 79d9b1e504 Adding commentary 4 years ago
sgoudham 4509e2f38e Statuses are cycled every 3 minutes 4 years ago
sgoudham 1727fd038c Making cogs simpler 4 years ago
sgoudham 3e4e50e204 Adding another status 4 years ago
sgoudham 1f0452c18f Changing length of loop 4 years ago
sgoudham ba9a07d4b8 Changing Version to v1.7.2 4 years ago
sgoudham 60da60ce51 Using string.capwords 4 years ago
sgoudham fc784ee648 Small Error, not passing in parameter properly 4 years ago
sgoudham 7de6032305 Throwing error if the prefix specified is greater than 5 characters
Added space in prefix if it is greater than 1 character (Testing)
4 years ago
sgoudham e7c62fd3a8 Throwing error if the prefix specified is greater than 5 characters 4 years ago
sgoudham 2b789ae5ad Changing status format 4 years ago
sgoudham c6b5592c95 Commented out ToS code 4 years ago
sgoudham 050011cbb6 Added background tasks for custom looped statuses 4 years ago
sgoudham f64c6f2f63 Adding commentary 4 years ago
sgoudham ff7b836e36 Deleting guild/prefix information when bot leaves
Inserting guild/prefix information when bot joins
4 years ago
sgoudham a764d1500d Adding commentary 4 years ago
sgoudham b4af7a1d3f Passing guildID as string to allow dict to update 4 years ago
sgoudham cac728d44d Storing prefixes in cached dictionaries
Reducing amount of database connections opened
4 years ago