You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Alex Huddleston 147eb11610 Update for production. 2 years ago
.gitignore Improved CF functionality, added logging and bash runner script. 2 years ago
README.md Update readme. 2 years ago
bot_logging.py Improved CF functionality, added logging and bash runner script. 2 years ago
import_db.py Added CF functionality. 2 years ago
runner.sh Improved CF functionality, added logging and bash runner script. 2 years ago
slack-bot-prod.py Update for production. 2 years ago
word_db.txt Improved CF functionality, added logging and bash runner script. 2 years ago

README.md

UP Hype Bot

A Slack bot written in Python to gets HYPED on that Unified Platform

Usage

Firstly, this bot was written using BASH so I'm unsure how well this will run on Windows. I'm currently running it on a Google Cloud Platform free tier VPS.

Clone this repo, then make sure you have the slackclient module installed in your python environment. You will need an API token from Slack, you can learn that and more on how to set up a bot from this documentation: https://github.com/slackapi/python-slackclient/blob/master/tutorial/01-creating-the-slack-app.md Once you have set up and installed your app/bot, you can run it by typing: ./runner.sh

The bot should automatically put itself in the background, currently the only way to kill it is either to execute a kill command or use something like htop to kill the process.

Features

CF Functionality

Simply make any post in the chat that contains a C-word followed immediately with an F-word and the bot will quickly and efficiently remind you of what CF stands for. This functionality ignores cases and can optionally be triggered with "CF"

Future Work

UP! Emoji Injection

CF Quote Repeater