Skip to content

py-study-group/psg-slackbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Here is the link to the official guide

Official repository/guide

Setting up your environment

$ virtualenv slackblot -p python3

Install required packages

$ pip install -r requirements.txt

You may need sudo if you are not using virtual environment

Tokens and Authentication

$ export SLACK_API_TOKEN='your slack token pasted here'

Follow the instructions on this link to get the token

Create get_bot_id.py

This file will contain the bot logic and actions Run the script so you can get the bot id and then

$ export BOT_ID='your bot id pasted here'

Create message.py

This file contains a python class for creating message objects. Creating message objects allows us to store information about each onboarding message our bot sends out to various new users and more easily keep track of what tasks each user has completed

TODO

  1. bot to send message as alpha5 and not as a simple bot
  2. Message new members

Articles that helped me

build-first-slack-bot direct messages with bot

About

Python Study Group Slack Bot project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages