|
| 1 | +try: |
| 2 | + import os, time, threading, colorama, discord, random, requests |
| 3 | + from colorama import Fore, Back, Style |
| 4 | + from discord.ext import commands |
| 5 | + |
| 6 | +except: |
| 7 | + import os, time |
| 8 | + print("Failed To Import The Packages, Installing The Requirements.txt.") |
| 9 | + print("if installing the requirements fails goto command command prompt and type pip install -r requirements.txt") |
| 10 | + time.sleep(2) |
| 11 | + os.system("pip install -r requirements.txt") |
| 12 | + import os, time, threading, colorama, discord, random, requests |
| 13 | + from colorama import Fore, Back, Style |
| 14 | + from discord.ext import commands |
| 15 | + print("Sucessfully Installed And Imported the Packages!") |
| 16 | + time.sleep(2) |
| 17 | + os.system("cls") |
| 18 | + |
| 19 | +os.system("title MassDm - By ReyZ") |
| 20 | + |
| 21 | +with open('tokens.txt') as tokens: |
| 22 | + totaltokens = sum(1 for line in tokens) |
| 23 | + |
| 24 | +print(Fore.BLUE + "You Got " + Fore.CYAN + str(totaltokens) + Fore.BLUE + " Bot Tokens.") |
| 25 | + |
| 26 | +print(Fore.CYAN + "type Help to get Info about this Tool.") |
| 27 | +print("") |
| 28 | +InvalidTokens = [] |
| 29 | +dmspamthreadhandler = 0 |
| 30 | +def dmspam(): |
| 31 | + import time |
| 32 | + import discord |
| 33 | + from discord.ext import commands |
| 34 | + |
| 35 | + bot = commands.Bot(command_prefix = prefix, intents = discord.Intents.all()) |
| 36 | + |
| 37 | + @bot.event |
| 38 | + async def on_ready(): |
| 39 | + |
| 40 | + if nickofbots is not None: |
| 41 | + await bot.user.edit(username=nickofbots) |
| 42 | + |
| 43 | + await bot.change_presence(status=discord.Status.offline, activity=discord.Activity(type=discord.ActivityType.playing, name="HEIL SVF")) |
| 44 | + |
| 45 | + if idofuser is None or times is None: |
| 46 | + print(Fore.WHITE + "[" + Fore.LIGHTRED_EX + "-" + Fore.WHITE + "] " + Fore.RED + "A user_id and/or times were not included.") |
| 47 | + return |
| 48 | + |
| 49 | + aws = 0 |
| 50 | + try: |
| 51 | + target = await bot.fetch_user(idofuser) |
| 52 | + |
| 53 | + if message is not None: |
| 54 | + |
| 55 | + for i in range(int(times)): |
| 56 | + time.sleep(random.uniform(0.02, 0.3)) |
| 57 | + |
| 58 | + try: |
| 59 | + await target.send(message) |
| 60 | + aws += 1 |
| 61 | + print(Fore.WHITE + "[" + Fore.CYAN + "+" + Fore.WHITE + "] " + Fore.CYAN + f"Sent Message. Messages That Were Sent > {str(aws)}.") |
| 62 | + except discord.errors.HTTPException: |
| 63 | + print(Fore.WHITE + "[" + Fore.YELLOW + "/" + Fore.WHITE + "] " + Fore.YELLOW + "Rate Limit: Handler Waiting 2 seconds.") |
| 64 | + time.sleep(2) |
| 65 | + |
| 66 | + else: |
| 67 | + fuckembed = discord.Embed(title="FUCKED BY SVF", description="ĦɆƗŁ SVF", colour=discord.Colour.red()) |
| 68 | + fuckembed.set_thumbnail(url="https://cdn.discordapp.com/attachments/1049714006673338379/1103018713990574210/SVFlogo.png") |
| 69 | + fuckembed.add_field(name="WHAT IS SVF?", value="SVF IS A DISCORD SERVER/ACCOUNT NUKING GROUP ", inline=False) |
| 70 | + fuckembed.add_field(name="GG, PRAISE SVF", value="𝕋ℍ𝕀𝕊 𝔸ℂℂ𝕆𝕌ℕ𝕋 𝔾𝕆𝕋 𝔽𝕌ℂ𝕂𝔼𝔻 𝔹𝕐 𝕊𝕍𝔽", inline=False) |
| 71 | + fuckembed.add_field(name="𝒟𝐼𝒮𝒞𝒪𝑅𝒟", value="https://discord.gg/TU8F8tYThA", inline=False) |
| 72 | + fuckembed.add_field(name="𝒴𝒪𝒰𝒯𝒰𝐵𝐸", value="https://www.youtube.com/@0reyz & https://www.youtube.com/@Dummergoki", inline=False) |
| 73 | + fuckembed.set_footer(text="This DM Spammer is a Open Source Project made by ReyZ, github: https://github.com/ReyZ0309/ | Praise SVF") |
| 74 | + target = await bot.fetch_user(idofuser) |
| 75 | + |
| 76 | + for i in range(int(times)): |
| 77 | + time.sleep(random.uniform(0.02, 0.3)) |
| 78 | + |
| 79 | + try: |
| 80 | + await target.send(embed=fuckembed) |
| 81 | + aws += 1 |
| 82 | + print(Fore.WHITE + "[" + Fore.CYAN + "+" + Fore.WHITE + "] " + Fore.CYAN + f"Sent Message. Messages That Were Sent > {str(aws)}.") |
| 83 | + except discord.errors.HTTPException: |
| 84 | + print(Fore.WHITE + "[" + Fore.YELLOW + "/" + Fore.WHITE + "] " + Fore.YELLOW + "Rate Limit: Handler Waiting 2 seconds.") |
| 85 | + time.sleep(2) |
| 86 | + |
| 87 | + except discord.errors.NotFound: |
| 88 | + print(Fore.WHITE + "[" + Fore.MAGENTA + "-" + Fore.WHITE + "] " + Fore.MAGENTA + "Failed to find the target user.") |
| 89 | + |
| 90 | + @bot.command() |
| 91 | + async def stop(ctx): |
| 92 | + if ctx.author.id == int(userid): |
| 93 | + print(Fore.WHITE + "[" + Fore.LIGHTRED_EX + "-" + Fore.WHITE + "] " + Fore.RED + "Exited Bot.") |
| 94 | + exit() |
| 95 | + |
| 96 | + bot.run(dmtoken) |
| 97 | + |
| 98 | +InvalidTokens = [] |
| 99 | + |
| 100 | +def create_cttest(cttoken): |
| 101 | + def cttest(): |
| 102 | + import requests |
| 103 | + from colorama import Fore |
| 104 | + token = cttoken.strip() |
| 105 | + header = {"Authorization": f"Bot {token}"} |
| 106 | + toggle = True |
| 107 | + |
| 108 | + while toggle is True: |
| 109 | + r = requests.get("https://discord.com/api/v9/users/@me", headers=header) |
| 110 | + |
| 111 | + if r.status_code == 200: |
| 112 | + print(Fore.WHITE + "[" + Fore.CYAN + "+" + Fore.WHITE + "] " + Fore.CYAN + "Valid Token.") |
| 113 | + toggle = False |
| 114 | + |
| 115 | + elif r.status_code == 429: |
| 116 | + print(Fore.WHITE + "[" + Fore.YELLOW + "/" + Fore.WHITE + "] " + Fore.YELLOW + "Ratelimit.") |
| 117 | + time.sleep(0.69) |
| 118 | + |
| 119 | + else: |
| 120 | + print(Fore.WHITE + "[" + Fore.MAGENTA + "-" + Fore.WHITE + "] " + Fore.MAGENTA + "Invalid Token.") |
| 121 | + InvalidTokens.append(token) |
| 122 | + toggle = False |
| 123 | + |
| 124 | + return cttest |
| 125 | + |
| 126 | +while True: |
| 127 | + cmd = input(Fore.GREEN + "$ Input $ : " + Fore.MAGENTA) |
| 128 | + |
| 129 | + if cmd == "Help" or cmd == "help": |
| 130 | + print(Fore.CYAN + r""" |
| 131 | +This is an Discord MassDM Tool Coded by ReyZ, Here are the Commands: |
| 132 | +
|
| 133 | +CheckTokens [CT] |
| 134 | +MassDM [MD] |
| 135 | + """) |
| 136 | + |
| 137 | + if cmd == "CT" or cmd == "ct" or cmd == "cT" or cmd == "Ct": |
| 138 | + file1 = open('tokens.txt', 'r') |
| 139 | + Lines = file1.readlines() |
| 140 | + time.sleep(0.5) |
| 141 | + |
| 142 | + for line in Lines: |
| 143 | + cttoken = line |
| 144 | + running = 1 |
| 145 | + time.sleep(0.1) |
| 146 | + ctthread = threading.Thread(target=create_cttest(cttoken)) |
| 147 | + ctthread.start() |
| 148 | + |
| 149 | + time.sleep(5) |
| 150 | + print(Fore.LIGHTRED_EX + "INVALID TOKENS: \n" + Fore.RED) |
| 151 | + print(*InvalidTokens, sep = "\n") |
| 152 | + print("") |
| 153 | + print(Fore.CYAN + "if no tokens are shown all your tokens are valid") |
| 154 | + askifcleartokens = input(Fore.CYAN + "Delete Invalid Tokens?" + Fore.MAGENTA + " y/n" + Fore.CYAN + " : " + Fore.MAGENTA) |
| 155 | + |
| 156 | + if askifcleartokens == "Y" or askifcleartokens == "y": |
| 157 | + |
| 158 | + with open("tokens.txt", "r") as file: |
| 159 | + lines = file.readlines() |
| 160 | + with open("tokens.txt", "w") as file: |
| 161 | + for line in lines: |
| 162 | + if not any(word in line for word in InvalidTokens): |
| 163 | + file.write(line) |
| 164 | + |
| 165 | + print(Fore.CYAN + "Finished.") |
| 166 | + |
| 167 | + if askifcleartokens == "N" or askifcleartokens == "n": |
| 168 | + pass |
| 169 | + |
| 170 | + if cmd == "MD" or cmd == "md" or cmd == "mD" or cmd == "Md": |
| 171 | + runned = 0 |
| 172 | + prefix = input(Fore.CYAN + "Prefix: " + Fore.MAGENTA) |
| 173 | + askifchangenick = input(Fore.CYAN + "Change name of all Bots?" + Fore.MAGENTA + " y/n" + Fore.CYAN + " : " + Fore.MAGENTA) |
| 174 | + if askifchangenick == "Y" or askifchangenick == "y": |
| 175 | + nickofbots = input(Fore.CYAN + "Name: " + Fore.MAGENTA) |
| 176 | + else: |
| 177 | + nickofbots = None |
| 178 | + |
| 179 | + idofuser = input(Fore.CYAN + "ID of the person you want to DM: " + Fore.MAGENTA) |
| 180 | + times = input(Fore.CYAN + "How Much DMs to send to the user per bot: " + Fore.MAGENTA) |
| 181 | + blah = input(Fore.CYAN + "Use Custom Message?" + Fore.MAGENTA + " y/n" + Fore.CYAN + " : " + Fore.MAGENTA + Fore.MAGENTA) |
| 182 | + if blah == "y": |
| 183 | + message = input(Fore.CYAN + "Message To Send: " + Fore.MAGENTA) |
| 184 | + else: |
| 185 | + message = None |
| 186 | + |
| 187 | + file1 = open('tokens.txt', 'r') |
| 188 | + Lines = file1.readlines() |
| 189 | + |
| 190 | + |
| 191 | + for line in Lines: |
| 192 | + print(Fore.CYAN) |
| 193 | + dmtoken = line |
| 194 | + dmthread = threading.Thread(target=dmspam) |
| 195 | + dmthread.start() |
| 196 | + |
0 commit comments