22 lines
599 B
Python
22 lines
599 B
Python
|
#! /usr/bin/env python3
|
||
|
# -*- coding: utf-8 -*-
|
||
|
"""
|
||
|
Classic 8ball.
|
||
|
"""
|
||
|
import module
|
||
|
import random
|
||
|
|
||
|
@module.commands('8ball')
|
||
|
def eightball(bot, trigger):
|
||
|
"""
|
||
|
Classic 8ball.
|
||
|
"""
|
||
|
response = [ "No", "Probably not", "Don't count on it", "It'll never happen",
|
||
|
"Stop trying", "Uncertain", "Who knows~", "Doubtful", "I don't know",
|
||
|
"Maybe", "It could happen", "Yes", "Fate is a curious mistress",
|
||
|
"Your life is meaningless", "Who knows~", "The winds of change are always blowing",
|
||
|
"Nah", "The tides have turned" ]
|
||
|
|
||
|
msg = response[ random.randint(0, len(response)-1) ]
|
||
|
bot.reply(msg)
|