Skip to main content

Variable: InteractionLimits

const InteractionLimits: object

Namespace containing limits related to Discord interactions.

Type declaration

MaximumButtonsPerActionRow

readonly MaximumButtonsPerActionRow: 5 = 5

Maximum buttons allowed in a single action row.

MaximumOptionsInSelectMenus

readonly MaximumOptionsInSelectMenus: 25 = 25

Maximum options allowed in a single select menu.

MaximumSelectMenusPerActionRow

readonly MaximumSelectMenusPerActionRow: 1 = 1

Maximum select menus allowed in a single action row.

MaximumTextInputsPerActionRow

readonly MaximumTextInputsPerActionRow: 1 = 1

Maximum text inputs allowed in a single action row.

Defined in

projects/utilities/packages/discord-utilities/src/lib/limits.ts:300