This repository has been archived by the owner. It is now read-only.
📰 A slack bot for topics.
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.
docs
slack_topics
tests
.gitignore
.travis.yml
CHANGELOG.md
CONTRIBUTING.md
CONTRIBUTORS.md
LICENSE
README.md
requirements.txt
setup.py

README.md

slack-topics

Build Status

A python slack bot for topics.

Installation

pip3 install git+https://github.com/solus-impar/slack-topics.git@master

If you are not in a virtualenv you may need to use pip3 with sudo or --user.

Usage

Once slack-topics is installed you can run it from the command line. Keep in mind that slack-topics depends on the following environment variables:

  • SLACK_TOPICS_TOKEN: A custom bot Slack token.
  • SLACK_TOPICS_CHANNEL: The name of the channel to change topics for.

Schedule

If you want slack-topics to run regularly you can add it to your crontab or launchd.

slack-topics will update a channel's topic to one of these pages.

  • Random man-page
  • Random programming language
  • Top HN story
  • Random xkcd comic
  • Random challenge from cmdchallenge.com
  • Top trending repository on Github
  • Random HackerRank challenge

New Topics

Don't like the topics that slack-topics currently supports? Follow the contribution guidelines to add one!

Resources

Slack API: api.slack.com

You should also check out wb2k.