This is a slack bot that takes in a slash command and returns an emoji sheriff.
/sheriff π€
π
β β β π€
π€ π€ π€
π€ π€ π€
π π€ π€ π
π€ π€
π€ π€
π’ π’
Configure your bot as per Slack API, specifically setting up a slash command e.g. /sheriff π
.
Then use the slash commands to point to the relative request url.
-
Run slacksheriff locally using node. Use something like ngrok to expose an external url. Then point your slack bot at your server.
-
Deploy slacksheriff to AWS lambda using something like Apex's up, Serverless, or AWS dashboard.
Umm that's kinda it.
Every Sheriff Bot for inspiration.
SomeHats for technical support.