Module: Slack::RealTime::EventHandlers::BotAdded

Defined in:
lib/slack/real_time/event_handlers/bot_added.rb

Class Method Summary collapse

Class Method Details

.call(client, data) ⇒ Object

An integration bot was added.


8
9
10
# File 'lib/slack/real_time/event_handlers/bot_added.rb', line 8

def self.call(client, data)
  client.bots[data.bot.id] = Models::Bot.new(data.bot)
end