Class: Discorb::Gateway::InviteDeleteEvent
- Inherits:
-
GatewayEvent
- Object
- GatewayEvent
- Discorb::Gateway::InviteDeleteEvent
- Defined in:
- lib/discorb/gateway.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
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.rb', line 346
|
#code -> String (readonly)
Returns The invite code.
344 345 346 |
# File 'lib/discorb/gateway.rb', line 344 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.rb', line 346
|