lib/lita/handlers/runscope.rb
# note: bots can't Direct message
bots can't Direct message
bots can ' t Direct message
def contact_team_members(contact_list, response, team, sender)
        message_string = team + " needs your attention "
        contacts = contact_list.split(",")
        contacts.each do |contact|
          user = user_ids.find { |user| user[:name] == contact }
          message_string.concat(" <@#{user[:id]}>")
        end
        write_error_to_file(sender, team)
        response.reply(message_string)
      end
def contact_team_members ( contact_list , response , team , sender ) message_string = team + " needs your attention " contacts = contact_list . split ( "," ) contacts . each do | contact | user = user_ids . find { | user | user [ :name ] == contact } message_string . concat ( " <@#{user[:id]}>" ) end write_error_to_file ( sender , team ) response . reply ( message_string ) end
note: bots can't Direct message
note : bots can ' t Direct message
contact_list
<not_specific>
response
<not_specific>
team
<not_specific>
sender
<not_specific>