Update bot.lua
This commit is contained in:
parent
c7d6d5acd4
commit
2563ca4cac
3
bot.lua
3
bot.lua
@ -333,8 +333,9 @@ local matches = {string.match(msg.text,('/id (.*)'))}
|
||||
local input = get_word(matches[1])
|
||||
id = resolve_username(input)
|
||||
sendMessage(msg.chat.id,id)
|
||||
end
|
||||
|
||||
if msg.text == "/start" and not is_add(msg) then
|
||||
elseif msg.text == "/start" and not is_add(msg) then
|
||||
table.insert(add.id,msg.from.id)
|
||||
print("adding.....")
|
||||
local user = ""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user