2chhk-to-telegram-images-bot
This module getting images from selected boards and find in boards threads by keywords and send images to your selected telegram recepient. When thread finded, your bot sends it to you for approve.
Last updated 2 years ago by vladislavmega .
MIT · Original npm · Tarball · package.json
$ cnpm install 2chhk-to-telegram-images-bot 
SYNC missed versions from official npm registry.

This module getting images from selected boards and find in boards threads by keywords and send images to your selected telegram recepient. When thread finded, your bot sends it to you for approve.

usage:

const DvachToTlg = require('2chhk-to-telegram-images-bot'); const dvachToTlg = new DvachToTlg({ botId: 'botid', // Bot token from BotFather boardDomain: 'http://2ch.hk', // board domain db: 'mongodb://127.0.0.1:27017/telegram', // mongo db database boards: { // object, where key is board and value is boards settings b: { keywords: ['засмеялся', 'тредшот'], // keywords for send to approve } }, opId: 129424520, language: 'en', });

telegramZOBot.getAllThreads().then(_.bind(telegramZOBot.actionsWithFindedThreads, telegramZOBot));

Current Tags

  • 1.0.0                                ...           latest (2 years ago)

3 Versions

  • 1.0.0                                ...           2 years ago
  • 0.0.2                                ...           3 years ago
  • 0.0.1                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 1
Last Day 0
Last Week 3
Last Month 20
Dependencies (12)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |