From 93ec0486dba94d468f2005e509e06a65b70eb71e Mon Sep 17 00:00:00 2001 From: Joe Rayhawk Date: Mon, 16 Nov 2015 18:17:10 -0800 Subject: twitchfollow: make more configurable --- twitchfollow.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'twitchfollow.sh') diff --git a/twitchfollow.sh b/twitchfollow.sh index ce3c6ca..4bcd071 100755 --- a/twitchfollow.sh +++ b/twitchfollow.sh @@ -1,4 +1,4 @@ #!/bin/sh -curl -d '' -X PUT https://api.twitch.tv/kraken/users/bungmonkey/follows/channels/"$1"?oauth_token=$(cat ~/.config/twitch/access_token) +curl -d '' -X PUT https://api.twitch.tv/kraken/users/$( cat ~/.config/twitch/username )/follows/channels/"$1"?oauth_token=$( cat ~/.config/twitch/access_token ) -- cgit v1.2.3