blob: 520b251a0149e189c69f632c585f3db05ab9bc40 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--- 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 =>{
|