Skip to content

kotaoue/SlackUploader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SlackUploader

  1. This script uploads jpg or png to Slack: Recursively from the current directory.
  2. Script is delete messages after upload.
  3. And echo Permalinks.

If you want to create a Slackbot that displays images randomly: Try this script.

Requirement

Preparation

curl -XPOST "https://slack.com/api/auth.test?token=<TOKEN>&pretty=1"

Usage

go run main.go -UserID=<Slack UserID> -ChannelID=<Upload target ChannelID> -token=<Bot User OAuth Token>

About

Image upload to Slack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages