Giter Club home page Giter Club logo

discord-webhook-deletion's Introduction

Discord Webhook Deletion Script

This is a simple Python script that allows you to delete any Discord webhook by providing its URL. It uses the Requests library to send a HTTP DELETE request to the webhook URL and checks the response status code to determine whether the deletion was successful or not. The script also provides information about the deleted webhook, including its name, guild ID, channel ID, and ID.

Requirements

  • Python 3.x
  • Requests library (can be installed via pip)

Usage

  1. Run the script by typing python delete_webhook.py in the command line.
  2. Enter the URL of the webhook you want to delete when prompted.
  3. The script will attempt to delete the webhook and print a success or error message, as well as information about the deleted webhook if it was successfully deleted.

Note: The script will ask you to enter the webhook URL again if it is not a valid Discord webhook URL.

Information Provided

The script will print the following information about the webhook:

  • Webhook Name
  • Token
  • Guild ID
  • Channel ID
  • Webhook ID
  • Application ID
  • Avatar
  • Webhook Type

Limitations

  • The script can only delete Discord webhooks. It will not work with other types of webhooks.

How does it work?

  • This script works by interacting with the Discord API. It uses the provided Webhook ID and Token to authenticate and identify the webhook to be deleted. Once identified, it sends a DELETE request to the Discord API to remove the webhook. Importantly, this script can be used by anyone as it does not require a Discord account token.

License

This script is licensed under the MIT License. Feel free to use, modify and distribute it as you see fit.

discord-webhook-deletion's People

Contributors

kf637 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.