Fix Restart #5
All checks were successful
Subsonics - Pipeline/pipeline/head This commit looks good

This commit is contained in:
CICD - Pipeline 2023-04-22 17:05:05 +02:00
parent a43fd09e9b
commit 7fbba2fdb9

View File

@ -51,6 +51,18 @@ module.exports = {
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}.`)
})