Skip to content

A simple rule based chatbot to connect to slack using python.

Notifications You must be signed in to change notification settings

mohdsanadzakirizvi/Slack-AI-ChatBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Slack-AI-ChatBot

A simple rule based chatbot to connect to slack using python.

Project Structure

The following is the project structure:

  • mainbot.py : main code of the slackbot
  • slack_utility.py : contains utility functions for the slackbot

Start Project

  1. Set the SLACK_TOKEN and BOTNAME environment variable with your token and bot's name respectively
$ export SLACK_TOKEN=<your_token_here>
$ export BOTNAME=<your_botname_here>
  1. Start the slackbot
python mainbot.py
  1. Join the Slack Workplace
https://<your_workspace_here>.slack.com/
  1. Try chatting with your bot. Start by saying "Hi"! :D

Dependencies

The project depends upon the following packages:

License

MIT

About

A simple rule based chatbot to connect to slack using python.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages