slack-memebot
v0.2.0
Published
A simple bot to generate and retrieve memes for Slack
Downloads
5
Maintainers
Readme
a simple bot that uses memegenerator.net to drop memes into your Slack channels.
Install
$ npm install -g slack-memebot
Usage
$ slack-memebot --help
A simple bot to generate and retrieve memes for Slack
slack-memebot depends on memegenerator.net and Slack. Your api settings
need to be set in config.yml and as environment variables where appropriate
before generating and posting a meme to Slack.
For more info on Slack bot integration, see:
https://api.slack.com/
Usage
ENV_VAR=<var_value> slack-memebot <command> <args>
Available Commands
generate - Create a new meme and return its info
post - Post a meme instance to a Slack channel
serve - Listen for Slack slash commands to generate and post memes
Examples
MEME_USER=bot-account1 MEME_PASSWORD=d430678a \
slack-memebot generate Futurama-Fry \
"I don't always use memes" "But when I do it's the wrong one"
slack-memebot post 12334532 #mychannel
MEME_USER=bot-account1 MEME_PASSWORD=d430678a PORT=9090\
slack-memebot serve
License
MIT © John Batte