Class: Discordrb::Events::InviteDeleteEvent
- Defined in:
- lib/discordrb/events/invites.rb
Overview
Raised when an invite is deleted.
Instance Attribute Summary collapse
-
#channel ⇒ Channel
readonly
The channel the deleted invite was for.
-
#code ⇒ String
readonly
The code of the deleted invite.
-
#server ⇒ Server?
readonly
The server the deleted invite was for.
Attributes inherited from Event
Instance Attribute Details
#channel ⇒ Channel (readonly)
Returns The channel the deleted invite was for.
49 50 51 |
# File 'lib/discordrb/events/invites.rb', line 49 def channel @channel end |
#code ⇒ String (readonly)
Returns The code of the deleted invite.
55 56 57 |
# File 'lib/discordrb/events/invites.rb', line 55 def code @code end |
#server ⇒ Server? (readonly)
Returns The server the deleted invite was for.
52 53 54 |
# File 'lib/discordrb/events/invites.rb', line 52 def server @server end |