From ae14106a0d068fe3b499a7411025e26193b4bead Mon Sep 17 00:00:00 2001 From: 7cc5c4f330d47060 Date: Sun, 25 Aug 2024 22:20:34 -0400 Subject: [PATCH] Add disable of incoming netmsg --- commands/netmsg.js | 1 + 1 file changed, 1 insertion(+) diff --git a/commands/netmsg.js b/commands/netmsg.js index 6d77595..8d6cc4a 100644 --- a/commands/netmsg.js +++ b/commands/netmsg.js @@ -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) }) }