mbillow / csh-slack-memebot

A Flask web server meant to interact with Slack Outgoing Webhooks integration.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CSH Slack MemeBot

Built For: Computer Science House at RIT

The purpose of this script is to create a web server that is able to respond to HTTP POST requests generated by the Slack Outgoing Webhook integration and respond with a relevant query result for information or requested image URL.

Configuration File (bot_config.cfg)

[API_KEY]
BOT_KEY = slack_api_key_goes_here

[MEME_LIST]
name = http://www.example.com/meme.jpg

[CHANNELS]
channel_name = true
sample_name = false

Slack Bot Syntax

List Available Memes: csh-meme:list

Post Meme: csh-meme:<meme_name>

Add Meme: csh-meme:add #<meme_name>#<meme_url>

About

A Flask web server meant to interact with Slack Outgoing Webhooks integration.

License:MIT License


Languages

Language:Python 100.0%