Class: Discordrb::Events::ChannelRecipientEvent
- Defined in:
- lib/discordrb/events/channels.rb
Overview
Generic subclass for recipient events (add/remove)
Direct Known Subclasses
Instance Attribute Summary collapse
-
#channel ⇒ Channel
readonly
The channel in question.
-
#recipient ⇒ Recipient
readonly
The recipient that was added/removed from the group.
Attributes inherited from Event
Instance Attribute Details
#channel ⇒ Channel (readonly)
Returns the channel in question.
130 131 132 |
# File 'lib/discordrb/events/channels.rb', line 130 def channel @channel end |
#recipient ⇒ Recipient (readonly)
Returns the recipient that was added/removed from the group.
135 136 137 |
# File 'lib/discordrb/events/channels.rb', line 135 def recipient @recipient end |