#MessageComponent's do not update
1 messages · Page 1 of 1 (latest)
I know that the component is created correctly but the whole message just does not update anymore.
I think I had this issue before but forgot the workaround
note: ModifyOriginalResponseAsync just fails the response entirely
thats because theres no response to modify
respond to- or defer the message, then use modify
if you want to update a message that was used as response to the previous interaction, use updateasync
that's what I'm already using (see the original message)
the slash command triggers a message with a component, the component contains a button that should change it to a new component, but even the text doesn't update
nothing updates?
Nothing updates
are you sure it reaches updateasync
Yes
and doesnt null out
Yes
If I remove the component and set it to null, then the text will update
then updateasync is failing at formatting the message
are you sure your buttons are not malformed
does it throw invalid form body or alike errors
I'll have to double check this. But for what it's worth, the original message component is made with the same function
The button just updates what's in the combo
maybe the page buttons are erroring out because of length or whatever
its hard to figure out without the code behind it
but the log event should give more feedback
Do you normally need that to see errors?
I've seen 'invalid form body' when I was originally making this command basically
So I'm thinking I might already have that on
its an error discord returns upon REST request, not the interaction framework
Ah I see
it could just be failing in method and you wouldnt see it, because the command module is on async thread
Even still discord doesn't show the interaction as failing
Like inside the client it behaves as if it succeeded
updateasync does not have failure behavior iirc, I experimented with it in the past
I use it a lot, thats why I'm so confused
cant really reproduce your issue, I do the same thing
Here's what's stranger, I do this with other commands and it works
- it used to work
I'll look into the logging
Would be funny if the API has been telling me the entire time it's something like a combo value being bad
its hard to show what I did since I work with a different lib now. Give me a moment to go back 40 commits 
Which lib out of curiosity?
disqord
its not really 'finished', but its feature rich enough if you're willing to write your own extensions for more direct needs
its non entity bound, you can send a message to a channel without ever needing the channel entity
its just client.SendMessageAsync(channelId, messageId, message);
very elegant
Agreed
