Class: RubyCord::Interaction::UserCommand
- Inherits:
-
Command
- Object
- DiscordModel
- RubyCord::Interaction
- Command
- RubyCord::Interaction::UserCommand
- Defined in:
- lib/rubycord/interaction/command/user_command.rb
Instance Attribute Summary collapse
-
#target ⇒ RubyCord::Guild::Member, RubyCord::User
readonly
The target user.
Attributes inherited from RubyCord::Interaction
#app_permissions, #application_id, #guild_locale, #id, #locale, #token, #type, #user, #version
Method Summary
Methods included from ModalResponder
Methods included from SourceResponder
Methods inherited from RubyCord::Interaction
#channel, #delete_original_message, #edit_original_message, #guild, #inspect, #post
Methods inherited from DiscordModel
Instance Attribute Details
#target ⇒ RubyCord::Guild::Member, RubyCord::User (readonly)
Returns The target user.
11 12 13 |
# File 'lib/rubycord/interaction/command/user_command.rb', line 11 def target @target end |