const channel = process.env.CHANNEL module.exports = { welcomeMessage: (bot, msg, logger) => { const newUserMention = "@" + msg.new_chat_member.first_name + "<\/a>" bot.sendMessage(msg.chat.id, "Hello " + newUserMention + ", Welcome to " + channel + ". \n\nPlease PM me @" + process.env.BOT_USERNAME + " to find out all needed information about our service before asking an admin or posting in here.\n\nIf you do ask questions, and its obvious you have not spoken to me, Sarah will be very upset. This is IPTV, you need to be willing to learn a little bit about how everything works and how to fix and maintain your device in order to get the best from it.!!!", { parse_mode: "HTML" }); logger.info("ID - " + msg.new_chat_member.id + " First Name - " + msg.new_chat_member.first_name + " joined the group"); } };