# Slack Text Meme
[![Build Status](https://travis-ci.org/ritazh/slack-textmeme.svg?branch=master)](https://travis-ci.org/ritazh/slack-textmeme)

_A Slackbot that creates a meme with text_.

![Slack Text Meme Demo](textmeme.gif)

This Slackbot creates a meme with text overlay using [memegen](http://memegen.link).

## Installation

Clone this repo and then install dependencies:

    git clone https://github.com/ritazh/slack-textmeme.git
    cd slack-textmeme
    npm i


Setup the server (using Deis):

    deis create slacktextmemebot
    git push deis master


Setup Slack slash command:

* Go to `http://[your-slack-org].slack.com/apps/manage/custom-integrations` 
* Add a slash command
* Fill in the following fields:
  * _Command_: the name of your slash command (example: `/textmeme`)
  * _URL_: The URL to request when the slash command is run (example: `https://slacktextmemebot.[your  host]/meme`)
  * _Method_: POST


## Usage

In Slack, send slash commands to /textmeme:

    /textmeme doge; This BOT is; AWESOME;
    /textmeme memes;


## License
Licensed using the MIT License (MIT); Copyright (c) Microsoft Corporation. For more information, please see [LICENSE](LICENSE).

# Slack Text Meme with Microsoft Bot Framework
[![Build Status](https://travis-ci.org/ritazh/slack-textmeme.svg?branch=master)](https://travis-ci.org/ritazh/slack-textmeme)

_A Slackbot that creates a meme with text_.

![Slack Text Meme Demo](textmeme.gif)

This Slackbot creates a meme with text overlay using [memegen](http://memegen.link).

## Installation

Clone this repo and then install dependencies:

    git clone https://github.com/ritazh/slack-textmeme.git
    cd slack-textmeme
    git checkout botframework
    npm i

Push directly to Azure Web App:
    The current Travis CI is setup to push directly to an Azure web app
    
Setup the server (using Deis):

    deis create slacktextmemebot
    git push deis master


Setup Slack bot:
* Follow the instructions on Bot Framework website to setup a Slack Channel

## Usage

In Slack, after adding the textmeme bot user to a channel, you can start with:

    memes
    doge; This BOT is; AWESOME;


## License
Licensed using the MIT License (MIT); Copyright (c) Microsoft Corporation. For more information, please see [LICENSE](LICENSE).

Update deployment and usage for botframework solution
:memo: Update deployment and usage for botframework solution
