We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is something in DiscordPHP that can be improved DX-wise dramatically similar to the message builder.
Current example:
use Discord\Builders\Components\ActionRow; use Discord\Builders\Components\TextInput; $interaction->showModal( title: 'Hello world', components: [ ActionRow::new()->addComponent( TextInput::new('Message', TextInput::STYLE_SHORT, 'message') ->setRequired(true) ), ], submit: fn ($interaction) => $this->example($interaction), );
Ideally we'd move that component stuff into a fluent builder class.
The text was updated successfully, but these errors were encountered:
Done on #88
Sorry, something went wrong.
No branches or pull requests
This is something in DiscordPHP that can be improved DX-wise dramatically similar to the message builder.
Current example:
Ideally we'd move that component stuff into a fluent builder class.
The text was updated successfully, but these errors were encountered: