Loging at the devTeam Storage

This commit is contained in:
Luis Fernando Molina committed 2018-05-20 12:02:29 +02:00
1 parent 991ed20a24
commit 9aab0514aa
17 files changed
+313 -59

No files matched your search

+6 -4
View File
@@ -13,6 +13,12 @@
const MODULE_NAME = "Status Report";
let bot = BOT;
const logger = DEBUG_MODULE.newDebugLog();
logger.bot = bot;
logger.initialize();
let thisObject = {
file: undefined, // Here we have the JSON object representing the file content.
initialize: initialize,
@@ -22,12 +28,8 @@
verifyMarketComplete: verifyMarketComplete
};
let bot = BOT;
let owner; // This is the bot owner of the Status Report. Only owners can save the report and override the existing content.
const logger = DEBUG_MODULE.newDebugLog();
logger.bot = bot;
/* Utilities needed. */
let utilities = UTILITIES.newUtilities(bot);