Build interaction modal response JSON (type 9).
Part of BlancoKit, a free Discord toolkit.
No. Modals are returned as interaction responses from your bot when a user clicks a button or command.
Up to five top-level components. Each text input needs a unique custom_id under 100 characters.
Return it as type 9 from your interaction handler. Copy the payload into discord.js, discord.py, or your framework.
Open Modal Builder (JavaScript required).
We use optional analytics cookies (Google Analytics) to measure site traffic. Tools work without them. See our Privacy Policy.