fix(moderation): whatever i just wont close the cursor
All checks were successful
Pylint / Pylint (push) Successful in 1m13s

This commit is contained in:
Seaswimmer 2023-10-06 16:26:44 -04:00
parent e38df7aefe
commit 9d10e8a635
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -163,7 +163,6 @@ class Moderation(commands.Cog):
cursor.execute(insert_query, insert_values)
database.commit()
self.logger.info("MySQL Table (moderation_%s) created for %s (%s)", guild.id, guild.name, guild.id)
cursor.close()
database.close()
async def check_conf(self, config: list):