class SlackRubyBot::Commands::Help

Private Class Methods

general_text() click to toggle source
# File lib/slack-ruby-bot/commands/help.rb, line 26
        def general_text
          bot_desc = Support::Help.instance.bot_desc_and_commands
          other_commands_descs = Support::Help.instance.other_commands_descs
          <<~TEXT
            #{bot_desc.join("\n")}

            *Other commands:*
            #{other_commands_descs.join("\n")}

            For getting description of the command use: *help <command>*

            For more information see https://github.com/slack-ruby/slack-ruby-bot, please.
          TEXT
        end