This commit is contained in:
neersighted 2012-02-28 21:09:40 -08:00
parent c014d91ec2
commit eec12aa9e4
7 changed files with 28 additions and 18 deletions

View file

@ -27,15 +27,17 @@ answers = [g + "As I see it, yes",
y + "Maybe...",
r + "You're kidding, right?",
r + "Don't count on it",
r + "In your dreams",
r + "In your dreams",
r + "My reply is no",
r + "My sources say no",
r + "Outlook not so good",
r + "Very doubtful"]
@hook.command('8ball')
def eightball(inp, me=None):
".8ball <question> -- The all knowing magic eight ball, in electronic form. Ask and it shall be answered!"
".8ball <question> -- The all knowing magic eight ball, "\
"in electronic form. Ask and it shall be answered!"
global nextresponsenumber
inp = inp.strip()
if re.match("[a-zA-Z0-9]", inp[-1]):