summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtwitchfollow.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/twitchfollow.sh b/twitchfollow.sh
new file mode 100755
index 0000000..ce3c6ca
--- /dev/null
+++ b/twitchfollow.sh
@@ -0,0 +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)
+