diff --git a/oyoyo/helpers.py b/oyoyo/helpers.py index 902cd8a..bfc6b93 100644 --- a/oyoyo/helpers.py +++ b/oyoyo/helpers.py @@ -115,28 +115,22 @@ def identify(cli, passwd, authuser="NickServ"): def quit(cli, msg): cli.send("QUIT %s" % (msg)) - def nick(cli, nick): - cli.send(f"NICK", nick) - + cli.seld("NICK", nick) def user(cli, username, realname): cli.send("USER", username, "0", "*", ":" + realname) - def join(cli, channel): """Protocol potentially allows multiple channels or keys.""" cli.send("JOIN", channel) - def part(cli, channel): cli.send("PART", channel) - def notice(cli, target, text): cli.send("NOTICE", target, text) - def invite(cli, nick, channel): cli.send("INVITE", nick, channel)