```ruby
require 'sinatra'
require 'httparty'
require 'yaml'

data = YAML.load_file(File.expand_path("./data.yml"))

post('/') do
  team = data['team_members'].shuffle

  HTTParty.post(data['url'], body: { text: team, channel: "\##{params['channel_name']}" }.to_json )
end
```

Remove unnecessary variable and return list joined
user
```ruby
require 'sinatra'
require 'httparty'
require 'yaml'
require 'pry'

data = YAML.load_file(File.expand_path("./data.yml"))

post('/') do
  HTTParty.post(data['url'], body: { text: data['team_members'].shuffle.join(', '), channel: "\##{params['channel_name']}" }.to_json )
end
```
assistant