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