discocrash.py-0.0.5
توضیحات
Module for creating discord crash bots
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | discocrash.py-0.0.5 |
| نام | discocrash.py |
| نسخه کتابخانه | 0.0.5 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | JanekDeveloper |
| ایمیل نویسنده | ivanbogynsky@gmail.com |
| آدرس صفحه اصلی | https://github.com/discocrash-py/discorash.py |
| آدرس اینترنتی | https://pypi.org/project/discocrash.py/ |
| مجوز | - |
# discorash.py
This module can be used to create crash bots.
# Installing
```pip install discocrash.py```
# Example
```py
import disnake
from discocrash import crash
from disnake.ext import commands, tasks
import asyncio
intents = disnake.Intents.all()
bot = commands.Bot(command_prefix="your token", intents=intents)
bot.remove_command('help')
token = "your token"
@bot.command()
async def crush(ctx):
await crash.crash(ctx, "crashed server name", "crash channel reason", "crash role reason", "crashed-channel-name", "crashed-role-name", 100, 10) #the penultimate parameter is responsible for how many channels will be created. The last parameter is responsible for how many roles will be created
bot.run(token)
نیازمندی
| مقدار | نام |
|---|---|
| ==2.7.0 | disnake |
نحوه نصب
نصب پکیج whl discocrash.py-0.0.5:
pip install discocrash.py-0.0.5.whl
نصب پکیج tar.gz discocrash.py-0.0.5:
pip install discocrash.py-0.0.5.tar.gz