import cfg from "../config.json"; import { cuffeo } from "cuffeo"; import triggers from "./inc/trigger"; import events from "./inc/events"; import "./websrv"; (async () => { // Chatbots /*const self = { _trigger: new Map(), trigger: function trigger(args) { this.call = args.call; this.help = args.help || false; this.level = args.level || 0; this.active = args.hasOwnProperty("active") ? args.active : true; this.set = args.set || "all"; // uwe, nxy, f0ck, all this.clients = args.clients || ["irc", "tg"]; this.f = args.f; }, bot: new cuffeo(cfg.clients) }; triggers.forEach(mod => mod(self)); events.forEach(event => event(self));*/ // })();