Class: Discorb::Gateway::InviteDeleteEvent
- Inherits:
-
GatewayEvent
- Object
- GatewayEvent
- Discorb::Gateway::InviteDeleteEvent
- Defined in:
- lib/discorb/gateway_events.rb
Overview
Represents a INVITE_DELETE
event.
Instance Attribute Summary collapse
- #channel ⇒ nil, Discorb::Channel readonly
-
#code ⇒ String
readonly
The invite code.
- #guild ⇒ nil, Discorb::Guild readonly
Method Summary
Methods inherited from GatewayEvent
Instance Attribute Details
#channel ⇒ nil, Discorb::Channel (readonly)
Note:
This method returns an object from client cache. it will return nil
if the object is not in cache.
|
# File 'lib/discorb/gateway_events.rb', line 431
|
#code ⇒ String (readonly)
Returns The invite code.
429 430 431 |
# File 'lib/discorb/gateway_events.rb', line 429 def code @code end |
#guild ⇒ nil, Discorb::Guild (readonly)
Note:
This method returns an object from client cache. it will return nil
if the object is not in cache.
|
# File 'lib/discorb/gateway_events.rb', line 431
|