Skip to content

Slack bot that detects the annoying behaviour some people have of posting a link without any description whatsoever and gives them a slap on the wrist!

Notifications You must be signed in to change notification settings

TunedMidja/random-link-detector-slack-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Random Link Detector (Slack bot)

Detects the annoying behaviour some people have of posting a link without any description whatsoever and gives them a slap on the wrist!

Install

Install Python 2.x (developed with Python 2.7.13).

Add Slack's official Python library:

pip install SlackClient

Create a new bot in the Slack admin console and export the token:

export SLACK_BOT_TOKEN=[my-token]

Find the bot id and export it as well:

export BOT_ID=[my-bot-id]

How to perform the above steps is nicely described here:

https://www.fullstackpython.com/blog/build-first-slack-bot-python.html

Run

python random_link_detector.py

Invite the bot to a Slack channel and watch it work its magic!

About

Slack bot that detects the annoying behaviour some people have of posting a link without any description whatsoever and gives them a slap on the wrist!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages