commands.py 文件源码

python
阅读 37 收藏 0 点赞 0 评论 0

项目:AceBot 作者: Run1e 项目源码 文件源码
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))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号