Sha256: efef44f8e1575f6d030a7983882094dafca1fc394250ceed2d7a9f58ab9443f1

Contents?: true

Size: 537 Bytes

Versions: 5

Compression:

Stored size: 537 Bytes

Contents

# frozen_string_literal: true
# This file was auto-generated by lib/tasks/web.rake

desc 'Bots methods.'
command 'bots' do |g|
  g.desc 'Gets information about a bot user.'
  g.long_desc %( Gets information about a bot user. )
  g.command 'info' do |c|
    c.flag 'bot', desc: 'Bot user to get info on.'
    c.flag 'team_id', desc: 'encoded team id or enterprise id where the bot exists, required if org token is used.'
    c.action do |_global_options, options, _args|
      puts JSON.dump($client.bots_info(options))
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
slack-ruby-client-2.0.0 bin/commands/bots.rb
slack-ruby-client-1.1.0 bin/commands/bots.rb
slack-ruby-client-1.0.0 bin/commands/bots.rb
slack-ruby-client-0.17.0 bin/commands/bots.rb
slack-ruby-client-0.16.0 bin/commands/bots.rb