--- a/lib/twitch.rb +++ b/lib/twitch.rb @@ -77,9 +77,9 @@ class Twitch get(url) end - def editChannel(status, game) + def editChannel(channel, status, game) return false if !@access_token - path = "/channels/dustinlakin/?oauth_token=#{@access_token}" + path = "/channels/#{channel}/?oauth_token=#{@access_token}" url = @base_url + path data = { :channel =>{