SlackUploader

command module
v0.0.0-...-7a865ca Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 9, 2022 License: MIT Imports: 6 Imported by: 0

README

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>

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL