router, api and stuff
This commit is contained in:
@ -1,13 +1,14 @@
|
||||
import cfg from "../config.json";
|
||||
import sql from "./inc/sql";
|
||||
import { cuffeo } from "cuffeo";
|
||||
|
||||
import triggers from "./inc/trigger";
|
||||
import events from "./inc/events";
|
||||
|
||||
import "./websrv";
|
||||
|
||||
(async () => {
|
||||
// Chatbots
|
||||
const self = {
|
||||
/*const self = {
|
||||
_trigger: new Map(),
|
||||
trigger: function trigger(args) {
|
||||
this.call = args.call;
|
||||
@ -21,7 +22,7 @@ import events from "./inc/events";
|
||||
bot: new cuffeo(cfg.clients)
|
||||
};
|
||||
triggers.forEach(mod => mod(self));
|
||||
events.forEach(event => event(self));
|
||||
events.forEach(event => event(self));*/
|
||||
|
||||
//
|
||||
})();
|
||||
|
Reference in New Issue
Block a user