removed debugging code

This commit is contained in:
topkecleon 2015-09-23 09:11:30 -04:00
parent c7ba76e72b
commit 75179e41c2

View File

@ -23,9 +23,6 @@ function on_msg_receive(msg)
for i,v in pairs(plugins) do
for j,w in pairs(v.triggers) do
if string.match(lower, w) then
if not counter[msg.from.id] then counter[msg.from.id] = 0 end
counter[msg.from.id] = counter[msg.from.id] + 1
print(msg.from.first_name, msg.from.id, counter[msg.from.id])
if v.typing then
send_chat_action(msg.chat.id, 'typing')
end
@ -108,7 +105,6 @@ end
bot_init()
last_update = 0
counter = {}
while is_started do