Factions can be joined when all necessary bots and the server are running

This commit is contained in:
2018-10-29 06:04:14 +11:00
parent 09901ca10f
commit b4e42e4d76
9 changed files with 109 additions and 10 deletions

View File

@@ -57,6 +57,8 @@ client.on('ready', async () => {
}
console.log("Logged in as: " + client.user.username + " - " + client.user.id);
shared.ConnectToServer(client.user.username, process.env.SERVER_ADDRESS, process.env.SERVER_PORT, process.env.SERVER_PASS_KEY);
});
// Create an event listener for messages