diff --git a/moderation/moderation.py b/moderation/moderation.py index 9bc6a8d..9782def 100644 --- a/moderation/moderation.py +++ b/moderation/moderation.py @@ -15,7 +15,7 @@ class Moderation(commands.Cog): self.config.register_global( mysql_address= " ", mysql_database = " ", - mysql_user = " ", + mysql_username = " ", mysql_password = " " ) disable_dateutil() @@ -25,7 +25,7 @@ class Moderation(commands.Cog): conf = await self.check_conf([ 'mysql_address', 'mysql_database', - 'mysql_user', + 'mysql_username', 'mysql_password' ]) if conf: @@ -44,7 +44,7 @@ class Moderation(commands.Cog): conf = await self.check_conf([ 'mysql_address', 'mysql_database', - 'mysql_user', + 'mysql_username', 'mysql_password' ]) if conf: @@ -68,7 +68,7 @@ class Moderation(commands.Cog): try: connection = mysql.connector.connect( host=await self.config.mysql_address(), - user=await self.config.mysql_user(), + user=await self.config.mysql_username(), password=await self.config.mysql_password(), database=await self.config.mysql_database() )