Skip to main content

Module for creating discord crash bots

Project description

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

discocrash.py-0.0.5.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

discocrash.py-0.0.5-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

Details for the file discocrash.py-0.0.5.tar.gz.

File metadata

  • Download URL: discocrash.py-0.0.5.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.0

File hashes

Hashes for discocrash.py-0.0.5.tar.gz
Algorithm Hash digest
SHA256 9cb7669cfd0ed72e84d7570cc18ff3b02572744f70b207d1ba2b95817dba53ea
MD5 eac8606fb44e1bf4c9bb994bd8e9d5e9
BLAKE2b-256 e4e95a5e8105e13a2a572d26286219707f1e7398071529831024970fed0bdc48

See more details on using hashes here.

Provenance

File details

Details for the file discocrash.py-0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for discocrash.py-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a42d50f23b33ad17ab786f50ecb80b3a1882ecb42769a5ce1db38bc8faa40790
MD5 16bc8b9a5e4a943155beffb0093602a3
BLAKE2b-256 58b978484921e8b5da5271e738ce087534e2703b756f9a921c035c43ab82dba0

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page