Discord-Net-Labs / Discord.Net-Labs

An experimental fork of Discord.Net that implements the newest discord features for testing and development to eventually get merged into Discord.Net
https://labs.discordnet.dev
MIT License
156 stars 42 forks source link

FollowupWithFile with components doesn't include components #288

Closed jgoldshlag closed 2 years ago

jgoldshlag commented 2 years ago

Not sure if this is actually a discord issue, but I can't seem to get components to show up when using SocketInteraction::FollowupWithFIle.

This doesn't work: await Interaction.FollowupWithFileAsync(s, "gac_map.png", text: "123", component: componentBuilder.Build());

And this works fine: await Interaction.FollowupWithFileAsync(s, "gac_map.png"); await Interaction.FollowupAsync("123", component: componentBuilder.Build());

quinchs commented 2 years ago

What type of interaction are you using? ex buttons, slash, context menu, etc

jgoldshlag commented 2 years ago

Slash, and I did defer the interaction initially (ephemerally) (though I just tested, and ephemeral or not I have the same issue)