Answers for "how to code discord bot 8ball python"

0

how to code discord bot 8ball python

@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)
Posted by: Guest on September-12-2021

Code answers related to "how to code discord bot 8ball python"

Python Answers by Framework

Browse Popular Code Answers by Language