updates group
This commit is contained in:
parent
b250d63ccf
commit
f41ab1c745
16
app.js
16
app.js
@ -76,10 +76,16 @@ bot.on('message', (msg) => {
|
||||
const howToSignUp = "- how to get a subscription?";
|
||||
if (msg.text && msg.text.toString().toLowerCase() === howToSignUp) {
|
||||
logger.info("ID - " + msg.from.id + " First Name - " + msg.from.first_name + " Asked how to get a subscription");
|
||||
bot.sendMessage(msg.chat.id, "To purchase a subscription you need to send a DM to any of the Admins in the group @Scotslad, @manclad72 or @bob_15.")
|
||||
bot.sendMessage(msg.chat.id, "To purchase a subscription you need to send a DM Sarah (@bob_15).")
|
||||
.then(() => {
|
||||
return bot.sendMessage(msg.chat.id, "PLEASE ONLY DM ONE ADMIN AND WAIT FOR THEM TO GET BACK TO YOU.").then(() => {
|
||||
return bot.sendMessage(msg.chat.id, "When you DM to purchase the subscription please let the Admin know:\n\n1. what device the sub is going onto\n2. If there's a specific username you would like and\n3. If you don't want adult channels included. If you don't want adult channels and don't mention it when purchasing Your sub WILL be issued WITH adult channels. These can't be removed")
|
||||
return bot.sendMessage(msg.chat.id, "PLEASE BE PATIENT AND WAIT FOR HER TO GET BACK TO YOU.").then(() => {
|
||||
return bot.sendMessage(msg.chat.id, `
|
||||
When you DM Sarah to purchase the subscription please let her know:
|
||||
|
||||
1. What device the sub is going onto
|
||||
2. If there's a specific username you would like and
|
||||
3. If you don't want adult channels included. If you don't want adult channels and don't mention it when purchasing Your sub WILL be issued WITH adult channels. These can't be removed.
|
||||
`)
|
||||
})
|
||||
})
|
||||
}
|
||||
@ -104,8 +110,8 @@ bot.on('message', (msg) => {
|
||||
logger.info("ID - " + msg.from.id + " First Name - " + msg.from.first_name + " Got the updates group info");
|
||||
bot.sendMessage(msg.chat.id, "The updates groups can be found here")
|
||||
.then(() => {
|
||||
return bot.sendMessage(msg.chat.id, "https://t.me/joinchat/AAAAAFDxZ2rzgAW5acahxA").then(() => {
|
||||
return bot.sendMessage(msg.chat.id, "Please join for BBLBTV updates")
|
||||
return bot.sendMessage(msg.chat.id, "https://t.me/joinchat/AAAAAFfZBzZqyG3a7kU_ZA").then(() => {
|
||||
return bot.sendMessage(msg.chat.id, "Please join for " + channel + " updates")
|
||||
})
|
||||
})
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user