updates
This commit is contained in:
parent
eb982c8b65
commit
d4420d58bb
@ -3,7 +3,7 @@ const channel = process.env.CHANNEL
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
welcomeMessage: (bot, msg, logger) => {
|
welcomeMessage: (bot, msg, logger) => {
|
||||||
const newUserMention = "<a href=\"tg:\/\/user?id=" + msg.new_chat_member.id + "\">@" + msg.new_chat_member.first_name + "<\/a>"
|
const newUserMention = "<a href=\"tg:\/\/user?id=" + msg.new_chat_member.id + "\">@" + 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, you will be booted from the room. This is IPTV, admins don't have time for hand holding.!!!", { parse_mode: "HTML" });
|
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");
|
logger.info("ID - " + msg.new_chat_member.id + " First Name - " + msg.new_chat_member.first_name + " joined the group");
|
||||||
}
|
}
|
||||||
};
|
};
|
BIN
data/group/Sports.jpg
Normal file
BIN
data/group/Sports.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 78 KiB |
@ -19,7 +19,8 @@
|
|||||||
"Blue XCIPTV",
|
"Blue XCIPTV",
|
||||||
"Yellow Sky Q",
|
"Yellow Sky Q",
|
||||||
"Purple IM",
|
"Purple IM",
|
||||||
"Green SMARTERS"
|
"Green SMARTERS",
|
||||||
|
"Tivimate Orange"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -31,7 +32,8 @@
|
|||||||
"Blue XCIPTV",
|
"Blue XCIPTV",
|
||||||
"Yellow Sky Q",
|
"Yellow Sky Q",
|
||||||
"Purple IM",
|
"Purple IM",
|
||||||
"Green SMARTERS"
|
"Green SMARTERS",
|
||||||
|
"Tivimate Orange"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -43,7 +45,8 @@
|
|||||||
"Blue XCIPTV",
|
"Blue XCIPTV",
|
||||||
"Yellow Sky Q",
|
"Yellow Sky Q",
|
||||||
"Purple IM",
|
"Purple IM",
|
||||||
"Green SMARTERS"
|
"Green SMARTERS",
|
||||||
|
"Tivimate Orange"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -55,18 +58,32 @@
|
|||||||
"Red XCIPTV",
|
"Red XCIPTV",
|
||||||
"Yellow Sky Q",
|
"Yellow Sky Q",
|
||||||
"Purple IM",
|
"Purple IM",
|
||||||
"Green SMARTERS"
|
"Green SMARTERS",
|
||||||
|
"Tivimate Orange"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SUB": "Sports (KDB)",
|
||||||
|
"COST": 0,
|
||||||
|
"STATUS": 1,
|
||||||
|
"IMAGE": "./data/group/Sports.jpg",
|
||||||
|
"APPS": [
|
||||||
|
"Red XCIPTV",
|
||||||
|
"White&Black IM",
|
||||||
|
"Green SMARTERS",
|
||||||
|
"Tivimate Orange"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"SUB": "Bronze",
|
"SUB": "Bronze",
|
||||||
"COST": 0,
|
"COST": 0,
|
||||||
"STATUS": 1,
|
"STATUS": 1,
|
||||||
"IMAGE": "./data/group/Bronze.jpg",
|
"IMAGE": "X",
|
||||||
"APPS": [
|
"APPS": [
|
||||||
"Red XCIPTV",
|
"Red XCIPTV",
|
||||||
"White&Black IM",
|
"White&Black IM",
|
||||||
"Green SMARTERS"
|
"Green SMARTERS",
|
||||||
|
"Tivimate Orange"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user