eight-ball-3.0.3
توضیحات
8ball response generator.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | eight-ball-3.0.3 |
| نام | eight-ball |
| نسخه کتابخانه | 3.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | cryptex |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/Cryptex-github/eight_ball |
| آدرس اینترنتی | https://pypi.org/project/eight-ball/ |
| مجوز | Apache-2.0 |
# eight_ball
8ball response generator.
Example:
```py
import eight_ball
ball = eight_ball.ball()
print(ball.response("is eight_ball a good ball"))
```
Discord.py bot implement
```py
"""
Put the ball object under the bot object
"""
@bot.command()
async def ball(ctx, *, question):
await ctx.send(bot.ball.response(question)
```
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.4 | Python |
نحوه نصب
نصب پکیج whl eight-ball-3.0.3:
pip install eight-ball-3.0.3.whl
نصب پکیج tar.gz eight-ball-3.0.3:
pip install eight-ball-3.0.3.tar.gz