From 8a638550efc722af6109b8f15fc2dae3cc19d990 Mon Sep 17 00:00:00 2001 From: Akamaru Date: Sat, 15 Aug 2015 15:41:47 +0200 Subject: [PATCH] Send typing (disabled) --- bot/bot.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bot/bot.lua b/bot/bot.lua index 97e0fd4..b374c90 100644 --- a/bot/bot.lua +++ b/bot/bot.lua @@ -151,6 +151,8 @@ function match_plugin(plugin, plugin_name, msg) local matches = match_pattern(pattern, msg.text) if matches then print("Nachricht stimmt überein mit ", pattern) + -- Send typing + --if pattern ~= ".*" then send_typing(receiver, ok_cb, true) end if is_plugin_disabled_on_chat(plugin_name, receiver) then return nil