Closed Cufee closed 2 years ago
It looks like this code does update the content of a message, but not the file. I was able to run this locally with my bot instance without any errors, however, it seems that I am missing something critical here as the new file is not added to the interaction.
Docs referenced: https://discord.com/developers/docs/reference#uploading-files
Found the mistake, I was missing a call to prepare the PATCH request payload and content type. Seems to be working now.
Updated type for
session.EditInteractionResponse
from Message to UpdateMessage, removed deprecated type definitionDescription
https://github.com/andersfylling/disgord/issues/496
closes #496
Breaking Change?
yes
Benchmarks
N/A
Checklist: