foxbot / Discord.Addons.Interactive

add some interactivity to your commands 🙂

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PagedReplyAsync, Allowing sending embeds.

OoLunar opened this issue · comments

From my current understanding, PagedReplyAsync will take any object passed to it, and send it's ToString() form. I attempted to get support from the DAPI server, only to be met with this solution:
image
I originally attempted to send a List<Embed>, which paginated the embed's title instead of sending an actual embed. Secondly I tried sending a List<EmbedBuilder>, which obviously just sent the string EmbedBuilder.
image
I don't see any reason why we can't send paged embeds. Thoughts?

Well the "page" is an embed itself, you would have to make a custom implementation of PagedReply I think, so it combines the default page and the embed you want.

I made a fork a bit ago that adds this, https://github.com/MrKev312/Discord.Addons.Interactive
Does this work for you?