Initial commit
This commit is contained in:
6
src/clients/irc/welcome.mjs
Normal file
6
src/clients/irc/welcome.mjs
Normal file
@@ -0,0 +1,6 @@
|
||||
export default client => {
|
||||
client._cmd.set("001", function (msg) { // welcome
|
||||
this.join(this.options.channels);
|
||||
this.emit("data", ["connected", msg.params[1]]);
|
||||
}.bind(client));
|
||||
};
|
Reference in New Issue
Block a user