ShareShortcuts

Discord WD

Discord Webhook Deleter

znugget
Bifurcar “Discord WD”

¿Creaste algo nuevo a partir de este atajo? Compártelo como bifurcación: se convierte en un atajo tuyo, que tú administras, y ambas páginas se enlazan entre sí para que znugget reciba el crédito.

  1. 1Obtén el atajo y modifícalo en la app Atajos. Ponle un nombre propio.
  2. 2Compártelo desde la app Atajos y copia el enlace de iCloud.
  3. 3Vuelve aquí, pega el enlace y describe qué es diferente, p. ej., “Se añadió un paso que usa Apple Intelligence para personalizar el texto”.
Descargas
49K
Guardado
3
Acciones
26
Categoría
API
Versión
1.0
Idioma
EN

Discord Webhook Deleter. Currently works with Discord, Fosscord, and Discord PTB

Novedades

Versión 1.0

First release

Historial de versiones
1.0 1 de jul. de 2021

First release

Qué hace

26 acciones
  1. Comment
    Created and tested by zNugget#9999.
  2. Ask for Input
    Webhook URL:
  3. Set Variable
    WEBHOOK
  4. Comment
    Webhook deletion under this comment.
  5. Get Contents of URL
    …
  6. Comment
    Deletion checking under this comment.
  7. Get Contents of URL
    …
  8. Text
  9. If
  10. Show Alert
  11. Choose from Menu
    Discord WD
  12. Choose from Menu
    Delete Another Webhook
  13. Run Shortcut
    Discord WD
  14. Choose from Menu
    Exit
  15. Stop This Shortcut
  16. If
  17. Get Contents of URL
    …
  18. Text
  19. If
  20. Show Alert
  21. Choose from Menu
    Discord WD
  22. Choose from Menu
    Delete Another Webhook
  23. Run Shortcut
    Discord WD
  24. Choose from Menu
    Exit
  25. Stop This Shortcut
  26. If

Ver como código
Beta

Todas las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo funciona.

#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 {
}
Abrir en Cherri Playground Descompilado con cherri 2.3.0 (GPL-2.0). Puede que necesite pequeños ajustes antes de compilarse.

Valoraciones y reseñas

Escribe una reseña
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aún no hay reseñas. ¡Sé el primero en compartir tu opinión!

Publicidad

Más de znugget

Ver todo

También te puede gustar

Ver todo
Publicidad