SinisterRectus / Discordia

Discord API library written in Lua for the Luvit runtime environment
MIT License
688 stars 144 forks source link

add component support #356

Closed ghost closed 1 year ago

cattokomo commented 1 year ago

Hmm 🤔

Bilal2453 commented 1 year ago

This also adds embeds fields effectively conflicting with PR #339, this should be removed from this PR.

I don't have a strong opinion about adding a components field here, although it doesn't make much sense to me when Discordia does not support Interactions, knowing that Message Components are useless most of the time without interactions, exception be it Link Buttons; Only way I can justify this is if you also add Interaction support.

Of course this would make more sense if you were using something like discordia-interactions, but if you are doing so you may as well use discordia-components.

Eventually, one may want to implement interactions, and this would be added nonetheless, so there is that going for it