Cómo codificar 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)
Thecodecopyer