class MijDiscord::Data::ChannelCategory
Public Class Methods
new(data, bot, server)
click to toggle source
Calls superclass method
MijDiscord::Data::Channel::new
# File lib/mij-discord/data/channel.rb, line 462 def initialize(data, bot, server) super(data, bot, server) end
Public Instance Methods
channels()
click to toggle source
# File lib/mij-discord/data/channel.rb, line 470 def channels @server.channels.select! {|x| x.parent_id == @id } end
Also aliased as: children
update_data(data)
click to toggle source
Calls superclass method
MijDiscord::Data::Channel#update_data
# File lib/mij-discord/data/channel.rb, line 466 def update_data(data) super(data) end