Skip to content
/ boteos Public

๐Ÿ—ฟJust a simple telegram moderator bot

Notifications You must be signed in to change notification settings

kesar/boteos

Repository files navigation

๐Ÿ—ฟ botEOS

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

๐Ÿ“Œ Getting Started

$ git clone [email protected]:kesar/boteos.git
$ cd boteos
$ 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.

Releases

No releases published

Packages

No packages published