An open API service indexing awesome lists of open source software.

https://github.com/richrd/slackbot-send

Command line utility for sending messages to Slack via Slackbot
https://github.com/richrd/slackbot-send

Last synced: 9 months ago
JSON representation

Command line utility for sending messages to Slack via Slackbot

Awesome Lists containing this project

README

          

# Slackbot-Send
Simple command line utility for easily sending messages to Slack via Slackbot

## Config
Before using it, you need to set your slack domain and the slackbot token in `config.json`.
You can get a token from https://my.slack.com/services/new/slackbot

## Usage

python3 main.py

Example (will send "Hello from Slackbot." to #general):

python3 main.py general Hello from Slackbot.

**The channel parameter should not contain the hashtag '#'.**