Skip to content

mikemac18/Mchacks8

Repository files navigation

Mchacks8

This project attempts to create a chatbot using the slack API. The goal of the slackbot is a productivity bot, that manages tasks and tries to improve productivity in the office.

Connecting the bot to slack:

Mac:

In the terminal...

install slack api using "pip install slackclient slackeventsapi Flask"

Create a virtual environment in your command line. "conda create --name ProjectManagerBot python=3.8.5"

Switch into this envirnment using "conda activate ProjectManagerBot"

Goto https://api.slack.com/apps > your apps (top right) > ProjectManagerBot > Under settings goto install app > copy the "Bot User OAuth Token"

create an environment variable using "export BOT_USER_TOKEN='bot oauth token from above website' "

WINDOWS:

In the command prompt...

install slack using "pip install slackclient slackeventsapi Flask"

Create a virtual environment in your command line. "conda create --name ProjectManagerBot python=3.8.5"

Switch into this envirnment using "conda activate ProjectManagerBot"

Goto https://api.slack.com/apps > your apps (top right) > ProjectManagerBot > Under settings goto install app > copy the "Bot User OAuth Token"

create an environment variable using "set BOT_USER_TOKEN='bot oauth token from above website' "

About

McHacks 2021 - AI chatbot with slack API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages