discorebots-0.0.75
توضیحات
Package to create discord bots its easy!
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | discorebots-0.0.75 |
| نام | discorebots |
| نسخه کتابخانه | 0.0.75 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | SScefaLI |
| ایمیل نویسنده | birka11@list.ru |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/discorebots/ |
| مجوز | - |
# About
Module to create discord bots its easy!
#Example
```py
from discorebots import setupBot
bot = setupBot(
prefix=".", #provide your bot prefix
intents=True, #discord intents (if True pls enable intents in discordapp.com/developers/applications in your application bot)
sharding=True, #if you want sharding guilds
shardsAmount=2, #shards count
token="bot token"
)
bot.onWebsocketResponse("Bot is ready to use!") #log ready
bot.onClientMessage() #acess bot messages
bot.addCommand(
name = "ping",
code = "Pong! $pingms" #if you want change prefix in command add: prefix="new prefix"
)
bot.addCommand(
name = "uptime",
code = "Uptime: $uptime"
)
bot.start() #start client
```
نیازمندی
| مقدار | نام |
|---|---|
| - | disnake |
| - | requests |
| - | asyncio |
| - | colorama |
| - | betterjsondb |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl discorebots-0.0.75:
pip install discorebots-0.0.75.whl
نصب پکیج tar.gz discorebots-0.0.75:
pip install discorebots-0.0.75.tar.gz