Rocket1184 / qq-bot-rebown-tg-fwd

Forward msg contains specific words from QQ group to Telegram group
MIT License
3 stars 0 forks source link
qq-bot-rebown

qq-bot-rebown-tg-fwd

Forward text messages between Telegram group and QQ group

QQ support by qq-bot-rebown

Telegram support by telegraf

Usage

  1. clone repo

  2. npm install

  3. create config.js, follow config.example.js

  4. node index.js

  5. scan QR code to login QQ

Bot Commands

  1. /whoami

Query your Telegram uid. Fill config.tg.manager_id with the result.

  1. /whereisthis

Query current chat id. Can be used in tg_chat_id.

TIP: To use this command, you must turn off bot's Group Privacy via @BotFather in Bot Settings.