totally essential bug fix for totally essential feature @bb010g

https://github.com/topkecleon/otouto/pull/36
This commit is contained in:
topkecleon 2016-02-20 08:04:23 -05:00
parent f5233aa76f
commit 42fb9411bb

View File

@ -6,8 +6,7 @@ local triggers = {
}
local action = function(msg)
sendMessage(msg.chat.id,
msg.text_lower.match('^/ping') and 'Pong!' or 'Annyong.')
sendMessage(msg.chat.id, msg.text_lower:match('^/ping') and 'Pong!' or 'Annyong.')
end
return {