-
Notifications
You must be signed in to change notification settings - Fork 3
Home
Bilal Bassam edited this page May 1, 2024
·
6 revisions
discordia-components is a Discordia 2.x extension/plugin aiming at making the use of Message Components possible and user-friendly; Message components include buttons and select menus.
This is made possible through the usage of discordia-interactions extension which makes receiving and sending Discord Interactions possible, so whenever you encounter an Interaction
object, that's where you should look for the documentation.
You can look at some examples over the examples directory.
TODO
- the-module; Explains how the module work and the general usage of it.
-
Input-resolution; Refer to this anytime you see
-Resolvable
type.
- Client (to provide waitComponent)
- TextChannel (to provide sending and receiving components)
- Message (to provide editing and reading components)
None. Only used event is interactionCreate
provided by discordia-interactions. You can also use client:waitComponent()
as a shortcut.