diff --git a/moderation/moderation.py b/moderation/moderation.py index 0468620..82e10ec 100644 --- a/moderation/moderation.py +++ b/moderation/moderation.py @@ -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())