Skip to content
Gif-deleting Slackbot
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
Procfile
README.md
index.js
package.json

README.md

Copcraig

Slackbot that automatically detects gifs posted in channels and deletes them. This bot was built with the node-slackbot module by Richard McDaniel.


Installation

You must have node.js installed for this to work.
You must be your Slack's team owner or have access to their authentication token in order for this bot to work

  • create a bot user intergration here.
  • create an authentication token here (make sure you are the team's owner).
  • clone this repo in Terminal while in your desired directory: git clone git@github.com:borderpointer/copcraig.git
  • cd into the directory cd copcraig
  • create an environmental variable SLACK_API_TOKEN that equals to the token generated from step 1.
  • create an environmental variable TEAM_OWNER_TOKEN that equals to the token generated from step 2.
  • run node index.js
  • invite copcraig into your desired Slack group.

Contribution

Huge thanks to Thom Page for the idea and Craig Ramey for letting me use his photo and name!

You can’t perform that action at this time.