'use strict'; const { Markup } = require('telegraf'); const { homepage } = require('../../package.json'); const message = `\ Hey there! I'm an administration bot that helps you to keep \ your groups safe from spammers. Send /commands to get the list of available commands. If you want to use me for your groups, \ note that I'm more useful on a network of groups and \ you also need to setup a new bot. So if you only need to manage a single group, @GroupButler_bot \ and @mattatabot might be better choices for you. `; const helpHandler = ({ chat, replyWithHTML }) => { if (chat.type !== 'private') return null; return replyWithHTML( message, Markup.inlineKeyboard( [ Markup.urlButton('🛠 Setup a New Bot', homepage) ]) .extra()); }; module.exports = helpHandler;