misc(moderation): removed useless return
All checks were successful
Pylint / Pylint (push) Successful in 1m14s
All checks were successful
Pylint / Pylint (push) Successful in 1m14s
This commit is contained in:
parent
3d4dc392cd
commit
e38df7aefe
1 changed files with 1 additions and 1 deletions
|
@ -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."""
|
||||||
|
|
Loading…
Reference in a new issue