2
0
mirror of https://github.com/thedevs-network/the-guard-bot synced 2025-08-31 06:05:22 +00:00

Merge branch 'develop'

This commit is contained in:
GingerPlusPlus
2017-09-29 15:57:01 +02:00

View File

@@ -18,7 +18,7 @@ const reportHandler = async ctx => {
const admins = await getAdmins();
const adminObjects = admins.map(user => ({
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 s = `📋 ${link(ctx.from)} <b>reported the message to admins:</b> ` +