Class: Discordrb::Events::ServerRoleDeleteEvent

Inherits:
Event
  • Object
show all
Defined in:
lib/discordrb/events/roles.rb

Overview

Raised when a role is deleted from a server

Instance Attribute Summary collapse

Attributes inherited from Event

#bot

Instance Attribute Details

#idInteger (readonly)



53
54
55
# File 'lib/discordrb/events/roles.rb', line 53

def id
  @id
end

#serverServer (readonly)



56
57
58
# File 'lib/discordrb/events/roles.rb', line 56

def server
  @server
end