mirror of
https://github.com/thedevs-network/the-guard-bot
synced 2025-09-01 14:45:27 +00:00
Merge branch 'develop'
This commit is contained in:
@@ -18,7 +18,7 @@ const reportHandler = async ctx => {
|
|||||||
const admins = await getAdmins();
|
const admins = await getAdmins();
|
||||||
const adminObjects = admins.map(user => ({
|
const adminObjects = admins.map(user => ({
|
||||||
first_name: '⭐️', // small hack to be able to use link function
|
first_name: '⭐️', // small hack to be able to use link function
|
||||||
id: user.user_id,
|
id: user.id,
|
||||||
}));
|
}));
|
||||||
const stars = adminObjects.map(link).join('');
|
const stars = adminObjects.map(link).join('');
|
||||||
const s = `📋 ${link(ctx.from)} <b>reported the message to admins:</b> ` +
|
const s = `📋 ${link(ctx.from)} <b>reported the message to admins:</b> ` +
|
||||||
|
Reference in New Issue
Block a user