fix(moderation): pylint fix

This commit is contained in:
Seaswimmer 2023-12-16 14:45:17 -05:00
parent 44aaf4b320
commit 5b8f6823ef
Signed by untrusted user: cswimr
GPG key ID: 1EBC234EEDA901AE

View file

@ -313,7 +313,7 @@ class Moderation(commands.Cog):
return True
async def mysql_log(self, guild_id: str, author_id: str, moderation_type: str, target_id: int, role_id: int, duration, reason: str, database: mysql.connector.MySQLConnection = None, timestamp: int = None, resolved: bool = False, resolved_by: str = None, resolved_reason: str = None, expired: bool = None, changes: list = []):
async def mysql_log(self, guild_id: str, author_id: str, moderation_type: str, target_id: int, role_id: int, duration, reason: str, database: mysql.connector.MySQLConnection = None, timestamp: int = None, resolved: bool = False, resolved_by: str = None, resolved_reason: str = None, expired: bool = None, changes: list = []): # pylint: disable=dangerous-default-argument
if not timestamp:
timestamp = int(time.time())