kiraarghy / slackSheriff

This is a server that takes in a slack emoji code and appends that emoji into an emoji sheriff template.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

slackSheriff

This is a slack bot that takes in a slash command and returns an emoji sheriff.

/sheriff 🀠

                   πŸ‘‡

β € β € β €  🀠
     🀠🀠🀠
   🀠   🀠 🀠
  πŸ‘‡   🀠🀠 πŸ‘‡
     🀠 🀠
    🀠  🀠
   πŸ‘’     πŸ‘’

Using slackSheriff

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.

Running the slacksheriff

  1. Run slacksheriff locally using node. Use something like ngrok to expose an external url. Then point your slack bot at your server.

  2. Deploy slacksheriff to AWS lambda using something like Apex's up, Serverless, or AWS dashboard.

Umm that's kinda it.

Inspiration and thanks goes to:

Every Sheriff Bot for inspiration.

SomeHats for technical support.

About

This is a server that takes in a slack emoji code and appends that emoji into an emoji sheriff template.

License:MIT License


Languages

Language:JavaScript 100.0%