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.1.1.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

discocrash.py-0.1.1-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for discocrash.py-0.1.1.tar.gz
Algorithm Hash digest
SHA256 527f5ab44baa9562e581db255a7438ef261cf84b17f96c5605294302ca66a10a
MD5 23a77d10fe2634e0fbf3c415a47a01b8
BLAKE2b-256 af60fbb0f3b77f05f04727b215ffd419e3fc4e7cd90322faeaec59e32e77bd2b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: discocrash.py-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 17.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for discocrash.py-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f2c5198310c6dc670977133167632f815c1c8db74ee4cbbbf3c82432a11c2423
MD5 932c53586659a610409366ac8546d527
BLAKE2b-256 ca72e0a1b010ecdc532e1f54389d8fdaa7290a268ebe3add2cc9f6ca42ca2531

See more details on using hashes here.

Supported by

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