Keine "Channel deaktiviert" Meldung, da sonst zu nervig
This commit is contained in:
parent
3441780708
commit
0804d44bb8
@ -85,7 +85,6 @@ function bot:on_msg_receive(msg, config) -- The fn run whenever a message is rec
|
|||||||
|
|
||||||
if is_channel_disabled(msg)then
|
if is_channel_disabled(msg)then
|
||||||
if not is_sudo(msg, config) or msg.text ~= "/channel enable" then
|
if not is_sudo(msg, config) or msg.text ~= "/channel enable" then
|
||||||
print('Channel wurde deaktiviert')
|
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user