You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Webhook send should support components when the webhook is partial and owned by the bot
Reproduction Steps
The bot created a webhook in a channel, the URL of that webhook was then used to create a new connection to send a message with components (i.e. buttons). However due to a check in the send method, the components are raised as an invalid argument.
When removing these checks at lines:
Summary
Webhook send should support components when the webhook is partial and owned by the bot
Reproduction Steps
The bot created a webhook in a channel, the URL of that webhook was then used to create a new connection to send a message with components (i.e. buttons). However due to a check in the send method, the components are raised as an invalid argument.
When removing these checks at lines:
Novus/discord/webhook/async_.py
Lines 1305 to 1307 in 8a625e0
The sending works and the components work as intended. This was only done for the async webhook version.
Minimal Reproducible Code
Expected Results
The method should not raise an invalid argument exception.
Actual Results
The method raises an invalid argument exception.
Intents
None
System Information
Checklist
Additional Context
No response
The text was updated successfully, but these errors were encountered: