app/jobs/slack_event/member_joined_channel_job.rb
def text_for(channel)
    case channel.name
    when "work-offers"
      <<~END_OF_TEXT
        Welcome to our job posting channel. This channel is specifically for posting job offers or job-seeking information.

        For all other discussion of jobs, workplaces, career paths, etc. other than work opportunities, please use #work-career-chat.

        Your job offer should include the location, remote friendliness, company name, as well as instructions on how to apply.

        Be courteous and do not cross-post to other channels or post repeatedly for the same job offer. Do not pin your job post.

        Please use Slack threads to followup to keep the main channel's signal to noise ratio high.
      END_OF_TEXT
    end
  end
# Return the text message for the given channel. An empty response
# is a valid response indicating there isn't a message for that channel.
#
# The text message should not be wrapped as that will break Slack's automatic
# wrapping on presentation.
#
# Returns String (or nil)
Return the text message for the given channel. An empty response
is a valid response indicating there isn't a message for that channel.

The text message should not be wrapped as that will break Slack's automatic
wrapping on presentation.

Returns String (or nil)
Return the text message for the given channel . An empty response is a valid response indicating there isn ' t a message for that channel . The text message should not be wrapped as that will break Slack ' s automatic wrapping on presentation . Returns String ( or nil )
def text_for(channel)
    case channel.name
    when "work-offers"
      <<~END_OF_TEXT
        Welcome to our job posting channel. This channel is specifically for posting job offers or job-seeking information.
        For all other discussion of jobs, workplaces, career paths, etc. other than work opportunities, please use #work-career-chat.
        Your job offer should include the location, remote friendliness, company name, as well as instructions on how to apply.
        Be courteous and do not cross-post to other channels or post repeatedly for the same job offer. Do not pin your job post.
        Please use Slack threads to followup to keep the main channel's signal to noise ratio high.
      END_OF_TEXT
    end
  end
def text_for ( channel ) case channel . name when "work-offers" <<~END_OF_TEXT 
        Welcome to our job posting channel. This channel is specifically for posting job offers or job-seeking information.

        For all other discussion of jobs, workplaces, career paths, etc. other than work opportunities, please use #work-career-chat.

        Your job offer should include the location, remote friendliness, company name, as well as instructions on how to apply.

        Be courteous and do not cross-post to other channels or post repeatedly for the same job offer. Do not pin your job post.

        Please use Slack threads to followup to keep the main channel's signal to noise ratio high.
       END_OF_TEXT end end
Return the text message for the given channel.
Return the text message for the given channel .
channel