1
0
forked from keinBot/cuffeo
Files
scuffeo/src/clients/irc/pwdreq.mjs
2019-08-22 22:05:18 +00:00

7 lines
188 B
JavaScript

export default bot => {
bot._cmd.set("464", msg => { // motd_entry
if (bot.options.password.length > 0 && !bot.options.sasl)
bot.send(`PASS ${bot.options.password}`);
});
};