/emojify [text] [foreground] [background]
You need an API token to post emoji art back to Slack. Setup an incoming webhook and note the API token.
You need to respond to the /emojify
command. Setup a new slash command with the following settings.
- Command:
/emojify
- URL:
https://<your heroku app>.herokuapp.com/
- Method:
POST
- Check Show this command in the autocomplete list.
- Description:
Emojify your text
. - Usage hint:
[text] [foreground] [background]
Configure the Heroku application with heroku config add
.
- SLACK_API_TOKEN: The token from the incoming webhook.
- USERNAME: Optional name of bot.
- ICON: Optional URL to an image to use as the icon for messages.