1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-09-29 08:20:59 -04:00

Ew, just ew.

This commit is contained in:
AnxietyisReal 2023-01-12 16:42:13 +11:00
parent bbc6dc9493
commit bd08f6eb55

View File

@ -67,8 +67,7 @@ setInterval(async()=>{
// Connect to DB to retrieve the Gameserver info to fetch data.
MPDB.sync();
const newServerId = client.config.mainServer.id
const ServerURL = MPDB.findOne({where: {serverId: newServerId}})
const ServerURL = MPDB.findOne({where: {serverId: client.config.mainServer.id}})
const DBURL = (await ServerURL).ip
const DBCode = (await ServerURL).code
const verifyURL = DBURL.match(/http/);