remove debug logs

This commit is contained in:
2022-03-05 20:23:01 +01:00
parent 8e2d020249
commit 6ffce4b848
-2
View File
@@ -30,7 +30,6 @@ module.exports = class GenericBot {
this.logger.info("message is a mention, gonna reply to it");
messageHandler.getTextToRespond().then(async text => {
this.#getModifiedText(text).then(async modifiedText => {
console.log(modifiedText)
const comment = await this.streamHandler.getComment(msg.id);
const replySuccessful = await new CommentHandler(comment, this.logger).reply(modifiedText);
if (replySuccessful) {
@@ -50,7 +49,6 @@ module.exports = class GenericBot {
postHandler.shouldReplyTo(this.botConfig.name).then(async (comment) => {
this.logger.info("Post should be replied to.");
this.#getModifiedText(postHandler.getText()).then(modifiedText => {
console.log(modifiedText)
const commentHandler = new CommentHandler(comment, this.logger);
commentHandler.reply(modifiedText);
}).catch(this.logger.error);