-
Notifications
You must be signed in to change notification settings - Fork 81
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
Add webhook client #860
base: main
Are you sure you want to change the base?
Add webhook client #860
Conversation
- Extract webhook related functions of Kord into WebhookClient - Extract webhook constructor of Unsafe to WebhookUnsafe - Add AbstractKordBuilder - Add stackTraceRecovery to AbstractKordBuilder and therefore restOnly and webhook mode
I was just looking for this! I see this will be almost a year. Is there something missing or something to help with? I'm really interested in a webhook client. |
Time flies by whoohoo Yeah the review from @lukellmann is missing so let's nudge him again |
tbh i'm not sure about adding a way to get a half baked |
This is simmilar to Kord.restOnly |
I'm already using a half baked Kord.restOnly("") {
applicationId = Snowflake(-1)
} At the moment, it is only using the execute endpoint: kord.rest.webhook.executeWebhook(..., ...) {
} So no problem there. But also the fact that I have everything in the API available to call even though it will fail, it is something you have to be careful with. 🤷🏼♂️ My first comment was before I knew it would be so simple to do it without it 😅, but still, proper support for it would be nice, so it doesn't feel like you are doing something you shouldn't be doing. |
hm, that's right - maybe we could just add another factory function and don't even have the |
No description provided.