mirror of
https://github.com/abocn/TelegramBot.git
synced 2025-04-29 01:15:58 +00:00
Added a comment in chatinfo
This commit is contained in:
parent
e0380eeebf
commit
4da63501be
@ -20,7 +20,8 @@ module.exports = function(bot, msg) {
|
||||
} else {
|
||||
chatHandleOutput = `Chat handle: none (private group)`;
|
||||
}
|
||||
|
||||
|
||||
// if chatName returns undefined, the chat is not a group or channel
|
||||
if (chatName) {
|
||||
chatNameOutput = `Chat name: ${chatName}\n${chatHandleOutput}\nChat ID: ${chatId}\n\n${isForumOutput}`;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user