diff options
author | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2015-10-21 16:47:05 -0700 |
---|---|---|
committer | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2015-10-21 16:47:05 -0700 |
commit | d7eef063a7d993dcd91a701f151597a678b09190 (patch) | |
tree | 22968b9e611614266bae49d451ad1ff6aea3038e /twitch-rb-editchannel.patch | |
download | twitchtools-d7eef063a7d993dcd91a701f151597a678b09190.tar.gz twitchtools-d7eef063a7d993dcd91a701f151597a678b09190.zip |
twitchtools: initial commit
Diffstat (limited to 'twitch-rb-editchannel.patch')
-rw-r--r-- | twitch-rb-editchannel.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/twitch-rb-editchannel.patch b/twitch-rb-editchannel.patch new file mode 100644 index 0000000..520b251 --- /dev/null +++ b/twitch-rb-editchannel.patch @@ -0,0 +1,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 =>{ + |