ODButtonData interface
under construction
We are still working the API Reference! This page might be incomplete or doesn't contain all details!
Overview
This interface contains the data to build a button.
Properties
color type ➜ null|api.ODValidButtonColor
The button color
customId string ➜ string
The custom id of this button
disabled boolean ➜ boolean
Is the button disabled?
emoji type ➜ null|string
The button emoji
label type ➜ null|string
The button label
mode type ➜ "button"|"url"
The mode of this button
url type ➜ null|string
The url for when the mode is set to "url"