def ball(self, ctx, question):
"""Classic Magic 8 Ball"""
responses = (
'It is certain', # yes
'It is decidedly so',
'Without a doubt',
'Yes definitely',
'You may rely on it',
'As I see it, yes',
'Most likely',
'Outlook good',
'Yes',
'Signs point to yes', # uncertain
'Reply hazy try again',
'Ask again later',
'Better not tell you now',
'Cannot predict now',
'Concentrate and ask again',
"Don't count on it", # no
'My reply is no',
'My sources say no',
'Outlook not so good',
'Very doubtful'
)
await ctx.trigger_typing()
await asyncio.sleep(3)
await ctx.send(random.choice(responses))
评论列表
文章目录