Advertisement
Buzzrz

link-lock

Dec 31st, 2015
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. local function run(msg, matches)
  2. local chat = get_receiver(msg)
  3. local user = "user#id"..msg.from.id
  4. if matches[1] == "https://telegram.me/joinchat/," then
  5. send_large_msg(chat, 'ممنوع الاعلانات!')
  6. chat_del_user(chat, user, ok_cb, true)
  7. end
  8. end
  9.  
  10. return {
  11. patterns = {
  12. "https://telegram.me/joinchat/,"
  13. },
  14. run = run,
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement