| 1 |
\page interactions-and-components Interactions And Components |
| 2 |
|
| 3 |
Interactions are a unified way provided by Discord to handle \ref slashcommands "slash commands" and \ref components-menu "component interactions", such as \ref components "clicking a button". Slash commands are much better than message commands as they are not rate limited as much, meaning your bot can handle a lot more at once. They also contain a lot of data about a command, for example by making a command take a user as a parameter, \ref resolved-objects "the entire user object will be contained in the interaction" so you do not have to fetch it yourself, avoiding even more rate limits! |
| 4 |
|
| 5 |
* \subpage slashcommands-menu |
| 6 |
* \subpage user-only-messages |
| 7 |
* \subpage user-applications |
| 8 |
* \subpage resolved-objects |
| 9 |
* \subpage components-menu |
| 10 |
* \subpage modal-dialog-interactions |
| 11 |
* \subpage context-menu |
| 12 |
* \subpage thinking |