Discord Webhook Deleter. Currently works with Discord, Fosscord, and Discord PTB
What's New
Version 1.0
First release
What it does
26 actions-
CommentCreated and tested by zNugget#9999.
-
Ask for InputWebhook URL:
-
Set VariableWEBHOOK
-
CommentWebhook deletion under this comment.
-
Get Contents of URL…
-
CommentDeletion checking under this comment.
-
Get Contents of URL…
-
Text
-
If
-
Show Alert
-
Choose from MenuDiscord WD
-
Choose from MenuDelete Another Webhook
-
Run ShortcutDiscord WD
-
Choose from MenuExit
-
Stop This Shortcut
-
If
-
Get Contents of URL…
-
Text
-
If
-
Show Alert
-
Choose from MenuDiscord WD
-
Choose from MenuDelete Another Webhook
-
Run ShortcutDiscord WD
-
Choose from MenuExit
-
Stop This Shortcut
-
If
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#include 'actions/web'
#define color green
#define glyph recycle
// Created and tested by zNugget#9999.
prompt("Webhook URL:", "URL")
@WEBHOOK
// Webhook deletion under this comment.
fileRequest(@WEBHOOK, "DELETE")
// Deletion checking under this comment.
downloadURL(@WEBHOOK)
const Text = "{}"
if Text contains "404" {
confirm("Webhook successfully deleted!")
menu "Discord WD" {
item "Delete Another Webhook":
runSelf()
item "Exit":
stop()
}
} else {
}
downloadURL(@WEBHOOK)
const Text1 = "{}"
if Text1 contains "200" {
alert("Failed to delete Webhook. (Incorrect URL?)", "")
menu "Discord WD" {
item "Delete Another Webhook":
runSelf()
item "Exit":
stop()
}
} else {
}
Open in Cherri Playground
Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.
Ratings & Reviews
Write a Review–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Advertisement
More by znugget
You Might Also Like
Advertisement