updated readme, changed some things
This commit is contained in:
@@ -15,7 +15,7 @@ local action = function(msg)
|
||||
sendMessage(msg.chat.id, message)
|
||||
return
|
||||
elseif string.match(msg.text_lower, '^/about[@'..bot.username..']*') then
|
||||
sendReply(msg, message)
|
||||
sendMessage(msg.chat.id, message)
|
||||
return
|
||||
end
|
||||
|
||||
|
@@ -12,7 +12,7 @@ local action = function(msg)
|
||||
local input = msg.text:input()
|
||||
|
||||
if input then
|
||||
sendReply(msg, latcyr(input))
|
||||
sendMessage(msg.chat.id, latcyr(input))
|
||||
else
|
||||
sendReply(msg, doc)
|
||||
end
|
||||
|
@@ -47,7 +47,7 @@ local action = function(msg)
|
||||
|
||||
local message
|
||||
|
||||
if msg.text:match('y/n%p?$') then
|
||||
if msg.text_lower:match('y/n%p?$') then
|
||||
message = yesno_answers[math.random(#yesno_answers)]
|
||||
else
|
||||
message = ball_answers[math.random(#ball_answers)]
|
||||
|
Reference in New Issue
Block a user