added ctcp version, finger, userinfo

This commit is contained in:
jan6 2023-07-08 13:36:19 -05:00
parent 0ab6316a1d
commit e05206d9c6
1 changed files with 5 additions and 1 deletions

View File

@ -153,8 +153,12 @@ class Command:
self.notice(
f"\x01FINGER {self.config.self.nick} version {self.getversion()} ({self.config.self.source})\x01"
)
elif ctcp.startswith("USERINFO"):
self.notice(
"\x01USERINFO crude IRC bot, originally made by jan6, as bot6 (https://tildegit.org/jan6/bot6)\x01"
)
elif ctcp.startswith("CLIENTINFO"):
self.notice("\x01CLIENTINFO PING SOURCE FINGER VERSION\x01")
self.notice("\x01CLIENTINFO USERINFO PING SOURCE FINGER VERSION\x01")
@adm
def quit(self, prefix, cmd, pm, line, admin, mesg):