misc(moderation): removed useless return
All checks were successful
Pylint / Pylint (push) Successful in 1m14s

This commit is contained in:
Seaswimmer 2023-10-06 16:24:48 -04:00
parent 3d4dc392cd
commit e38df7aefe
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -163,8 +163,8 @@ class Moderation(commands.Cog):
cursor.execute(insert_query, insert_values) cursor.execute(insert_query, insert_values)
database.commit() database.commit()
self.logger.info("MySQL Table (moderation_%s) created for %s (%s)", guild.id, guild.name, guild.id) self.logger.info("MySQL Table (moderation_%s) created for %s (%s)", guild.id, guild.name, guild.id)
cursor.close()
database.close() database.close()
return "Complete!"
async def check_conf(self, config: list): async def check_conf(self, config: list):
"""Checks if any required config options are not set.""" """Checks if any required config options are not set."""