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
- Host: GitHub
- URL: https://github.com/richrd/slackbot-send
- Owner: richrd
- License: mit
- Created: 2015-09-02T13:43:33.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-09-02T14:55:34.000Z (almost 11 years ago)
- Last Synced: 2025-05-20T04:37:38.644Z (about 1 year ago)
- Language: Python
- Size: 137 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 '#'.**