mirror of
https://github.com/RussellChamp/tilde-projects.git
synced 2026-10-28 00:22:34 +00:00
Modified some bots. Added madlib bot.
This commit is contained in:
1 parent
e9fc646207
commit
1671c4f3cb
19 files changed
+482
-25
No files matched your search
@@ -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")
|
||||
|
||||
|
||||
Reference in new issue
Block a user