Fix Restart #5
All checks were successful
Subsonics - Pipeline/pipeline/head This commit looks good
All checks were successful
Subsonics - Pipeline/pipeline/head This commit looks good
This commit is contained in:
parent
a43fd09e9b
commit
7fbba2fdb9
@ -51,6 +51,18 @@ module.exports = {
|
|||||||
if (guild) guild.shard.send(payload);
|
if (guild) guild.shard.send(payload);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Emitted whenever a node connects
|
||||||
|
client.manager.on("nodeConnect", node => {
|
||||||
|
console.log(`Node "${node.options.identifier}" connected.`)
|
||||||
|
})
|
||||||
|
|
||||||
|
// Emitted whenever a node encountered an error
|
||||||
|
client.manager.on("nodeError", (node, error) => {
|
||||||
|
console.log(`Node "${node.options.identifier}" encountered an error: ${error.message}.`)
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user