Class: Discordrb::Events::ServerMemberDeleteEvent
- Inherits:
-
ServerMemberEvent
- Object
- Event
- ServerMemberEvent
- Discordrb::Events::ServerMemberDeleteEvent
- Defined in:
- lib/discordrb/events/members.rb
Overview
Member leaves
Instance Attribute Summary collapse
-
#user ⇒ User
readonly
The user in question.
Attributes inherited from ServerMemberEvent
Attributes inherited from Event
Instance Method Summary collapse
-
#init_user(data, bot) ⇒ Object
Override init_user to account for the deleted user on the server.
Methods inherited from ServerMemberEvent
Constructor Details
This class inherits a constructor from Discordrb::Events::ServerMemberEvent
Instance Attribute Details
#user ⇒ User (readonly)
Returns the user in question.
88 89 90 |
# File 'lib/discordrb/events/members.rb', line 88 def user @user end |