Class: Discordrb::Events::ServerDeleteEvent
- Inherits:
-
ServerEvent
- Object
- Event
- ServerEvent
- Discordrb::Events::ServerDeleteEvent
- Defined in:
- lib/discordrb/events/guilds.rb
Overview
Server is deleted, the server was left because the bot was kicked, or the bot made itself leave the server.
Instance Attribute Summary collapse
-
#server ⇒ Integer
readonly
The ID of the server that was left.
Attributes inherited from Event
Instance Attribute Details
#server ⇒ Integer (readonly)
Returns The ID of the server that was left.
66 67 68 |
# File 'lib/discordrb/events/guilds.rb', line 66 def server @server end |