Nachrichten von Telegram werden an Sudouser weitergeleitet

This commit is contained in:
Akamaru 2016-01-31 19:07:17 +01:00
parent e92ecd97f2
commit 7c0d906b9e

View File

@ -80,7 +80,10 @@ function msg_valid(msg)
end end
if msg.from.id == 777000 then if msg.from.id == 777000 then
print('\27[36mNicht gültig: Telegram Nachricht\27[39m') print('\27[36mTelegram Mitteilung, leite an Sudouser weiter...\27[39m')
for _,user in pairs(sudo_users) do
send_large_msg('user#id'..user, msg.text, ok_cb, false)
end
return false return false
end end