Modified some bots. Added madlib bot.

This commit is contained in:
RussellChamp committed 2018-06-13 14:34:23 +00:00
1 parent e9fc646207
commit 1671c4f3cb
19 files changed
+482 -25

No files matched your search

+1 -1
View File
@@ -204,7 +204,7 @@ def get_acronym(channel, text):
else:
defs = acronymFinder.get_acros(text, True, True)
for d in defs[0:5]: #only the first five. they are already sorted by 'score'
ircsock.send("PRIVMSG " + channel + " :" + d + "\n")
ircsock.send("PRIVMSG " + channel + " :" + d.encode('utf-8') + "\n")
if len(defs) > 5:
ircsock.send("PRIVMSG " + channel + " :" + defs[-1] + "\n")