bye Discord

This commit is contained in:
Flummi 2018-08-24 23:17:11 +02:00
parent b85b227260
commit 92f4f4532d
2 changed files with 6 additions and 6 deletions

View File

@ -5,7 +5,7 @@ class cleverbot {
constructor() {
this.api = "https://cleverbot.io/1.0";
this.nick = "";
setTimeout(()=>this.init(), 3000);
setTimeout(()=>this.init(), 5000);
}
init() {
@ -40,4 +40,4 @@ class cleverbot {
}
};
export default new cleverbot();
export default new cleverbot();

View File

@ -1,7 +1,7 @@
import { cfg } from "./cfg";
import { irc as irclib } from "../clients/irc";
import { tg as tglib } from "../clients/tg";
import { discord as discordlib } from "../clients/discord";
//import { discord as discordlib } from "../clients/discord";
import EventEmitter from "events";
@ -27,13 +27,13 @@ const wrapper = class wrapper extends EventEmitter {
client: new tglib(cfg.client[srv].val)
});
break;
case "discord":
/*case "discord":
clients.push({
name: "discord",
type: "discord",
client: new discordlib(cfg.client[srv].val)
});
break;
break;*/
}
}
}
@ -46,4 +46,4 @@ const wrapper = class wrapper extends EventEmitter {
}
};
export { wrapper, clients };
export { wrapper, clients };