Fixed error handling
This commit is contained in:
6
index.js
6
index.js
@@ -10,14 +10,10 @@ const eventEmitter = new EventEmitter();
|
||||
shared.eventEmitter = eventEmitter;
|
||||
let baseToken = process.env.BASE_TOKEN;
|
||||
shared.setToken(baseToken);
|
||||
/*
|
||||
|
||||
global.minute = 1000 * 60;
|
||||
global.hour = minute * 60;
|
||||
global.day = hour * 24;
|
||||
*/
|
||||
global.minute = 1000;
|
||||
global.hour = minute * 10;
|
||||
global.day = hour * 3;
|
||||
|
||||
app.listen(port, () => {
|
||||
Log(`[${shared.now()}] Il server è online sulla porta ${port}`);
|
||||
|
||||
Reference in New Issue
Block a user