Added "unknown command".

This commit is contained in:
Bandie Yip Kojote 2016-05-11 01:15:24 +02:00
parent 071bf0a8f1
commit 2b1729784c

View File

@ -139,4 +139,8 @@ while 1:
ircsock.send("PRIVMSG %s %s\r\n" %
(usernick, phonebook.keys()))
else:
ircsock.send("PRIVMSG %s Unknown command. Type \"/msg %s help\" for more information.\r\n" %
(usernick, NICK))
# print(line)