Class: Discordrb::Events::GuildDeleteEvent
- Inherits:
-
GuildEvent
- Object
- GuildEvent
- Discordrb::Events::GuildDeleteEvent
- Defined in:
- lib/discordrb/events/guilds.rb
Overview
Server is deleted
Instance Attribute Summary
Attributes inherited from GuildEvent
Instance Method Summary collapse
-
#init_server(data, bot) ⇒ Object
Overide init_server to account for the deleted server.
Methods inherited from GuildEvent
Constructor Details
This class inherits a constructor from Discordrb::Events::GuildEvent
Instance Method Details
#init_server(data, bot) ⇒ Object
Overide init_server to account for the deleted server
51 52 53 |
# File 'lib/discordrb/events/guilds.rb', line 51 def init_server(data, bot) @server = Discordrb::Server.new(data, bot) end |