A sexy, simple, yet powerful and extendable Slack bot
Project description
Slack Machine is a sexy, simple, yet powerful and extendable Slack bot. More than just a bot, Slack Machine is a framework that helps you develop your Slack team into a ChatOps powerhouse.
Features
Get started with mininal configuration
Built on top of the Slack RTM API for smooth, real-time interactions
Support for rich interactions using the Slack Web API
High-level API for maximum convenience when building plugins
Low-level API for maximum flexibility
- Plugin API features:
Listen and respond to any regular expression
Capture parts of messages to use as variables in your functions
Respond to messages in channels, groups and direct message conversations
Respond with Emoji
Respond in threads
Send DMs to any user
Support for message attachments
Listen and respond to any Slack event supported by the RTM API
Coming Soon
Schedule actions and messages
Plugin-accesible storage
Help texts for Plugins
… and much more
Installation
You can install Slack Machine using pip:
$ pip install slack-machine
It is strongly recommended that you install slack-machine inside a virtual environment!
Usage
Create a directory for your Slack bot: mkdir my-slack-bot && cd my-slack-bot
Add a local_settings.py file to your bot directory: touch local_settings.py
Create a Bot User for your Slack team: https://my.slack.com/services/new/bot (take note of your API token)
Add the Slack API token to your local_settings.py like this:
SLACK_API_TOKEN = 'xox-my-slack-token'
Start the bot with slack-machine
…
Profit!
Writing plugins
Coming Soon!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for slack_machine-0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c646b11bcae0266e5d249b3a645a77bb1abaabfe380f337f4cd1f09c2f63f62 |
|
MD5 | b7b3a9079dcfec3c9c76b3d0018a00eb |
|
BLAKE2b-256 | c579598e040b84d254206cf429adc82b4c114bc3790451b91d10a02547570e0f |