dfw
This commit is contained in:
parent
6e7916d4f9
commit
4069b416da
2
package-lock.json
generated
2
package-lock.json
generated
@ -105,7 +105,7 @@
|
||||
"integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac="
|
||||
},
|
||||
"cuffeo": {
|
||||
"version": "git+https://gitfap.de/keinBot/cuffeo.git#31a633bda62c05577b43bd61e0900658b79af5d9",
|
||||
"version": "git+https://gitfap.de/keinBot/cuffeo.git#d55586ce5520d4119fa0900ef15ce8736fc62364",
|
||||
"from": "git+https://gitfap.de/keinBot/cuffeo.git"
|
||||
},
|
||||
"cycle": {
|
||||
|
@ -28,9 +28,7 @@ const read = () => new Promise((resolve, reject) => {
|
||||
type: rows[row].type
|
||||
}
|
||||
}
|
||||
loadAdmins().then(() => {
|
||||
resolve();
|
||||
});
|
||||
loadAdmins().then(() => resolve());
|
||||
})
|
||||
.catch(err => {
|
||||
reject("no cfg");
|
||||
|
@ -19,12 +19,6 @@ read().then(() => {
|
||||
},
|
||||
bot: new cuffeo(cfg.client, admins)
|
||||
};
|
||||
//setTimeout(() => { console.log(self.bot); }, 2000);
|
||||
//console.log(cfg.client, admins);
|
||||
|
||||
triggers.forEach(mod => mod(self));
|
||||
events.forEach(event => event(self));
|
||||
}).catch(err => {
|
||||
console.log(err);
|
||||
logger.error(`(main) ${err.message}`);
|
||||
});
|
||||
}).catch(err => logger.error(`(main) ${err.message}`));
|
||||
|
Loading…
Reference in New Issue
Block a user