summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk@omgwallhack.org>2015-11-16 18:17:10 -0800
committerJoe Rayhawk <jrayhawk@omgwallhack.org>2015-11-16 18:17:10 -0800
commit93ec0486dba94d468f2005e509e06a65b70eb71e (patch)
tree3fafcfbd354476f9dd600e8bff7a6eaf1696bd4e
parentd41fb1f34626a1fc14835a5335cf0893126c82d2 (diff)
downloadtwitchtools-93ec0486dba94d468f2005e509e06a65b70eb71e.tar.gz
twitchtools-93ec0486dba94d468f2005e509e06a65b70eb71e.zip
twitchfollow: make more configurable
-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 )