diff options
-rwxr-xr-x | twitchfollow.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 ) |