From 33adc43876e1fe915fa0c5a41ec16da743ad25e1 Mon Sep 17 00:00:00 2001 From: topkecleon Date: Thu, 26 Nov 2015 22:25:03 -0500 Subject: [PATCH] Disabled reply chatter by default. --- plugins/chatter.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/chatter.lua b/plugins/chatter.lua index 277640c..5bd608d 100755 --- a/plugins/chatter.lua +++ b/plugins/chatter.lua @@ -11,7 +11,8 @@ local action = function(msg) -- This is awkward, but if you have a better way, please share. if msg.text_lower:match('^' .. bot.first_name .. ',') then elseif msg.text_lower:match('^@' .. bot.username .. ',') then - elseif msg.reply_to_message and msg.reply_to_message.from.id == bot.id then + -- Uncomment the following line for Al Gore-like reply chatter. + -- elseif msg.reply_to_message and msg.reply_to_message.from.id == bot.id then elseif msg.from.id == msg.chat.id then else return true