Skip to main content

discorash.py

This module can be used to create crash bots.

Installing

pip install discocrash.py

Example

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)

Metadata

Release files for discocrash.py 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for discocrash.py 0.1.1
File Size Uploaded
discocrash.py-0.1.1.tar.gz 15.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for discocrash.py 0.1.1
File Interpreter ABI Platform
discocrash.py-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 33.1 kB

Release files / discocrash.py-0.1.1.tar.gz

Download URL discocrash.py-0.1.1.tar.gz
Size 15.9 kB
Tags Source
SHA-256 checksum
How to use checksums
527f5ab44baa9562e581db255a7438ef261cf84b17f96c5605294302ca66a10a
BLAKE2b-256 checksum
How to use checksums
af60fbb0f3b77f05f04727b215ffd419e3fc4e7cd90322faeaec59e32e77bd2b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.1

Release files / discocrash.py-0.1.1-py3-none-any.whl

Download URL discocrash.py-0.1.1-py3-none-any.whl
Size 17.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f2c5198310c6dc670977133167632f815c1c8db74ee4cbbbf3c82432a11c2423
BLAKE2b-256 checksum
How to use checksums
ca72e0a1b010ecdc532e1f54389d8fdaa7290a268ebe3add2cc9f6ca42ca2531
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.1

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

0.0.5

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page