A Telegram bot for recording where your money go with other people.
Click https://telegram.me/bokikun_bot and chat with Bokikun.
/list
- 列出所有債權關係/add
name amount - 借錢給別人、別人欠你錢/minus
name amount - 跟別人借錢、你欠別人錢/clear
name - 清除跟這個人的債權關係/start
- 重新設定並清除所有紀錄
- Node.js (v8 or up)
- npm (v5 or up)
git clone https://github.com/Elantris/bokikun.git
cd bokikun
npm i
- Copy
./config.js.example
to./config.js
. - Create Telegram Bot and get the
BOT_TOKEN
from @BotFather. - Create Firebase project and get the
PROJECT_ID
and theSERVICE_ACCOUNT
in json format. More details.
PM2 or other process managers are recommended.
pm2 start process.json
This project is licensed under the MIT License - see the LICENSE file for details.