In another discord that I am apart of, when you click their reaction role to create a support ticket, it pops up a window that has questions you answer, and then click submit or cancel. I've learned that this is a modal, but I can't seem to get mine figured out. I'm just trying to get the buttons to appear for now. Here is my code.
#How to work with Modals?
1 messages · Page 1 of 1 (latest)
interactions/modal.py
An example demonstrating two methods of sending modals and handling modal responses.
Use the buttons below to view on GitHub or in Discord.
Modals can only accept components of type TextInput. The buttons you're after are there by default and mandatory. Study the examples in the link DLCHAMP posted to get the gist of how they work.
Unfortunately modals as it's currently implemented by discord are extremally basic and leaves almost no room for customization.
used to be able to use drop downs, idk if you can anymore
nope