async8ball

Asynchronous 8ball response generator.


Keywords
async, 8ball
License
Apache-2.0
Install
pip install async8ball==2.0.9

Documentation

eight_ball

8ball response generator. Example:

import eight_ball
ball = eight_ball.ball()
print(ball.response("is eight_ball a good ball"))

Discord.py bot implement

"""
Put the ball object under the bot object
"""
@bot.command()
async def ball(ctx, *, question):
 await ctx.send(bot.ball.response(question))