mirror of
https://github.com/thedevs-network/the-guard-bot
synced 2025-08-31 14:15:25 +00:00
Merge branch 'develop'
This commit is contained in:
@@ -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> ` +
|
||||
|
Reference in New Issue
Block a user