Skip to content

Latest commit

 

History

History
34 lines (17 loc) · 1.24 KB

README.md

File metadata and controls

34 lines (17 loc) · 1.24 KB

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' "