global.processDatetime moved to bot object

This commit is contained in:
Luis Fernando Molina committed 2018-03-18 16:35:25 +01:00
1 parent a4759ebf45
commit f9c333a85c
7 files changed
+13 -14

No files matched your search

+1 -1
View File
@@ -71,7 +71,7 @@
/* We define the datetime for the process that we are running now. This will be the official processing time for both the infraestructure and the bot. */
global.processDatetime = new Date(); // This will be considered the process date and time, so as to have it consistenly all over the execution.
bot.processDatetime = new Date(); // This will be considered the process date and time, so as to have it consistenly all over the execution.
/* We will prepare first the infraestructure needed for the bot to run. There are 3 modules we need to sucessfullly initialize first. */