Open GitSparTV opened 3 years ago
Thanks for the issue. I expect to fix this and related inconsistencies as I refactor much of the payload input checking/resolving. It's kind of a mess of functions and files right now. I'll keep this open as a reminder.
https://github.com/SinisterRectus/Discordia/blob/dev/libs/client/CommandClient.lua#L232
With
interactionResponseType.deferredChannelMessageWithSource
(and probablydeferredUpdateMessage
) thepayload.data
is optional (it will be ignored).Current implementation in Discordia doesn't allow this.
Fix: