Bugfix
This commit is contained in:
parent
bfd8c76e15
commit
a76971147e
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -66,7 +66,7 @@ const createBot = function createBot (host, oldId) {
|
||||||
module.exports.bots[oldId] = bot
|
module.exports.bots[oldId] = bot
|
||||||
} else {
|
} else {
|
||||||
bot.id = module.exports.bots.length
|
bot.id = module.exports.bots.length
|
||||||
module.exports.bots.push(bots)
|
module.exports.bots.push(bot)
|
||||||
}
|
}
|
||||||
|
|
||||||
bot.host = host
|
bot.host = host
|
||||||
|
|
Loading…
Reference in a new issue