Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ellisonleao/bob
A simple Slack chatbot
https://github.com/ellisonleao/bob
chatbot python python3 slack websocket
Last synced: 28 days ago
JSON representation
A simple Slack chatbot
- Host: GitHub
- URL: https://github.com/ellisonleao/bob
- Owner: ellisonleao
- License: gpl-3.0
- Created: 2017-09-28T23:54:11.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-09-29T23:05:51.000Z (over 7 years ago)
- Last Synced: 2024-10-06T05:41:41.178Z (3 months ago)
- Topics: chatbot, python, python3, slack, websocket
- Language: Python
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bob
A simple Slack chatbot
## Installing
### Prerequisites
- Python 3.6+
- You are an Admin of a Slack Organization
- You generated a [Slack API Token for your bot](https://my.slack.com/services/new/bot)### Steps
1. Clone the repo
```
git clone https://github.com/ellisonleao/bob.git
```2. Install the dependencies
```
cd bob
pip install -r requirements.txt
```3. Run the code
```
SLACK_TOKEN=XXXXXX python run.py
```### Implementing your own commands
1. Open `commands.py` file
2. create any func passing `(client, channel, args)` as arguments
3. Implement it.
4. Save and restart the bot.
5. Profit!