Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/khushi130404/slackbot

SlackBot is a Django-based bot that integrates with Slack using the Slack Events API. It listens for messages and events in a Slack workspace and responds based on predefined logic.
https://github.com/khushi130404/slackbot

chatbot django django-rest-framework slack

Last synced: about 7 hours ago
JSON representation

SlackBot is a Django-based bot that integrates with Slack using the Slack Events API. It listens for messages and events in a Slack workspace and responds based on predefined logic.

Awesome Lists containing this project

README

        

# SlackBox

SlackBot is a Django-based bot that integrates with Slack using the Slack Events API. It listens for messages and events in a Slack workspace and responds based on predefined logic.

## Features

- Listens for messages in specific Slack channels.
- Responds to commands and keywords.
- Supports event-driven interactions using the Slack Events API.
- Easily extendable for additional functionality.

## Prerequisites

- Python 3.x

- Django

- A Slack workspace

- A Slack app with Events API enabled

## Setting Up Slack App

- Create a new Slack app from Slack API.
- Enable the Events API and set the request URL to your server.
- Subscribe to events like message.channels or message.im.
- Add the OAuth & Permissions scope chat:write and channels:history.
- Install the app to your workspace and copy the bot token.

## Usage

- Mention the bot in a Slack channel to trigger a response.

- Send direct messages to the bot for interactions.

- Extend the bot’s functionality by adding custom event handlers in Django.