add legacy version of tenquestionmarks irc bot

This commit is contained in:
Adrian Malacoda
2017-02-04 21:13:24 -06:00
parent a3bed71cdd
commit ee0ec3f727
25 changed files with 7460 additions and 0 deletions

7
modules/eightball.py Executable file
View File

@@ -0,0 +1,7 @@
"""Ask the eight-ball a yes/no question, and it will give you a reasonable answer.
Usage: !eightball question"""
import random
def eightball(nick,channel,tenquestionmarks,question):
return tenquestionmarks.html("<b>Eightball:</b> %s" % (random.choice(tenquestionmarks.config()["eightball"]["responses"])))