misc(moderation): reverted previous commit
Some checks failed
Pylint / Pylint (push) Failing after 1m13s
Some checks failed
Pylint / Pylint (push) Failing after 1m13s
This commit is contained in:
parent
ebe6aebd47
commit
43e1aebbbe
1 changed files with 4 additions and 4 deletions
|
@ -67,10 +67,10 @@ class Moderation(commands.Cog):
|
||||||
raise LookupError("MySQL connection details not set properly!")
|
raise LookupError("MySQL connection details not set properly!")
|
||||||
try:
|
try:
|
||||||
connection = mysql.connector.connect(
|
connection = mysql.connector.connect(
|
||||||
host='localhost',
|
host=await self.config.mysql_address(),
|
||||||
user='galaxy',
|
user=await self.config.mysql_username(),
|
||||||
password='2iK39zNjkyqDoM!',
|
password=await self.config.mysql_password(),
|
||||||
database='galaxy'
|
database=await self.config.mysql_database()
|
||||||
)
|
)
|
||||||
return connection
|
return connection
|
||||||
except mysql.connector.ProgrammingError as e:
|
except mysql.connector.ProgrammingError as e:
|
||||||
|
|
Loading…
Reference in a new issue