Sha256: 0e635aba7fce73d1ab0ab956254fb8b94f92c46835dd0f9a498afc425316e8e2
Contents?: true
Size: 516 Bytes
Versions: 1
Compression:
Stored size: 516 Bytes
Contents
module Slack module RealTime module EventHandlers module BotChanged # An integration bot was changed. # @see https://api.slack.com/events/bot_changed # @see https://github.com/dblock/slack-api-ref/blob/master/events/bot_changed.json def self.call(client, data) bot = client.bots[data.bot.id] bot.merge!(data.bot) if bot end end end end end Slack::RealTime::Client.events['bot_changed'] = Slack::RealTime::EventHandlers::BotChanged
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
slack-ruby-client-0.6.0 | lib/slack/real_time/event_handlers/bot_changed.rb |