From d7eef063a7d993dcd91a701f151597a678b09190 Mon Sep 17 00:00:00 2001 From: Joe Rayhawk Date: Wed, 21 Oct 2015 16:47:05 -0700 Subject: twitchtools: initial commit --- twitch-rb-editchannel.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 twitch-rb-editchannel.patch (limited to 'twitch-rb-editchannel.patch') 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 =>{ + -- cgit v1.2.3