Class: OnyxCord::Events::InviteDeleteEvent
- Defined in:
- lib/onyxcord/events/invite/delete.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.
9 10 11 |
# File 'lib/onyxcord/events/invite/delete.rb', line 9 def channel @channel end |
#code ⇒ String (readonly)
Returns The code of the deleted invite.
15 16 17 |
# File 'lib/onyxcord/events/invite/delete.rb', line 15 def code @code end |
#server ⇒ Server? (readonly)
Returns The server the deleted invite was for.
12 13 14 |
# File 'lib/onyxcord/events/invite/delete.rb', line 12 def server @server end |