From 321e43dc78ae3fe25ab4673302cfe6ea835d2f75 Mon Sep 17 00:00:00 2001 From: kohlrabi Date: Sat, 7 May 2016 20:40:27 +0200 Subject: [PATCH] Now lists recorded users on '&phonebook' --- PagerBot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PagerBot.py b/PagerBot.py index 01f168f..35c52d5 100644 --- a/PagerBot.py +++ b/PagerBot.py @@ -115,7 +115,8 @@ while 1: pagingtext=' '.join(line[5:]) print("%s tries to send to %s \"%s\"\n" % (usernick, line[4], pagingtext)) ircsock.send("PRIVMSG %s %s\r\n" % (usernick, page(line[4], pagingtext, usernick))) - + elif(line[3] == ":&phonebook"): + ircsock.send("PRIVMSG %s %s\r\n" % (usernick, phonebook.keys())) # print(line)