Class: Discordrb::Events::ServerRoleDeleteEvent
- Defined in:
- lib/discordrb/events/roles.rb
Overview
Raised when a role is deleted from a server
Instance Attribute Summary collapse
-
#id ⇒ Integer
readonly
The ID of the role that got deleted.
-
#server ⇒ Server
readonly
The server on which a role got deleted.
Attributes inherited from Event
Instance Attribute Details
#id ⇒ Integer (readonly)
Returns the ID of the role that got deleted.
53 54 55 |
# File 'lib/discordrb/events/roles.rb', line 53 def id @id end |
#server ⇒ Server (readonly)
Returns the server on which a role got deleted.
56 57 58 |
# File 'lib/discordrb/events/roles.rb', line 56 def server @server end |