'use strict'; const commandReference = `\ Master commands: /admin - Makes the user admin. /unadmin - Demotes the user from admin list. /leave - Makes the bot leave the group cleanly. Admin commands: /warn <reason> - Warns the user. /unwarn - Removes the last warn from the user. /nowarns - Clears warns for the user. /getwarns - Shows a list of warns for the user. /ban <reason> - Bans the user from groups. /unban - Removes the user from ban list. Commands for everyone: /staff - Shows a list of admins. /groups - Show a list of groups which the bot is admin in. /report - Reports the replied-to message to admins. `; const commandReferenceHandler = ({ chat, replyWithHTML }) => { if (chat.type !== 'private') { return null; } return replyWithHTML(commandReference); }; module.exports = commandReferenceHandler;