...
This commit is contained in:
parent
510838db4d
commit
6e7916d4f9
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,4 +1,4 @@
|
|||
node_modules/
|
||||
logs/*.log
|
||||
cfg/*.json
|
||||
b/*[!.empty]
|
||||
b/
|
10
package-lock.json
generated
10
package-lock.json
generated
|
@ -63,9 +63,9 @@
|
|||
}
|
||||
},
|
||||
"bluebird": {
|
||||
"version": "3.5.1",
|
||||
"resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.1.tgz",
|
||||
"integrity": "sha512-MKiLiV+I1AA596t9w1sQJ8jkiSr5+ZKi0WKrYGUn6d1Fx+Ij4tIj+m2WMQSGczs5jZVxV339chE8iwk6F64wjA=="
|
||||
"version": "3.5.2",
|
||||
"resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.2.tgz",
|
||||
"integrity": "sha512-dhHTWMI7kMx5whMQntl7Vr9C6BvV10lFXDAasnqnrMYhXVCzzk6IO9Fo2L75jXHT07WrOngL1WDXOp+yYS91Yg=="
|
||||
},
|
||||
"cardinal": {
|
||||
"version": "2.1.1",
|
||||
|
@ -104,6 +104,10 @@
|
|||
"resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
|
||||
"integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac="
|
||||
},
|
||||
"cuffeo": {
|
||||
"version": "git+https://gitfap.de/keinBot/cuffeo.git#31a633bda62c05577b43bd61e0900658b79af5d9",
|
||||
"from": "git+https://gitfap.de/keinBot/cuffeo.git"
|
||||
},
|
||||
"cycle": {
|
||||
"version": "1.0.3",
|
||||
"resolved": "https://registry.npmjs.org/cycle/-/cycle-1.0.3.tgz",
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
import { logger } from "./inc/log";
|
||||
import { read, cfg, admins } from "./inc/cfg";
|
||||
//import { wrapper } from "./inc/wrapper";
|
||||
import { cuffeo } from "cuffeo";
|
||||
|
||||
import triggers from "./inc/trigger";
|
||||
|
@ -20,9 +19,12 @@ read().then(() => {
|
|||
},
|
||||
bot: new cuffeo(cfg.client, admins)
|
||||
};
|
||||
//setTimeout(() => { console.log(self.bot); }, 2000);
|
||||
//console.log(cfg.client, admins);
|
||||
|
||||
triggers.forEach(mod => {
|
||||
mod(self);
|
||||
});
|
||||
triggers.forEach(mod => mod(self));
|
||||
events.forEach(event => event(self));
|
||||
}).catch(err => logger.error(`(main) ${err.message}`));
|
||||
}).catch(err => {
|
||||
console.log(err);
|
||||
logger.error(`(main) ${err.message}`);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user