Created
January 6, 2022 13:18
-
-
Save CyberFlameGO/da9e8fd699e7e4808405345fb716c059 to your computer and use it in GitHub Desktop.
Quick way of deleting webhooks, useful for disabling token-grabbers which rely on Discord webhooks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
url = input("Put your URL here: ") | |
result = requests.request(method="DELETE", url=url) | |
try: | |
result.raise_for_status() | |
except requests.exceptions.HTTPError as err: | |
print("Error: " + str(err)) | |
else: | |
print("204 No Content") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment