Uwev2/src/inc/clients/irc/ping.js
2017-11-20 14:19:52 +01:00

6 lines
146 B
JavaScript

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