Отсканируй на iPhone, чтобы установить
Discord Webhook Deleter. Currently works with Discord, Fosscord, and Discord PTB
Что нового
Версия 1.0
First release
Что делает
Действий: 26-
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
Посмотреть как код
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#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 {
}
Открыть в Cherri Playground
Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.
Оценки и отзывы
Написать отзыв–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Пока нет отзывов. Поделись мнением первым!
Реклама
Ещё от znugget
Вам также может понравиться
Реклама