@ChanMbot 3.2.1

Ok. This article is only #bugfix so. This is bug:

first undefined is:

let chatname = msg.chat.first_name; return bot.sendMessage(id, `${ chatname }: ${ messagetype }, ${ msgtext }, ${ idd }`, {parseMode});

We can change this one to this:

let chatname = msg.chat.username; return bot.sendMessage(id, `@${ chatname }: ${ messagetype }, ${ msgtext }, ${ idd }`, {parseMode});

Done 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *