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

suggestion: allow to set ButtonComponent as OptionalButton #9

Open
onebeastchris opened this issue Apr 6, 2023 · 0 comments · May be fixed by #11
Open

suggestion: allow to set ButtonComponent as OptionalButton #9

onebeastchris opened this issue Apr 6, 2023 · 0 comments · May be fixed by #11

Comments

@onebeastchris
Copy link
Member

Currently, a new button can be added with .button(ButtonComponent button), or with a string (and optional FormImage). It would be nice if there was a way that an .optionalButton could accept an existing button component + boolean; similar to how .button works

that'd be neat

thanks!

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

Successfully merging a pull request may close this issue.

1 participant