Commit Graph

182 Commits (66a94eba4cbf2a0f1e626c4e7a468c6d2c1733c6)

Author SHA1 Message Date
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
sgoudham 1ce4447947 Making cursor close automatically using "with closing(conn.cursor()) as cursor:" 4 years ago
sgoudham 28adcc3d58 Getting the prefix from the database 4 years ago
sgoudham 1f1bc8c0b3 Using "with conn.cursor as cursor"
Inserting/deleting information about guild and prefix as the bot joins/leaves the server
4 years ago
sgoudham 09fe36542c Enabling commands to work with bot mentions 4 years ago
sgoudham da9cc54b62 Error handling for forbidden exception
Added commentary
4 years ago
sgoudham 7d21850c3a Error handling for arguments that don't make sense 4 years ago
sgoudham bb61c5c6c9 Adding commentary
Error message is now deleted after 5 seconds instead of 2.5
4 years ago
sgoudham e5e3168130 Error handling for commands not found 4 years ago
sgoudham 492ed39522 Not logging messages anymore 4 years ago
sgoudham badbe26408 Changing commentary of ping command 4 years ago
sgoudham 9392769d0f Adding comma at the end of vals
Changing description of the bot
4 years ago
sgoudham beba880b7e Adding another set of cogs 4 years ago
sgoudham 795d143988 Removing time constant 4 years ago
sgoudham 6a5edf245c Inserting guild name in console printing log 4 years ago
sgoudham 03a1b4861d Adding commentary 4 years ago
sgoudham faa2eb06f1 Delete user data when the bot leaves the guild
Reformatted Code
4 years ago
sgoudham 8739ad49d5 Delete user data when the bot leaves the guild 4 years ago
sgoudham 0d48e904a2 Every guild that the bot joins, add all the users to the table of members 4 years ago
sgoudham 5c20261810 Logging every member join in every guild
Deleting every member from every guild if they leave
4 years ago
sgoudham fba6c734f6 Logging every member join in every guild
Deleting every member from every guild if they leave
4 years ago
sgoudham 96c91f5e3b Changing text on member_remove 4 years ago
sgoudham 99bd34de3e Using "if not" instead of "if x: pass" 4 years ago
sgoudham c5b631f8b6 Using .join operator instead of +=
Changing status
4 years ago
sgoudham 6270ceb6d4 As user joins Enso, add them to a database
As user leaves Enso, delete them from a database
4 years ago
sgoudham f71f81fa85 Inserting New Members into Database
Deleting Members that have left from the Database
4 years ago