Commit Graph

58 Commits (42510ce4b76aff86b02ea494d4932dd2adf5002e)

Author SHA1 Message Date
sgoudham 2670f6a90a Commiting paginator.py
sgoudham 8007c1fb44 Ignoring messages that start with 2 ..
sgoudham af58da0d5e Adding tiny of bit error handling to account for when the guild does not have a modmail/modlogs/role_persist system setup
sgoudham 89ea85d418 Ok now have fixed rolepersist working and records should be inserting properly
sgoudham 6a6dcf242a Reverting back to old way
sgoudham 7956a24911 Adding back in update statement for on_member_join to ensure role_persist works
sgoudham ce8830ee22 Chaining expressions to skip dumb error handling
sgoudham 14a51710ed Changed default cache size to be around 100
Deleting modmail/modlogs system when those channels are deleted within the guild
Refactored some code
Updated commentary
Had to do dumb stupid error handling for checking if modmail record exists or not
sgoudham a4b25d7ce5 Get rid of logging for now
sgoudham 3b8d8f6bbf Using .get() for python dicts to avoid KeyErrors
sgoudham daafd25f6c Added emojis into the bot instance
sgoudham 4be6c65821 Added 2 new columns to the database to check if users can be deleted from the database
sgoudham b5c3454a74 Fixed not updating to cache properly
Updating stats to disforge
Refined on_member_join event for less sql statements
sgoudham a17e573640 Making another print statement that lets me know if the member had no roles to give in the first place
sgoudham 4d832ee799 Fixing edge case
Updated commentary
sgoudham 9602d908af Fixing edge case
Updated commentary
sgoudham 794bf3d21d Setting max cache length as the input size given
sgoudham 44ce2eb1e9 Setting cache to 5000 records
sgoudham 7db544a7a6 Owner command for changing cache size dynamically
sgoudham cc984536bc Initiating cache size to 1000
sgoudham 3f9eb5a12d Making startup cache more readable
sgoudham 9e46c4ff00 Actually making commands case insensitive today
sgoudham 6a505bb766 Can't iterate through a dict and remove items
Now adding keys to be removed into an array and then popping those keys while iterating through array
sgoudham c93dfb12aa Reformatted code
Removed on_ready as staticmethod
Updated commentary
Trying to see if cache can work
When checking cache, not using integers to specify columns
sgoudham 87874ff25c Adding license to cache
sgoudham 23144ec0b1 Just trying different things
sgoudham c2d61d1185 Just trying different things
sgoudham 1479b509ee Just trying different things
sgoudham 272095e1fc Just trying different things
sgoudham f9d1fbcd2b Just trying different things
sgoudham 9bca4f0ff3 Just trying different things
sgoudham c0a26ba776 Just trying to see what works and what doesn't
sgoudham 8f473da1a7 Checking if connection can be created through main
sgoudham 09e3bc0913 Trying to get rid of loop
sgoudham cedf0c6353 Got rid of command timeout. Seeing if that fixes problem on linux vps
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
sgoudham c4dea57200 Making sure that STUPID linux can find the libs folder
sgoudham 2c2a4059fe Applied consistent naming style of parameters
sgoudham ff3ddc5f60 Applied consistent style of parameters
sgoudham 9843898045 Changed version string
sgoudham 4a6e219daf Making if statement into one line
sgoudham 86190a342c Renaming method to execute cause it looks better
sgoudham fede0c2ee5 Added logging for to check for weird ping
Made sure that bot members don't do anything when events are called
sgoudham 099af46d49 Moved cog loading into __init__.py
sgoudham d344732864 Representing the update in an embed instead of just text
sgoudham 1bf926b5f9 Got rid of stupid comma
sgoudham 97a5ff44a0 Reverting back to old way of doing cogs
sgoudham 27945c49eb Running cogs in main.py
sgoudham 39fe656a4c Moved back into root directory
sgoudham 3bc76e5c4b Adding setup function that loads the cogs and runs the bot