mirror of
https://github.com/RussellChamp/tilde-projects.git
synced 2026-10-28 00:22:34 +00:00
Update banterbot.py
This commit is contained in:
1 parent
b54b79feae
commit
f7104fdcc7
1 file changed
+2
-1
@@ -128,7 +128,8 @@ def define_word(channel, user, text):
|
|||||||
if(len(defs) == 0):
|
if(len(defs) == 0):
|
||||||
ircsock.send("PRIVMSG " + channel + " :" + user + ": Couldn't find the definition of '" + word + "' :(\n")
|
ircsock.send("PRIVMSG " + channel + " :" + user + ": Couldn't find the definition of '" + word + "' :(\n")
|
||||||
else:
|
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):
|
def make_rainbow(channel, user, text):
|
||||||
rbword = makeRainbow(text[9:])
|
rbword = makeRainbow(text[9:])
|
||||||
|
|||||||
Reference in new issue
Block a user