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!")
|
||||
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:
|
||||
|
|
Loading…
Reference in a new issue