# => icons of users in channel "C1ABCDEFG"(id) are downloaded to ./results/...
$ deno task run channel C1ABCDEFG
# => icons of user group "@dev-team-alpha" are downloaded to ./results/...
$ deno task run main.ts group dev-team-alpha
# => icons of user group "@dev-team-alpha" are downloaded to ./results/...
# and user informations are written in dev-team-alpha.csv(it may be useful when creating badges!)
$ deno task run main.ts group dev-team-alpha --csv=dev-team-alpha.csv- Pass slack token with permissions listed bellow to environment variable
SLACK_TOKENusers:readusergroups:read(when use group command)channels:read(when use channel command with a public channel)groups:read(when use channel command with a private channel)im:read(when use channel command with a direct messages)mpim:read(when use channel command with a group direct messages)
- Copy
scripts/example.sh- Edit
ugsorchannelsarray
- Edit
- Run script
- Icons will be downloaded to
resultsdirectory - You can use
results/list.csvto load the icons from other apps(such like ラベル屋さん)
- Icons will be downloaded to
Description:
Slack icon downloader
Options:
-h, --help - Show this help.
-V, --version - Show the version number for this program.
Commands:
group <groupHandle> - Download icons of users who are belong to the user groups.
channel <channelID> - Download icons of users who are joined in the channel.
MIT License