Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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!