diff options
Diffstat (limited to 'get-emoji-list.sh')
-rwxr-xr-x | get-emoji-list.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/get-emoji-list.sh b/get-emoji-list.sh index c5102ae..2acae2b 100755 --- a/get-emoji-list.sh +++ b/get-emoji-list.sh @@ -1,5 +1,8 @@ #!/usr/bin/env sh # http://unlicense.org/ -curl https://plural.cafe/api/v1/custom_emojis | jq '.[].shortcode' | sed 's/"//g' | sort > emoji-list +instance=${1:-'plural.cafe'} + + +curl https://${instance}/api/v1/custom_emojis | jq '.[].shortcode' | sed 's/"//g' | sort > emoji-list |