mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-17 12:21:00 -05:00
Ew, just ew.
This commit is contained in:
parent
df3a312a9a
commit
cbd78e85ad
@ -67,8 +67,7 @@ setInterval(async()=>{
|
|||||||
|
|
||||||
// Connect to DB to retrieve the Gameserver info to fetch data.
|
// Connect to DB to retrieve the Gameserver info to fetch data.
|
||||||
MPDB.sync();
|
MPDB.sync();
|
||||||
const newServerId = client.config.mainServer.id
|
const ServerURL = MPDB.findOne({where: {serverId: client.config.mainServer.id}})
|
||||||
const ServerURL = MPDB.findOne({where: {serverId: newServerId}})
|
|
||||||
const DBURL = (await ServerURL).ip
|
const DBURL = (await ServerURL).ip
|
||||||
const DBCode = (await ServerURL).code
|
const DBCode = (await ServerURL).code
|
||||||
const verifyURL = DBURL.match(/http/);
|
const verifyURL = DBURL.match(/http/);
|
||||||
|
Loading…
Reference in New Issue
Block a user