MentionableSelectMenuInteraction
interactionOn this page
MentionableSelectMenuInteraction is a DiscordLua interaction representing a Discord resource. Obtain it from a manager, an event payload, or the constructor when one is documented below.
Methods
MentionableSelectMenuInteraction:members()
#Performs members on this MentionableSelectMenuInteraction. Call it from bot code when you need that operation on the current object.
Signature
MentionableSelectMenuInteraction:members() Parameters
No parameters.
Returns
any.
Example
local discord = require("discord")
-- object is a MentionableSelectMenuInteraction
object:members()MentionableSelectMenuInteraction:roles()
#Performs roles on this MentionableSelectMenuInteraction. Call it from bot code when you need that operation on the current object.
Signature
MentionableSelectMenuInteraction:roles() Parameters
No parameters.
Returns
any.
Example
local discord = require("discord")
-- object is a MentionableSelectMenuInteraction
object:roles()MentionableSelectMenuInteraction:users()
#Performs users on this MentionableSelectMenuInteraction. Call it from bot code when you need that operation on the current object.
Signature
MentionableSelectMenuInteraction:users() Parameters
No parameters.
Returns
any.
Example
local discord = require("discord")
-- object is a MentionableSelectMenuInteraction
object:users()Examples
Obtain this object from a manager, wrap helper, or event payload — it is not constructed directly in typical bot code.
Related APIs
AutocompleteInteraction · ButtonInteraction · ChannelSelectMenuInteraction · ChatInputCommandInteraction · ContextMenuCommandInteraction · Interaction · MessageComponentInteraction · MessageContextMenuCommandInteraction
Version: discord 1.2.4 · runtime 1.0.0