Giter Site home page Giter Site logo

kptchan's Introduction

Kptchan

KPTちゃんはKPTを管理するIRC botです。

任意の文字列をKeep / Problem / Tryのカテゴリー毎に記録、リスト表示、削除をする機能を持っています。

Installation

  1. config/config.yamlの必要項目を埋める。

  2. 起動

    bin/kptchan
    

Usage

KPTを記録する

KPTちゃんは日本語がほんの少し分かります。 例えば、"遅刻が多い"というProblemを記録させたいなら、

hdemon: kpt-chan: "遅刻が多い"をProblemに追加して。

となどと話しかけましょう。 あるいはもっとくだけた感じで、

hdemon: KPT-chan: Problemに"遅刻が多い"を足してくれる?

のように話しかけてもOKです。

細かい話をすると、記録するためには、以下の条件を満たしたメッセージをKPTちゃんに送る必要があります。

  1. 記録したい文言を""で囲むこと。
  2. カテゴリー名(Keep/Problem/Try等)の文字列をメッセージに入れること。
  3. 「追加する」などの記録を命令する文字列をメッセージに入れること。

どんな言葉が使えるかは、ここここを見てください。 このルールは、以下のリスト閲覧と削除においても同様です。

KPTのリストを見る

今までに追加したKPTのリストを見たい場合は、

hdemon: kpt-chan: Tryのリストを見せて
kpt-chan: try(1)  遅刻が多い (13-07-19 16:13 hdemon)

というように、「見せてほしい」ことを伝えて下さい。 この場合も記録と同じく、ある程度の表現のゆらぎを許容します。 なお、"try(1)"の括弧内の数字はKPT文言のidです。これは次に説明する削除の際に使います。

KPTを削除する

hdemon: KPT-chan: Tryのid:1を削除して。
kpt-chan: try id:1を消しました。

記録やリスト表示のときと同じように、「消して欲しい」ことをKPTちゃんに伝えて下さい。この場合、id:{KPTのid}の文言を文中に入れてください。

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

kptchan's People

Contributors

hdemon avatar

Stargazers

Satoshi Ohmori avatar Keisuke KITA avatar june29 avatar tatsuo sakurai avatar Keiji Matsuzaki avatar Kondo Uchio avatar

Watchers

 avatar James Cloos avatar  avatar

Forkers

udzura

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.