Uwev2/src/clients/irc/ping.mjs
2017-12-04 13:12:02 +01:00

6 lines
144 B
JavaScript

export default client => {
client._cmd.set("PING", function (msg) { // ping
this.send(`PONG ${msg.params.join``}`);
}.bind(client));
};