Giter Site home page Giter Site logo

meatball55 / slack-event-api-bot-example Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mido-app/slack-event-api-bot-example

0.0 0.0 0.0 6 KB

this is a slack bot example which check messages posted to channel are good Japanese sentence or not

Python 100.00%

slack-event-api-bot-example's Introduction

何をするボット?

Slackのチャンネルに投稿された日本語メッセージに不自然な日本語がないかチェックし、指摘するボットです。Event APIを用いたSlackボットのサンプルとして作成しました。

使用方法

本ボットはAWS Lamda上で動作させる想定で作成しています。AWS Lamda上にzip化してアップロードするか、AWSのコンソール上でtypo-check-ot.pyの内容をそのままコピー&ペーストして利用することができます。

一部のパラメータ(認証情報)は環境変数として設定します。以下の内容をAWS Lamdaの環境変数として設定してください。

環境変数名
SLACK_APP_AUTH_TOKEN Slack APIの認証トークンを指定します
SLACK_BOT_USER_ACCESS_TOKEN Slack APIの「OAuth & 権限」のページに表示されるボットユーザの認証トークンを指定します
PROOF_READING_API_KEY リクルートのProofreading APIのAPIキーを指定します

その他

Event APIを利用したSlackボットの作り方を記事にしました。このリポジトリのソースコードを理解する助けにもなるかと思いますので、興味があればご覧ください。

slack-event-api-bot-example's People

Contributors

mido-app avatar mogamin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.