项目作者: kesar

项目描述 :
🗿Just a simple telegram moderator bot
高级语言: JavaScript
项目地址: git://github.com/kesar/boteos.git
创建时间: 2018-04-01T14:38:58Z
项目社区:https://github.com/kesar/boteos

开源协议:

下载


🗿 botEOS

botEOS is a simple bot in node to block spam in telegram.

📌 Getting Started

  1. $ git clone git@github.com:kesar/boteos.git
  2. $ cd boteos
  3. $ npm install

📌 Configuration

Copy bot.yml.dist into bot.yml and change your token and banner_words.

📌 Generate token

A bot token is required and can be obtained by talking to @botfather.

📌 Moderate channel

After create your bot token and setup your config, just run npm start. Then you will need to invite your bot to the desired channels and add him as Admin.

📌 Log channel into Mongo

mongodb is optional, if you define your mongodb connection string, you will be able to log all the messages into your database. You may need to /setprivacy (with BotFather) of your bot to allow access to channel msgs.