Skip to content

Commit

Permalink
Update tgGuard.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
sajjad-021 authored Aug 21, 2017
1 parent b2113db commit 24aec71
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tgGuard.lua
Original file line number Diff line number Diff line change
Expand Up @@ -718,6 +718,9 @@ function tdcli_update_callback(data)
text = msg.content_.text_
print("This is [ Text ]")
msg_type = 'MSG:Text'
if text:match('^[/!#@$&*]') then
text = text:gsub('^[/!#@$&*]','')
end
end
-------------------------
if msg.content_.ID == "MessagePhoto" then
Expand Down

0 comments on commit 24aec71

Please sign in to comment.