Skip to content

Allow edit failures to be dispatched to users as an internal error, prevent empty components on embed send #234

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

Merged
merged 1 commit into from
Mar 21, 2025

Conversation

Headline
Copy link
Owner

What was happening was that a malformed embed structure was causing silent failures during the handling in the edit message code path. Now all errors here will bubble up back to the user.

The source issue was the the EditMessage struct was being created with an empty button (godbolt link) for wandbox requests, causing an error from discord asking for a non-empty component

@Headline Headline added the bug Something isn't working label Mar 21, 2025
@Headline Headline merged commit 66a5b5f into master Mar 21, 2025
@Headline Headline deleted the error-fix branch March 21, 2025 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant