let end user do server

This commit is contained in:
Skillz
2021-02-25 16:58:10 -05:00
parent cdd043778c
commit 94bc5be370

View File

@@ -109,10 +109,7 @@ export async function startBigBrainBot(data: BigBrainBotConfig) {
);
// PROXY DOESNT NEED US SPAWNING SHARDS
if (data.wsPort) {
// Need HTTP Server to listen to proxy
console.log("TODO: make http");
} else {
if (!data.wsPort) {
// Initial API connection to get info about bots connection
botGatewayData = await getGatewayBot();
proxyWSURL = botGatewayData.url;