summaryrefslogtreecommitdiff
path: root/twitchfollow.sh
diff options
context:
space:
mode:
Diffstat (limited to 'twitchfollow.sh')
-rwxr-xr-xtwitchfollow.sh2
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 )