Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/khushi130404/slackbot
- Owner: Khushi130404
- License: mit
- Created: 2024-12-10T15:08:28.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2025-02-05T03:10:43.000Z (3 days ago)
- Last Synced: 2025-02-05T04:18:52.642Z (3 days ago)
- Topics: chatbot, django, django-rest-framework, slack
- Language: Python
- Homepage:
- Size: 30.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
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.