@ChanMbot Part1

DO EVERYTHING WITH

SUDO SU

!!!

Ok. First thing to do is:

git clone https://github.com/mullwar/telebot

Or Just download and unzip archiwe

Then:

cd telebot

npm install

After this we need to create folder for our project.

mkdir ChanM

cd ChanM

then we need to create new file (for example in nano)

nano ChanM.js

then type (or copy :P)

‘use strict’;

const TeleBot = require(‘../’);

const bot = new TeleBot({
token: ‘YOUR:BOT_TOKEN’,
usePlugins: [‘commandButton’]
});
//Start of source

//End of source

bot.start();

That’s it! We create new bot that does nothing!

Contact

Leave a Reply

Your email address will not be published. Required fields are marked *