Add disable of incoming netmsg
This commit is contained in:
parent
f8ddba5fd7
commit
ae14106a0d
1 changed files with 1 additions and 0 deletions
|
@ -47,6 +47,7 @@ module.exports = {
|
|||
color: 'white'
|
||||
}
|
||||
bot.forEach(item => {
|
||||
if(item.host.options && item.host.options.netmsgIncomingDisabled && c.type !== "console") return
|
||||
item.tellraw('@a', json)
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue