Class: Discorb::CommandInteraction::UserMenuCommand
- Inherits:
-
Discorb::CommandInteraction
- Object
- DiscordModel
- Interaction
- Discorb::CommandInteraction
- Discorb::CommandInteraction::UserMenuCommand
- Defined in:
- lib/discorb/interaction/command.rb
Overview
Represents a user context menu interaction.
Instance Attribute Summary collapse
-
#target -> Discorb::Member, Discorb::User
readonly
The target user.
Attributes inherited from Interaction
#app_permissions, #application_id, #guild_locale, #id, #locale, #token, #type, #user, #version
Method Summary
Methods included from Interaction::ModalResponder
Methods included from Interaction::SourceResponder
Methods inherited from Interaction
Methods inherited from DiscordModel
Instance Attribute Details
#target -> Discorb::Member, Discorb::User (readonly)
Returns The target user.
122 123 124 |
# File 'lib/discorb/interaction/command.rb', line 122 def target @target end |