Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

async8ball

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

async8ball

Asynchronous 8ball response generator.

  • 2.0.9
  • PyPI
  • Socket score

Maintainers
1

async8ball

Asynchronous 8ball response generator. Example:

import async8ball
async def your_function():
 response = await async_8ball.response()

Deco Example:

from async8ball.decorators import ball_decorator
@ball_decorator
def my_function(**kwargs):
  return kwargs['response']

Discord.py command implement:

from async8ball.decorators import ball_decorator
@ball_decorator
def my_func(question, **kwargs):
  return kwargs['response']
@bot.command()
async def my_command(ctx, *, question:str):
  await ctx.send(ball8(question))

or

import async8ball
@bot.command(self, ctx, *, question:str):
 await ctx.send(await async8ball.response(question))

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc