From 6f71453824af8c00e2a2da26dd5ef14de6c2c3c8 Mon Sep 17 00:00:00 2001 From: CreepSore Date: Wed, 25 Sep 2019 23:41:05 +0200 Subject: [PATCH] Fixed issue nr. 1 --- app.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app.js b/app.js index 3134b59..98fbaf9 100644 --- a/app.js +++ b/app.js @@ -88,7 +88,10 @@ function send(msg, txt){ if (raw.bot.stealth_mode) console.log(">> ANSWER: " + txt + "\n"); else { console.log(">> Sent Answer\n"); - msg.reply(txt); + if(msg.channel.type === "group") + msg.channel.send(txt); + else + msg.reply(txt); } }