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 310
|
#code -> String (readonly)
Returns The invite code.
308 309 310 |
# File 'lib/discorb/gateway.rb', line 308 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 310
|