emoji-generator-slack-app
This is an emoji generator app for slack.
Example
@botname [color] [bgColor] [line1] [line2(optional)]
Get Started
You need to be prepared to set environment variables.
SLACK_SIGNIN_SECRET=
SLACK_BOT_TOKEN=
Also, you need to have these settings.
Singing Secret
Bot Token
Required Permission - Bot Token Scopes
Event subscriptions - Request URL
If you want to try it out easily in a local environment, try using ngork.
go run main.go
ngrok http 9999
Please read a caution before using in production environment if you want this app in production environment.
API
/generator
/slack/events
- API for slack events subscription.
Caution
There is a bug where images are posted multiple times.
References