import requests import threading import random import time import os import colorama import pystyle from pystyle import Center from colorama import Fore colorama.init(autoreset=True) def send_message(webhook_url, message, proxy=None): proxies = {'http': proxy, 'https': proxy} if proxy else None data = { "content": message } response = requests.post(webhook_url, json=data, proxies=proxies) if response.status_code == 429: print("Ratelimited") elif response.status_code != 200: print(f"Succesfully Sent {Fore.YELLOW} {message}{Fore.RESET}") def send_messages_thread(webhook_url, message, proxy=None): while True: send_message(webhook_url, message, proxy) time.sleep(2) # Adjust this time to wait between each message if __name__ == "__main__": print(Center.XCenter(f""" {Fore.WHITE} ██████╗ █████╗ ██████╗ {Fore.LIGHTBLUE_EX}██╗ ██╗ █████╗ ██████╗ ███████╗ {Fore.WHITE} ██╔════╝██╔══██╗██╔══██╗{Fore.LIGHTBLUE_EX}██║ ██║██╔══██╗██╔══██╗██╔════╝ {Fore.WHITE} ██║ ███████║██████╔╝{Fore.LIGHTBLUE_EX}██║ █╗ ██║███████║██████╔╝█████╗ {Fore.WHITE} ██║ ██╔══██║██╔═══╝ {Fore.LIGHTBLUE_EX}██║███╗██║██╔══██║██╔══██╗██╔══╝ {Fore.WHITE} ╚██████╗██║ ██║██║ {Fore.LIGHTBLUE_EX}╚███╔███╔╝██║ ██║██║ ██║███████╗ {Fore.WHITE} ╚═════╝╚═╝ ╚═╝╚═╝ {Fore.LIGHTBLUE_EX} ╚══╝╚══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝ Version : 1.0.0 Author : Capware Solutions Link : https://discord.gg/capware """)) webhook_url = input(f"{Fore.LIGHTBLACK_EX}[{Fore.YELLOW}Capware Solutions{Fore.LIGHTBLACK_EX}] {Fore.RESET}Enter your Webhook ---->") threadz = int(input(f'{Fore.LIGHTBLACK_EX}[{Fore.YELLOW}Capware Solutions{Fore.LIGHTBLACK_EX}] {Fore.RESET}Enter the amount of threads (1-3 is optimal) --->')) message = input(f"{Fore.LIGHTBLACK_EX}[{Fore.YELLOW}Capware Solutions{Fore.LIGHTBLACK_EX}] {Fore.RESET}Enter Spam Message --->") use_proxy = input(f"{Fore.LIGHTBLACK_EX}[{Fore.YELLOW}Capware Solutions{Fore.LIGHTBLACK_EX}] {Fore.RESET}Do you want to use proxies? (y/n): ").lower() == 'y' proxies = [] if use_proxy: try: with open("proxies.txt", "r") as file: proxies = file.read().splitlines() except FileNotFoundError: print("Proxy file not found. Continuing without proxies.") use_proxy = False thread_count = threadz threads = [] for _ in range(thread_count): proxy = random.choice(proxies) if use_proxy and proxies else None thread = threading.Thread(target=send_messages_thread, args=(webhook_url, message, proxy)) thread.start() threads.append(thread) # Wait for all threads to finish for thread in threads: thread.join() print("Exited message sending threads.")