Class: RubyCord::Interaction::Component
- Inherits:
-
RubyCord::Interaction
- Object
- DiscordModel
- RubyCord::Interaction
- RubyCord::Interaction::Component
- Includes:
- ModalResponder, SourceResponder, UpdateResponder
- Defined in:
- lib/rubycord/interaction/components.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#custom_id ⇒ String
readonly
The content of the response.
-
#message ⇒ RubyCord::Message
readonly
The target message.
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 UpdateResponder
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
#custom_id ⇒ String (readonly)
Returns The content of the response.
16 17 18 |
# File 'lib/rubycord/interaction/components.rb', line 16 def custom_id @custom_id end |
#message ⇒ RubyCord::Message (readonly)
Returns The target message.
18 19 20 |
# File 'lib/rubycord/interaction/components.rb', line 18 def end |