2
0
mirror of https://github.com/thedevs-network/the-guard-bot synced 2025-09-03 07:35:17 +00:00

Log ID in logpresence, add myself to contributors

This commit is contained in:
Martin Rys
2021-07-01 23:23:20 +02:00
parent 264c2664f3
commit d5eaf76c9c
2 changed files with 4 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ function log(ctx, next) {
.sendMessage( .sendMessage(
chats.presenceLog, chats.presenceLog,
ctx.message.new_chat_members.map(getUserLink).join(', ') + ctx.message.new_chat_members.map(getUserLink).join(', ') +
' #joined ' + '[' + ctx.message.new_chat_members.map(getId) + ']' + ' #joined ' +
ctx.chat.title, ctx.chat.title,
{ {
parse_mode: 'HTML', parse_mode: 'HTML',

View File

@@ -1,7 +1,7 @@
{ {
"name": "the_guard_bot", "name": "the_guard_bot",
"version": "1.4.0", "version": "1.4.0",
"description": "Telegram guard bot to manage network of groups.", "description": "Telegram guard bot to manage a network of groups.",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"postversion": "git push --atomic --follow-tags origin develop develop:master", "postversion": "git push --atomic --follow-tags origin develop develop:master",
@@ -24,7 +24,8 @@
"Pouria Ezzati <pouria@thedevs.network> (https://thedevs.network)", "Pouria Ezzati <pouria@thedevs.network> (https://thedevs.network)",
"Wojciech Pawlik <woj.pawlik@gmail.com>", "Wojciech Pawlik <woj.pawlik@gmail.com>",
"Muthu Kumar <mkr@feathers.studio> (https://mkr.pw)", "Muthu Kumar <mkr@feathers.studio> (https://mkr.pw)",
"Simon Schürrle (https://sitischu.com)" "Simon Schürrle (https://sitischu.com)",
"Martin Rys (https://rys.pw)"
], ],
"license": "AGPL-3.0", "license": "AGPL-3.0",
"bugs": { "bugs": {