Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify a webhook #46

Open
alexpsfti opened this issue May 10, 2022 · 6 comments
Open

Modify a webhook #46

alexpsfti opened this issue May 10, 2022 · 6 comments
Assignees

Comments

@alexpsfti
Copy link

Is it possible to add an option to modify/delete a Webhook by giving its id to an argument ?

@fieu
Copy link
Owner

fieu commented May 11, 2022

I'll look into it.

@Serpensin
Copy link

Deleting a Webhook is pretty easy. You don't even need rights for it and it doesn't show up in the audit log.
To delete a Webhook just do "curl -X DELETE <WEBHOOK_URL>".

@fieu
Copy link
Owner

fieu commented May 11, 2022

Deleting a Webhook is pretty easy. You don't even need rights for it and it doesn't show up in the audit log. To delete a Webhook just do "curl -X DELETE <WEBHOOK_URL>".

Does modifying work in the same way, but with a PATCH or something of the like?

@alexpsfti alexpsfti reopened this May 11, 2022
@Serpensin
Copy link

Yes you can do that. You can also easily create webhooks with curl.

@fieu
Copy link
Owner

fieu commented May 14, 2022

@Serpensin

You can also easily create webhooks with curl.

Well I know that, that's how we wrote discord.sh 😉

@fieu
Copy link
Owner

fieu commented Feb 6, 2023

@Serpensin Modifying has been implemented: https://github.com/fieu/discord.sh/releases/tag/v2.0.0

The ability to delete will follow.

GitHub
What's Changed

Add support for webhook modification by @fieu in #54

Warning
discord.sh now requires base64 and file commands. These can be added through most package managers.

Full Changelog: v...

@fieu fieu self-assigned this Feb 6, 2023
Repository owner deleted a comment from BhavyClover Feb 22, 2024
Repository owner deleted a comment from 19890843006 Feb 23, 2024
Repository owner deleted a comment Mar 4, 2024
Repository owner deleted a comment Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@fieu @alexpsfti @Serpensin and others