Class: Discorb::Message::Activity
- Inherits:
-
DiscordModel
- Object
- DiscordModel
- Discorb::Message::Activity
- Defined in:
- lib/discorb/message.rb
Overview
Represents a activity of message.
Instance Attribute Summary collapse
-
#name -> String
readonly
The name of activity.
-
#type -> Symbol
readonly
The type of activity.
Method Summary
Methods inherited from DiscordModel
Instance Attribute Details
#name -> String (readonly)
Returns The name of activity.
584 585 586 |
# File 'lib/discorb/message.rb', line 584 def name @name end |
#type -> Symbol (readonly)
Returns The type of activity.
586 587 588 |
# File 'lib/discorb/message.rb', line 586 def type @type end |