Class: Discordrb::Events::ChannelDeleteEvent

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

Overview

Raised when a channel is deleted

Instance Attribute Summary collapse

Attributes inherited from Event

#bot

Instance Attribute Details

#idInteger (readonly)



79
80
81
# File 'lib/discordrb/events/channels.rb', line 79

def id
  @id
end

#nameString (readonly)



76
77
78
# File 'lib/discordrb/events/channels.rb', line 76

def name
  @name
end

#owner_idInteger? (readonly)



85
86
87
# File 'lib/discordrb/events/channels.rb', line 85

def owner_id
  @owner_id
end

#positionInteger (readonly)



73
74
75
# File 'lib/discordrb/events/channels.rb', line 73

def position
  @position
end

#serverServer (readonly)



82
83
84
# File 'lib/discordrb/events/channels.rb', line 82

def server
  @server
end

#topicString (readonly)



70
71
72
# File 'lib/discordrb/events/channels.rb', line 70

def topic
  @topic
end

#typeInteger (readonly)



67
68
69
# File 'lib/discordrb/events/channels.rb', line 67

def type
  @type
end