📅  最后修改于: 2022-03-11 14:47:01.106000             🧑  作者: Mango
@client.command(name='8ball',
description="Answers a yes/no question.",
brief="Answers from the beyond.",
aliases=['eight_ball', 'eightball', '8-ball'],
pass_context=True)
async def eight_ball(context):
possible_responses = [
'That is a resounding no',
'It is not looking likely',
'Too hard to tell',
'It is quite possible',
'Definitely',
'Maybe so.'
]
await context.channel.send(random.choice(possible_responses) + ", " + context.message.author.mention)