Sha256: 36ce636453843a5658afbe2cabcca73a0480fd40e6a1b0542e5b3a0931442e8e

Contents?: true

Size: 847 Bytes

Versions: 13

Compression:

Stored size: 847 Bytes

Contents

module Testing
  class WeatherBot < SlackRubyBot::Bot
    help do
      title 'Weather Bot'
      desc 'This bot tells you the weather.'

      command 'clouds' do
        desc 'Tells you how many clouds there\'re above you.'
      end

      command '' do
        desc 'empty description'
      end

      command 'command_without_description' do
      end

      command 'What\'s the weather in <city>?' do
        desc 'Tells you the weather in a <city>.'
        long_desc "Accurate 10 Day Weather Forecasts for thousands of places around the World.\n" \
          'We provide detailed Weather Forecasts over a 10 day period updated four times a day.'
      end
    end
  end

  class HelloCommand < SlackRubyBot::Commands::Base
    help do
      title 'hello'
      desc 'Says hello.'
      long_desc 'The long description'
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
slack-ruby-bot-0.12.0 lib/slack-ruby-bot/rspec/support/bots_for_tests.rb
slack-ruby-bot-0.11.2 lib/slack-ruby-bot/rspec/support/bots_for_tests.rb
slack-ruby-bot-0.11.1 lib/slack-ruby-bot/rspec/support/bots_for_tests.rb
slack-ruby-bot-0.11.0 lib/slack-ruby-bot/rspec/support/bots_for_tests.rb
slack-ruby-bot-0.10.5 lib/slack-ruby-bot/rspec/support/bots_for_tests.rb
slack-ruby-bot-0.10.4 lib/slack-ruby-bot/rspec/support/bots_for_tests.rb
slack-ruby-bot-0.10.3 lib/slack-ruby-bot/rspec/support/bots_for_tests.rb
slack-ruby-bot-0.10.2 lib/slack-ruby-bot/rspec/support/bots_for_tests.rb
slack-ruby-bot-0.10.1 lib/slack-ruby-bot/rspec/support/bots_for_tests.rb
slack-ruby-bot-0.10.0 lib/slack-ruby-bot/rspec/support/bots_for_tests.rb
slack-ruby-bot-0.9.0 lib/slack-ruby-bot/rspec/support/bots_for_tests.rb
slack-ruby-bot-0.8.2 lib/slack-ruby-bot/rspec/support/bots_for_tests.rb
slack-ruby-bot-0.8.1 lib/slack-ruby-bot/rspec/support/bots_for_tests.rb