add legacy version of tenquestionmarks irc bot
This commit is contained in:
7
modules/eightball.py
Executable file
7
modules/eightball.py
Executable 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"])))
|
Reference in New Issue
Block a user