From 19e21b1594de944b878108d7ea39e01945097aa0 Mon Sep 17 00:00:00 2001 From: 7cc5c4f330d47060 Date: Thu, 12 Sep 2024 00:09:00 -0400 Subject: [PATCH] Bugfix --- commands/netmsg.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/netmsg.js b/commands/netmsg.js index 8f40157..889979a 100644 --- a/commands/netmsg.js +++ b/commands/netmsg.js @@ -1,4 +1,4 @@ -const { bot } = require('../index.js') +const { bots } = require('../index.js') const { getMessage } = require('../util/lang.js') module.exports = { execute: (c) => { @@ -46,7 +46,7 @@ module.exports = { ], color: 'white' } - bot.forEach(item => { + bots.forEach(item => { if (item.host.options && item.host.options.netmsgIncomingDisabled && c.type !== 'console') return item.tellraw('@a', json) })