Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support message components #1856

Closed
frobinsonj opened this issue May 27, 2021 · 10 comments
Closed

Support message components #1856

frobinsonj opened this issue May 27, 2021 · 10 comments

Comments

@frobinsonj
Copy link

Would be nice to see support added for message components.

buttons

A consistent API to handle these interactions along with slash commands would be needed. See issue #1716 (Support discord slash commands)

https://support.discord.com/hc/en-us/articles/1500012250861-Bots-Buttons
https://discord.com/developers/docs/interactions/message-components

@quinchs
Copy link
Member

quinchs commented May 27, 2021

Discord Message Components are supported in Discord.Net Labs. I'm currently implementing them as they use my interaction PR.

Once all the bugs are squashed and we figure out the best way to use them a PR will be opened up here with the changes, In the mean time feel free to use Discord.net labs.

@frobinsonj
Copy link
Author

Discord Message Components are supported in Discord.Net Labs. I'm currently implementing them as they use my interaction PR.

Thanks for sharing. I'll have a play with that. Not trying to push for this to be added prematurely or rushed, just thought I'd add an issue just to make sure it was seen :)

@quinchs
Copy link
Member

quinchs commented May 27, 2021

Feel free to leave suggestions and feedback on the Discord.Net Labs repo!

@nitz
Copy link

nitz commented Jul 1, 2021

It looks like as of June 30, 2021, the API added support for Select Menus. It's a component that presents itself as a single/multi select list UI, like so:

image

Thought I'd leave a note for anyone doing the design on this side (@quinchs)!

Cheers

@quinchs
Copy link
Member

quinchs commented Jul 1, 2021

Working on it, should have a testable version out on labs tmr

@nitz
Copy link

nitz commented Jul 5, 2021

Fantastic, that was lightning quick. I'll tinker with it this week!

@quinchs
Copy link
Member

quinchs commented Jul 5, 2021

Fantastic, that was lightning quick. I'll tinker with it this week!

The builds are no longer in dev so just use the most recent version

@TheTrueHonker
Copy link

So are the buttons in 2.4.0 and if yes, how do I use them?

@quinchs quinchs mentioned this issue Sep 20, 2021
34 tasks
@MrCakeSlayer
Copy link
Collaborator

This has now been implemented via the merged labs PR (#1923)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants