# PeaceManager-Lite **Repository Path**: wfjsw/PeaceManager-Lite ## Basic Information - **Project Name**: PeaceManager-Lite - **Description**: Light and distributive version of the PeaceManager - **Primary Language**: Unknown - **License**: GPL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2015-08-16 - **Last Updated**: 2020-12-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # PeaceManager-Lite Bot to manage Groupchats. ## Install Cookbook 1. First, clone `https://github.com/vysheng/tg.git` to your server. 2. Then, clone this project elsewhere. 3. run telegram-cli for one time to initate your credential. 4. register a bot at @Botfather (WARNING: DISABLE THE PRIVACY MODE OR THIS BOT WILL NOT WORK!) 5. Copy `pmlite.db` to somewhere 5. copy config.example.js to config.js, then edit content inside. (socket path is at `/where/you/clone/tg/telegram.sock` if follow this instruction) 6. Open an screen, run `bin/telegram-cli -S telegram.sock -I` 7. `npm install` 8. `node index` You are done! ## Usage Add your registered bot to group you own, then ask `/help` ## Known Issue 1. Group photo must be manually upload to a specific folder 2. Lack of exceptional catching. 3. Lack of Database Migrating way.