disabled annoying message and pattern tgservice in manager.lua
This commit is contained in:
parent
bfff039a01
commit
df7817a3be
@ -96,7 +96,8 @@ local function pre_process(msg)
|
|||||||
end
|
end
|
||||||
|
|
||||||
else
|
else
|
||||||
print('Whitelist not enabled or is sudo')
|
--print('Whitelist not enabled or is sudo')
|
||||||
|
print('')
|
||||||
end
|
end
|
||||||
|
|
||||||
return msg
|
return msg
|
||||||
@ -204,7 +205,7 @@ return {
|
|||||||
"^/(ban) (user) (%d+)$",
|
"^/(ban) (user) (%d+)$",
|
||||||
"^/(ban) (delete) (%d+)$",
|
"^/(ban) (delete) (%d+)$",
|
||||||
"^/(kick) (%d+)$",
|
"^/(kick) (%d+)$",
|
||||||
"^//tgservice (.+)$",
|
--"^//tgservice (.+)$",
|
||||||
},
|
},
|
||||||
run = run,
|
run = run,
|
||||||
pre_process = pre_process,
|
pre_process = pre_process,
|
||||||
|
Reference in New Issue
Block a user