OperationCode PyBot is a python implementation slack chat bot built to deal with the Slack Events API.
When new individuals join #General we wish to contact them through a private message.
Using the previous version of OperationCodeBot, we are given a general idea for how to handle events:
When a subscribed event occurs:
- Slack sends a POST to this bot
- The bot processes the event and calls a method with the same name as the event passed in
- The event named method does whatever tasks are needed
This first iteration will perform the following:
- Subscribe to the
team-joinevent - Grab user name and construct message
- Send private message to user with formatted information.
Due to the PEP 404 announcement support of python 3 will be the standard. The initial release will be with 3.6.X.
- Slack Bot Tutorial
- Slack Events API Framework
- Python Slack Client
- Slack RTM API Framework
- Slack API/Documentation
Bug reports and pull requests are welcome on Github. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct. If you wish to assist, join the #new-team-rewrite rewrite to learn how to contribute.
This package is available as open source under the terms of the MIT License.