Added "unknown command".
This commit is contained in:
parent
071bf0a8f1
commit
2b1729784c
@ -139,4 +139,8 @@ while 1:
|
|||||||
ircsock.send("PRIVMSG %s %s\r\n" %
|
ircsock.send("PRIVMSG %s %s\r\n" %
|
||||||
(usernick, phonebook.keys()))
|
(usernick, phonebook.keys()))
|
||||||
|
|
||||||
|
else:
|
||||||
|
ircsock.send("PRIVMSG %s Unknown command. Type \"/msg %s help\" for more information.\r\n" %
|
||||||
|
(usernick, NICK))
|
||||||
|
|
||||||
# print(line)
|
# print(line)
|
||||||
|
Loading…
Reference in New Issue
Block a user