Simple Modal Builder
DSL for building a Discord modal.
Constructors
Functions
Link copied to clipboard
Build a modal component using the InputBuilder.
fun input( label: String, style: TextInputStyle = TextInputStyle.Paragraph, required: Boolean = true, allowedLength: ClosedRange<Int>? = null, value: String? = null, placeholder: String? = null)
Content copied to clipboard
Build a modal component without using the DSL.