Nostrum.Constants.ComponentType (nostrum v0.11.0-dev)

View Source

Defines available types for message components For more info please refer to https://discord.com/developers/docs/interactions/message-components#component-object-component-types

Summary

Functions

Container for other components

Button object

Select menu for channels

Select menu for mentionables (users and roles)

Select menu for roles

Select menu for picking from defined text options

Text input object

Select menu for users

Functions

action_row()

@spec action_row() :: 1

Container for other components

button()

Button object

channel_select()

Select menu for channels

mentionable_select()

Select menu for mentionables (users and roles)

role_select()

Select menu for roles

string_select()

Select menu for picking from defined text options

text_input()

Text input object

user_select()

Select menu for users