Home - Bilal2453/discordia-components GitHub Wiki
The Wiki
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.
Examples
You can look at some examples over the examples directory.
Tutorials
TODO
Topics
- the-module; Explains how the module work and the general usage of it.
- Input-resolution; Refer to this anytime you see
-Resolvable
type.
New Classes
Patched Classes
- Client (to provide waitComponent)
- TextChannel (to provide sending and receiving components)
- Message (to provide editing and reading components)
New Events
None. Only used event is interactionCreate
provided by discordia-interactions. You can also use client:waitComponent()
as a shortcut.