Update banterbot.py

This commit is contained in:
Marcus316 2016-01-13 11:17:57 -05:00
parent b54b79feae
commit f7104fdcc7
1 changed files with 2 additions and 1 deletions

View File

@ -128,7 +128,8 @@ def define_word(channel, user, text):
if(len(defs) == 0):
ircsock.send("PRIVMSG " + channel + " :" + user + ": Couldn't find the definition of '" + word + "' :(\n")
else:
ircsock.send("PRIVMSG " + channel + " :" + user + ": Define '" + word + "'" + ''.join(defs)[0:200] + "\n")
for entry in defs:
ircsock.send("PRIVMSG " + channel + " :" + user + ": Define '" + word + "'" + entry[0:200] + "\n")
def make_rainbow(channel, user, text):
rbword = makeRainbow(text[9:])