"""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("Eightball: %s" % (random.choice(tenquestionmarks.config()["eightball"]["responses"])))