UserSelectMenuInteraction
interactionOn this page
UserSelectMenuInteraction 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
UserSelectMenuInteraction:members()
#Performs members on this UserSelectMenuInteraction. Call it from bot code when you need that operation on the current object.
Signature
UserSelectMenuInteraction:members() Parameters
No parameters.
Returns
any.
Example
local discord = require("discord")
-- object is a UserSelectMenuInteraction
object:members()UserSelectMenuInteraction:users()
#Performs users on this UserSelectMenuInteraction. Call it from bot code when you need that operation on the current object.
Signature
UserSelectMenuInteraction:users() Parameters
No parameters.
Returns
any.
Example
local discord = require("discord")
-- object is a UserSelectMenuInteraction
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 · CommandInteraction · Interaction · MentionableSelectMenuInteraction · MessageComponentInteraction · MessageContextMenuCommandInteraction
Version: discord 1.2.9 · runtime 1.0.0