Bugfix
This commit is contained in:
parent
a76971147e
commit
19e21b1594
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue