Created
April 26, 2017 19:48
-
-
Save awwaiid/3d49f1ef83bd23bddb8aeb90b96fd96c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
token="..." | |
while true ; do | |
for i in arrow_up arrow_upper_right arrow_right arrow_lower_right arrow_down arrow_lower_left arrow_left arrow_upper_left ; do | |
text="This%20way" | |
emoji="$i" | |
echo "$text: $emoji" | |
curl "https://slack.com/api/users.profile.set?token=$token&profile=%7B%20%22status_text%22%3A%20%22$text%22%2C%20%22status_emoji%22%3A%20%22%3A$emoji%3A%22%20%7D&pretty=1" | |
sleep 10 | |
done | |
done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment