administration.lua:
1.7 update. /alist for governors+ to get list of admins. /glist for owner to get list of groups. Single-governor groups. Auto-migration through 1.8. whoami.lua: Fixed markdown support. utilities.lua: Added build_name() to concatenate first and last names easily.
This commit is contained in:
parent
cc4c1ea108
commit
b41a05e3cd
@ -1158,7 +1158,6 @@ local action = function(msg)
|
|||||||
for i,v in ipairs(commands) do
|
for i,v in ipairs(commands) do
|
||||||
for key,val in pairs(v.triggers) do
|
for key,val in pairs(v.triggers) do
|
||||||
if msg.text_lower:match(val) then
|
if msg.text_lower:match(val) then
|
||||||
if msg.chat.type == 'private' then break end
|
|
||||||
if v.interior and not database.administration.groups[msg.chat.id_str] then
|
if v.interior and not database.administration.groups[msg.chat.id_str] then
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user