This commit is contained in:
2022-03-05 22:37:01 +01:00
parent 1913ba1471
commit 7fbfe60959
+1
View File
@@ -45,6 +45,7 @@ module.exports = class GenericBot {
async startBot() {
this.logger.info("starting bot " + this.botConfig.name)
this.streamHandler.postStream(async (post) => {
//TODO: change params, maybe
const postHandler = new PostHandler(post, this.logger, this.botConfig.respondToID, this.streamHandler);
postHandler.logPost();
postHandler.shouldReply(this.botConfig.name)