diff options
author | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2015-11-16 18:17:10 -0800 |
---|---|---|
committer | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2015-11-16 18:17:10 -0800 |
commit | 93ec0486dba94d468f2005e509e06a65b70eb71e (patch) | |
tree | 3fafcfbd354476f9dd600e8bff7a6eaf1696bd4e /twitchfollow.sh | |
parent | d41fb1f34626a1fc14835a5335cf0893126c82d2 (diff) | |
download | twitchtools-93ec0486dba94d468f2005e509e06a65b70eb71e.tar.gz twitchtools-93ec0486dba94d468f2005e509e06a65b70eb71e.zip |
twitchfollow: make more configurable
Diffstat (limited to 'twitchfollow.sh')
-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 ) |