more saves
This commit is contained in:
		
							parent
							
								
									5970188aa8
								
							
						
					
					
						commit
						ceda2615bf
					
				
							
								
								
									
										48
									
								
								app.js
									
									
									
									
									
								
							
							
						
						
									
										48
									
								
								app.js
									
									
									
									
									
								
							| @ -91,6 +91,17 @@ bot.on('message', (msg) => { | |||||||
|             }) |             }) | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  |     const SurfShark = "vpn (surfshark)"; | ||||||
|  |     if (msg.text.toString().toLowerCase().includes(SurfShark)) { | ||||||
|  |         bot.sendMessage(msg.chat.id, "SurfShark is the VPN that we advise you use on your device to bypass the blocks,\n\nYou can install this on your device from our FileLinked\n\nWe provide a username and password for you to use in the updates groups. DO NOT SHARE THE DETAILS"); | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|  |     const flieLinked = "filelinked"; | ||||||
|  |     if (msg.text.toString().toLowerCase().includes(flieLinked)) { | ||||||
|  |         bot.sendMessage(msg.chat.id, "Hope to see you around again , Bye"); | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| }), | }), | ||||||
|     bot.onText(/^(\/start|Home)$/, (msg) => { |     bot.onText(/^(\/start|Home)$/, (msg) => { | ||||||
| 
 | 
 | ||||||
| @ -105,7 +116,7 @@ bot.on('message', (msg) => { | |||||||
|     }) |     }) | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| bot.onText(/FAQ/, (msg) => { | bot.onText(/^FAQ$/, (msg) => { | ||||||
|     bot.sendMessage(msg.chat.id, "Frequently Asked Questions") |     bot.sendMessage(msg.chat.id, "Frequently Asked Questions") | ||||||
|         .then(() => { |         .then(() => { | ||||||
|             return bot.sendMessage(msg.chat.id, "Please only ask an Admin, if you can't find the answer here..", { |             return bot.sendMessage(msg.chat.id, "Please only ask an Admin, if you can't find the answer here..", { | ||||||
| @ -119,6 +130,27 @@ bot.onText(/FAQ/, (msg) => { | |||||||
|         }) |         }) | ||||||
| }) | }) | ||||||
| 
 | 
 | ||||||
|  | bot.onText(/Applications/, (msg) => { | ||||||
|  |     bot.sendMessage(msg.chat.id, "We have a number of different applications that work with our subs, here is an overview of subs/apps colour coded by the icon in our FileLinked").then(() => { | ||||||
|  |         return bot.sendMessage(msg.chat.id, "There are 2 new XCIPTV apps, Blue and Red.\nEach have 3 different sub DNS (URLs) already embedded in the players.").then(() => { | ||||||
|  |             return bot.sendMessage(msg.chat.id, "Sky Q app (yellow player) this holds 4 of the room subs.").then(() => { | ||||||
|  |                 return bot.sendMessage(msg.chat.id, "All of the room subs play on the green smarters player", { | ||||||
|  |                     "reply_markup": { | ||||||
|  |                         "keyboard": [ | ||||||
|  |                             ["What app should I use?"], | ||||||
|  |                             ["VPN (SurfShark)"], | ||||||
|  |                             ["FileLinked"], | ||||||
|  |                             ["Home"] | ||||||
|  |                         ] | ||||||
|  |                     } | ||||||
|  |                 }) | ||||||
|  |             }) | ||||||
|  |         }) | ||||||
|  |     }) | ||||||
|  | }) | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| 
 | 
 | ||||||
| bot.onText(/^Subscriptions$/, (msg) => { | bot.onText(/^Subscriptions$/, (msg) => { | ||||||
|     bot.sendMessage(msg.chat.id, "Please only ask an Admin, if you can't find the answer here..", { |     bot.sendMessage(msg.chat.id, "Please only ask an Admin, if you can't find the answer here..", { | ||||||
| @ -133,4 +165,18 @@ bot.onText(/^Subscriptions$/, (msg) => { | |||||||
|             ] |             ] | ||||||
|         } |         } | ||||||
|     }) |     }) | ||||||
|  | }) | ||||||
|  | 
 | ||||||
|  | bot.onText(/FileLinked/, (msg) => { | ||||||
|  |     bot.sendMessage(msg.chat.id, "Frequently Asked Questions") | ||||||
|  |         .then(() => { | ||||||
|  |             return bot.sendMessage(msg.chat.id, "Please only ask an Admin, if you can't find the answer here..", { | ||||||
|  |                 "reply_markup": { | ||||||
|  |                     "keyboard": [ | ||||||
|  |                         ["Subscriptions", "IPTV"], | ||||||
|  |                         ["Home"] | ||||||
|  |                     ] | ||||||
|  |                 } | ||||||
|  |             }) | ||||||
|  |         }) | ||||||
| }) | }) | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 karl.hudgell
						karl.hudgell