misc(moderation): reverted previous commit
Some checks failed
Pylint / Pylint (push) Failing after 1m13s

This commit is contained in:
Seaswimmer 2023-10-04 10:35:36 -04:00
parent ebe6aebd47
commit 43e1aebbbe
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -67,10 +67,10 @@ class Moderation(commands.Cog):
raise LookupError("MySQL connection details not set properly!")
try:
connection = mysql.connector.connect(
host='localhost',
user='galaxy',
password='2iK39zNjkyqDoM!',
database='galaxy'
host=await self.config.mysql_address(),
user=await self.config.mysql_username(),
password=await self.config.mysql_password(),
database=await self.config.mysql_database()
)
return connection
except mysql.connector.ProgrammingError as e: