Make disconnect reason in example more apparent when logged out. (#1352)

* Add a warning to make people aware of what they should do about the 'Restart Required' message.

* More descriptive message when session has been logged out of.
This commit is contained in:
Deniz
2022-03-12 05:02:27 +01:00
committed by GitHub
parent a0e97458c6
commit 83669df329

View File

@@ -75,7 +75,7 @@ const startSock = async() => {
if((lastDisconnect.error as Boom)?.output?.statusCode !== DisconnectReason.loggedOut) {
startSock()
} else {
console.log('connection closed')
console.log('Connection closed. You are logged out.')
}
}