Skip to content

nayoung0/geulpaeng

Repository files navigation

글팽이

슬랙에서의 협업을 돕는 슬랙봇입니다. 글팽이와 함께라면 다른 사람들이 여러분의 메시지를 확인했는지 간편하게 알 수 있어요!
글팽이는 글또 커뮤니티를 위해 만들어졌어요.


Requirements

  • Python3.11+
  • Poetry
  • AWS Credentials
  • Slackbot OAuth Tokens

How to start

Download & Set up

$ git clone [email protected]:nayoung0/geulpaeng.git && cd geulpaeng
$ poetry install

Upload env file

s3://{your_bucket_name}/env.json 위치에 아래의 내용을 추가하세요.

  • BOT_USERS는 멘션에서 제외할 유저 목록입니다. 해당하는 값이 없는 경우엔 "[]"로 입력해주세요.
{
  "TOKEN": "your_slackbot_token",
  "BOT_USERS": "[\"BOTUSER_ID\"]"
}

Update bucket name

zappa_settings.json 파일 내 s3_bucketremote_env 값을 적절히 변경하세요.

{
  "test":
    {
      "s3_bucket": "your_bucket_name",
      "remote_env": "s3://your_bucket_name/env.json",
      "...": "...",
    }
}

Deploy

아래의 명령어를 입력하여 배포하세요.

$ zappa deploy test

Usage guide

이모지 체크

누군가를 태그한 메시지 내에서 스레드로 @글팽이 태그와 함께 체크 키워드를 포함한 메시지를 입력해주세요.

태그된 사람이 이모지를 달지 않은 경우
demo_no_reaction.mp4
태그된 사람이 모두 이모지를 단 경우
demo_reaction.mp4

Contact


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages