We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
from discord_webhook import DiscordWebhook
def send_messages(webhook_url, message, count): for _ in range(count): webhook = DiscordWebhook(url=webhook_url, content=message) response = webhook.execute() if response.status_code != 200: print(f"Errore nell'invio del messaggio: {response.status_code}") else: print("Messaggio inviato con successo.")
def main(): while True: print("MYSTIC") print("1. Invia messaggi") print("2. Esci") choice = input("Scegli un'opzione: ")
if choice == '1': webhook_url = input("Inserisci l'URL del webhook: ") message = input("Inserisci il messaggio da inviare: ") count = int(input("Quanti messaggi vuoi inviare? ")) send_messages(webhook_url, message, count) elif choice == '2': print("Uscita dal tool.") break else: print("Opzione non valida. Riprova.")
if name == "main": main()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
from discord_webhook import DiscordWebhook
def send_messages(webhook_url, message, count):
for _ in range(count):
webhook = DiscordWebhook(url=webhook_url, content=message)
response = webhook.execute()
if response.status_code != 200:
print(f"Errore nell'invio del messaggio: {response.status_code}")
else:
print("Messaggio inviato con successo.")
def main():
while True:
print("MYSTIC")
print("1. Invia messaggi")
print("2. Esci")
choice = input("Scegli un'opzione: ")
if name == "main":
main()
The text was updated successfully, but these errors were encountered: