Skip to content

Commit

Permalink
Update welcome.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
tgcloner committed Jan 24, 2016
1 parent 8f8dea6 commit b9db344
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/welcome.lua
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,10 @@ local function description_rules(msg, nama)
rules = data[tostring(msg.to.id)]["rules"]
rules = "\nقوانین:\n"..rules.."\n"
end
local hello_name = msg.action.user.first_name
local sambutan = "تو در گروه : '"..string.gsub(msg.to.print_name, "_", " ").."'هستی\n"
local text = sambutan..about..rules.."\n"
local text = text.."خوش اومدی "..bye_name
local text = text.."خوش اومدی "..hello_name
local receiver = get_receiver(msg)
send_large_msg(receiver, text, ok_cb, false)
end
Expand Down

0 comments on commit b9db344

Please sign in to comment.