All Projects → markhobson → emojibot

markhobson / emojibot

Licence: other
A Slack bot that joins the conversation with emojis.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to emojibot

editor-ovo
A rich text editor for mobile web. Mixed editing of photos and Emoji 一个适用于移动web的富文本编辑器。照片加emoji的混合编辑
Stars: ✭ 29 (+31.82%)
Mutual labels:  emoji
emoji-strip
Strip emoji from a string in Node.js and browsers.
Stars: ✭ 73 (+231.82%)
Mutual labels:  emoji
vuemoji-picker
Vue 2 and 3 lightweight emoji picker.
Stars: ✭ 53 (+140.91%)
Mutual labels:  emoji
emoji-commit
No description or website provided.
Stars: ✭ 40 (+81.82%)
Mutual labels:  emoji
dvorakjp-romantable
Google 日本語入力用DvorakJPローマ字テーブル / DvorakJP Roman Table for Google Japanese Input
Stars: ✭ 43 (+95.45%)
Mutual labels:  emoji
ChineseBQB-client
🤣 开源表情包小程序
Stars: ✭ 81 (+268.18%)
Mutual labels:  emoji
icons
a collection of custom icons for use with the notion-enhancer's "icon sets" integration
Stars: ✭ 29 (+31.82%)
Mutual labels:  emoji
yii2-emoji
😄 this is a emoji extension of yii2.
Stars: ✭ 17 (-22.73%)
Mutual labels:  emoji
loading-indicator
🚦 Simple and customizable command line loading indicator
Stars: ✭ 18 (-18.18%)
Mutual labels:  emoji
EmojiAddIn
Emoji for Outlook and Thunderbird
Stars: ✭ 21 (-4.55%)
Mutual labels:  emoji
Emojions
Embeddable Emoji Bar
Stars: ✭ 15 (-31.82%)
Mutual labels:  emoji
studio-log
👻 A tiny JSON logger with emoji support
Stars: ✭ 39 (+77.27%)
Mutual labels:  emoji
emoji-sentiment
Emoji sentiment data
Stars: ✭ 14 (-36.36%)
Mutual labels:  emoji
ReactButton
Android Library to make it easy to add ReactButton feature in your app with Multi Reactions like Facebook or Linkedin, you can add many reactions as you want, you can also split them into a number of columns, and also customize the colours and text for each reaction
Stars: ✭ 100 (+354.55%)
Mutual labels:  emoji
pytest-emoji
A pytest plugin that adds emojis to your test result report 😍
Stars: ✭ 41 (+86.36%)
Mutual labels:  emoji
emoji-slider
A slider control with emojis
Stars: ✭ 40 (+81.82%)
Mutual labels:  emoji
react-native-emoji-input
A fully-featured emoji keyboard ⌨️ for React Native ⚛️
Stars: ✭ 67 (+204.55%)
Mutual labels:  emoji
uni-chat
uni-app + vue3.0 + typescript + vue-cli 仿手机QQ聊天 qq表情包
Stars: ✭ 55 (+150%)
Mutual labels:  emoji
kordx.emoji
Extension Library for Kord that provides all supported Discord emojis
Stars: ✭ 20 (-9.09%)
Mutual labels:  emoji
scrift
New generation shell and scripting language for everyone.
Stars: ✭ 46 (+109.09%)
Mutual labels:  emoji

Emojibot

A Slack bot that joins the conversation with emojis.

Getting started

  1. Create an AWS account if haven't got one already

  2. Install Serverless and configure your AWS credentials

  3. Deploy the server to AWS Lambda:

    npm install
    serverless deploy
    

    Note that you'll be charged for these services until they are removed.

    Make a note of the endpoints output once it has deployed, e.g.:

    endpoints:
      POST - https://ab12cd34ef.execute-api.eu-west-1.amazonaws.com/dev/event
      POST - https://ab12cd34ef.execute-api.eu-west-1.amazonaws.com/dev/explain
    
  4. Update the Slack app manifest for your server:

    1. Open manifest.yml
    2. Replace <event endpoint> with the event endpoint
    3. Replace <explain endpoint> with the explain endpoint
    4. Copy the contents of this file to your clipboard (no need to save these changes)
  5. Create your Slack app from the manifest:

    1. Create a Slack app
    2. Select 'From an app manifest'
    3. Select your workspace and click 'Next'
    4. Paste in the manifest from your clipboard and click 'Next'
    5. Click 'Create'
  6. Install the Slack app to your workspace:

    1. Under 'Basic Information / Install your app' click 'Install to Workspace'
    2. Click 'Allow' to authorize the permissions
    3. Under 'Basic Information / Display Information' click '+ Add App Icon'
    4. Select and upload resources/emojibot.png
    5. Select 'OAuth & Permissions' and under 'Bot User OAuth Token' click 'Copy'
  7. Configure the server credentials:

    1. Create a .env file (do not commit this file, it is already Git ignored):

      # Environment variables -- DO NOT COMMIT!
      
      BOT_ACCESS_TOKEN = <bot access token>
      
    2. Replace <bot access token> with your copied bot user OAuth token

    3. Save the file

    4. Redeploy the server to update the environment variable:

      serverless deploy
      

Updating emojis

The bot works by using a map of words to emojis. This map is derived from emoji-data and emojilib and stored in emoji.js. To regenerate it:

npm run generate

Running tests

To run the unit tests:

npm test

Removing

To undeploy the server from AWS:

serverless remove

See also

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].