This commit is contained in:
7cc5c4f330d47060 2024-09-12 00:09:00 -04:00
parent a76971147e
commit 19e21b1594
Signed by: 7cc5c4f330d47060
SSH key fingerprint: SHA256:e+4tcZut1nBpe10PqjaO+Rvie0Q7W4qIvFzcUw+7riA

View file

@ -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)
})