Add disconnect/reconnect commands
This commit is contained in:
@@ -88,4 +88,10 @@ export default {
|
||||
}
|
||||
app.client.send({ command: "TOPIC", params });
|
||||
},
|
||||
"reconnect": (app, args) => {
|
||||
app.reconnect();
|
||||
},
|
||||
"disconnect": (app, args) => {
|
||||
app.disconnect();
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user