mirror of
https://github.com/ENSL/ensl_gathers.git
synced 2025-02-17 09:22:25 +00:00
Launch bot on start
This commit is contained in:
parent
b71805ffd3
commit
bd34f385f6
1 changed files with 3 additions and 0 deletions
3
index.js
3
index.js
|
@ -8,6 +8,9 @@ var server = require('http').Server(app);
|
|||
var io = require('socket.io')(server);
|
||||
var config = require(path.join(__dirname, "config/config.js"));
|
||||
|
||||
// Initialise Steam Bot
|
||||
require(path.join(__dirname, "lib/steam/bot"))(config.steamBot);
|
||||
|
||||
// Load Models
|
||||
require(path.join(__dirname, "db/index"));
|
||||
|
||||
|
|
Loading…
Reference in a new issue