diff --git a/logger.js b/logger.js index 706c5fd..567a293 100644 --- a/logger.js +++ b/logger.js @@ -1,3 +1,5 @@ +const config = require('./config.js'); + dateformat = require('@matteo.collina/dateformat'); client = require("./client.js") @@ -94,6 +96,10 @@ function importChatHistory(steamID) { }); } +if (config.chat == true) { + require("./chat.js") +} + module.exports = { steamUser: steamUser, getUserInfo: getUserInfo,