ForcePilot/backend/package/yuxi/channels/adapters/irc/nickserv.py

26 lines
645 B
Python
Raw Normal View History

from __future__ import annotations
def nickserv_identify(password: str) -> str:
return f"PRIVMSG NickServ :IDENTIFY {password}"
def nickserv_ghost(nick: str, password: str) -> str:
return f"PRIVMSG NickServ :GHOST {nick} {password}"
def nickserv_recover(nick: str, password: str) -> str:
return f"PRIVMSG NickServ :RECOVER {nick} {password}"
def nickserv_release(nick: str, password: str) -> str:
return f"PRIVMSG NickServ :RELEASE {nick} {password}"
def nickserv_info(nick: str) -> str:
return f"PRIVMSG NickServ :INFO {nick}"
def nickserv_status(nick: str) -> str:
return f"PRIVMSG NickServ :STATUS {nick}"