Skip to content

JekaVip10/bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Установка проекта и библиотека BOT

git clone https://github.com/butysMikhael7/bot.git

Экспорт модуля:

Node JS

const { BOT } = require('./setting_bot/setting_comand.js');
let bot = new BOT("Bоt");

Методы:

check()

bot.check("string"); // STRING 

status() Статус бота:

console.log(bot.status()); 

creatMain() Создает главное меню клавиатуры:

bot.creatMain("One", "Two", "Three", "Four");

creatMessageTwoButton() Создает клавиатуру к сообщению (2 кнопки)

bot.creatMessageTwoButton("Text", "Text");

creatMessageButton() Создает клавиатуру к сообщению (1 кнопка)

color: Keyboard.PRIMARY_COLOR, Keyboard.NEGATIVE.COLOR, Keyboard.POSITIVE_COLOR

bot.createMessageButton("Text", color);

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published