Class: Cinch::Plugins::Starcraft::Feeds

Inherits:
Object
  • Object
show all
Includes:
Cinch::Plugin
Defined in:
lib/cinch/plugins/starcraft/feeds.rb

Instance Method Summary collapse

Instance Method Details

#listen(m, event) ⇒ Object



36
37
38
39
40
# File 'lib/cinch/plugins/starcraft/feeds.rb', line 36

def listen(m, event)
  event[:channels].each do |channel|
    Channel(channel).send event[:message]
  end
end