typescript schmypescript

This commit is contained in:
2025-03-18 09:55:57 +01:00
parent f7ac8ae5cd
commit 52d79e0763
52 changed files with 1948 additions and 891 deletions

8
dist/clients/irc/nick.js vendored Normal file
View File

@ -0,0 +1,8 @@
export default (bot) => {
bot._cmd.set("NICK", (msg) => {
const prefix = bot.parsePrefix(msg.prefix);
if (bot.server.user.has(prefix.nick))
bot.server.user.delete(prefix.nick);
bot.whois(msg.params[0], true);
});
};