2
0
mirror of https://github.com/thedevs-network/the-guard-bot synced 2025-08-27 20:37:30 +00:00

16 lines
324 B
JavaScript
Raw Normal View History

2017-10-02 12:09:44 +03:30
'use strict';
// DB
const { managesGroup } = require('../../stores/group');
const linkHandler = async ({ chat, replyWithHTML }) => {
const group = await managesGroup(chat);
return replyWithHTML(
' <b>Group\'s link:</b>\n\n' +
`<a href="${group.link}">${group.title}</a>`
);
};
module.exports = linkHandler;