Added a comment in chatinfo
This commit is contained in:
parent
e0380eeebf
commit
4da63501be
1 changed files with 2 additions and 1 deletions
|
@ -21,6 +21,7 @@ module.exports = function(bot, msg) {
|
|||
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…
Add table
Add a link
Reference in a new issue