# disconnected

The `disconnected`event is triggered when disconnects from the server.

```javascript
bot.on('disconnected', () => {
    // Your code here.
});
```

