Skip to content

Add support for sending files on interaction responses

Created by: IDoEverything

Summary

So, you could apparently send files on interaction responses for a while now. Discord documentation just doesn't reflect this because it's actually bad.

Details

Add AddFile and AddFiles methods on the InteractionResponseBuilder and do a multipart request for sending files. I've done a bit of testing, I hope I didn't end up breaking something.

Merge request reports

Loading