2023-12-05 13:39:29 +00:00
var request = require ( "request" ) ;
var throttledRequest = require ( 'throttled-request' ) ( request ) ;
throttledRequest . configure ( { requests : 8 , milliseconds : 60000 } ) ; //send 1 request per second
cachedRequest = require ( 'cached-request' ) ( throttledRequest ) ;
cachedRequest . setCacheDirectory ( "./cache" ) ;
var emoji = require ( 'node-emoji' )
2025-07-30 09:51:32 +01:00
const shortcutUtils = require ( './shortcutUtils' ) ;
2023-12-05 13:39:29 +00:00
module . exports = {
maintenance : async ( bot , msg , logger ) => {
2025-07-30 09:51:32 +01:00
shortcutUtils . sendShortcutMessage ( bot , msg , logger ,
` Updates ${ emoji . get ( 'one' ) } ${ emoji . get ( 'seven' ) } ` ,
"has everything you need to keep your device performing and provides help if you're having issues (green poster)" ,
"to go directly to post in updates page" ,
'https://t.me/c/1473840950/310' )
2023-12-05 13:39:29 +00:00
} ,
unlinked _code : async ( bot , msg , logger ) => {
2025-07-30 09:51:32 +01:00
shortcutUtils . sendShortcutMessage ( bot , msg , logger ,
` Updates ${ emoji . get ( 'one' ) } ${ emoji . get ( 'four' ) } ` ,
"has our main unlinked code for all of our Bob15TV apps" ,
"to go directly to post in updates page" ,
'https://t.me/c/1473840950/305' )
2023-12-05 13:39:29 +00:00
} ,
vpn : async ( bot , msg , logger ) => {
2025-07-30 09:51:32 +01:00
shortcutUtils . sendShortcutMessage ( bot , msg , logger ,
` Updates ${ emoji . get ( 'seven' ) } ` ,
"has everything you need to know on our Bob15TV VPN apps and also our apps that have built in VPN" ,
"to go directly to post in updates page" ,
'https://t.me/c/1473840950/257' )
2023-12-05 13:39:29 +00:00
} ,
installing _unlinked : async ( bot , msg , logger ) => {
2025-07-30 09:51:32 +01:00
shortcutUtils . sendShortcutMessage ( bot , msg , logger ,
` Updates ${ emoji . get ( 'one' ) } ${ emoji . get ( 'two' ) } ` ,
"shows you a step by step on how to add unlinked onto your devices" ,
"to go directly to post in updates page" ,
'https://t.me/c/1473840950/300' )
2023-12-05 13:39:29 +00:00
} ,
app _videos : async ( bot , msg , logger ) => {
2025-07-30 09:51:32 +01:00
shortcutUtils . sendShortcutMessage ( bot , msg , logger ,
` Updates ${ emoji . get ( 'five' ) } ` ,
"is our app help room where we have step by step help videos for all of our room players." ,
"to go directly there" ,
'https://t.me/+dvfsvjs1uVlmYWFk' )
2023-12-05 13:39:29 +00:00
} ,
webplayer : async ( bot , msg , logger ) => {
2025-07-30 09:51:32 +01:00
shortcutUtils . sendShortcutMessage ( bot , msg , logger ,
` Updates ${ emoji . get ( 'six' ) } ` ,
"has details of our Webplayer so that you can watch our subs on your PC/laptop" ,
"to go directly to post in updates page" ,
'https://t.me/c/1473840950/250' )
2023-12-05 13:39:29 +00:00
} ,
what _player _to _use : async ( bot , msg , logger ) => {
2025-07-30 09:51:32 +01:00
shortcutUtils . sendShortcutMessage ( bot , msg , logger ,
` Updates ${ emoji . get ( 'eight' ) } ` ,
"is our poster showing you at a glance what apps you can have your Bob15TV sub/subs playing on." ,
"to go directly to post in updates page" ,
'https://t.me/c/1473840950/271' )
2023-12-05 13:39:29 +00:00
} ,
plex : async ( bot , msg , logger ) => {
2025-07-30 09:51:32 +01:00
shortcutUtils . sendShortcutMessage ( bot , msg , logger ,
` Updates ${ emoji . get ( 'two' ) } ${ emoji . get ( 'four' ) } ` ,
"shows you how to add Plex to your device and everything else for best results." ,
"to go directly to post in updates page" ,
'https://t.me/c/1473840950/341' )
2023-12-05 13:39:29 +00:00
} ,
ios : async ( bot , msg , logger ) => {
2025-07-30 09:51:32 +01:00
shortcutUtils . sendShortcutMessage ( bot , msg , logger ,
` Updates ${ emoji . get ( 'one' ) } ${ emoji . get ( 'nine' ) } ` ,
"shows you how to add all Bob15TV room subs onto your iPhone, iPad or directly onto your Apple TV." ,
"to go directly to post in updates page" ,
'https://t.me/c/1473840950/315' )
2023-12-05 13:39:29 +00:00
} ,
android : async ( bot , msg , logger ) => {
2025-07-30 09:51:32 +01:00
shortcutUtils . sendShortcutMessage ( bot , msg , logger ,
` Updates ${ emoji . get ( 'two' ) } ${ emoji . get ( 'zero' ) } ` ,
"shows you how to add all Bob15TV room subs onto your android phone or tablet." ,
"to go directly to post in updates page" ,
'https://t.me/c/1473840950/319' )
2023-12-05 13:39:29 +00:00
} ,
vodReq : async ( bot , msg , logger ) => {
2025-07-30 09:51:32 +01:00
shortcutUtils . sendShortcutMessage ( bot , msg , logger ,
` Updates ${ emoji . get ( 'two' ) } ${ emoji . get ( 'three' ) } ` ,
"shows you how to request VOD on your sub." ,
"to go directly to post in updates page" ,
'https://t.me/c/1473840950/333' )
2023-12-05 13:39:29 +00:00
} ,
firesticks : async ( bot , msg , logger ) => {
2025-07-30 09:51:32 +01:00
shortcutUtils . sendShortcutMessage ( bot , msg , logger ,
` Updates ${ emoji . get ( 'two' ) } ${ emoji . get ( 'five' ) } ` ,
"shows you help in maintaining and getting the best performance from your firestick." ,
"to go directly to post in updates page" ,
'https://t.me/c/1473840950/344' )
2023-12-05 13:39:29 +00:00
} ,
sports : async ( bot , msg , logger ) => {
2025-07-30 09:51:32 +01:00
shortcutUtils . sendShortcutMessage ( bot , msg , logger ,
` Updates ${ emoji . get ( 'one' ) } ${ emoji . get ( 'six' ) } ` ,
"has our very own telegram sports listing channels and available websites for you to use to find the channels your favourite sport is streaming on. Please join them." ,
"to go directly to post in updates page." ,
'https://t.me/c/1473840950/308' )
2023-12-05 13:39:29 +00:00
} ,
bob15 : async ( bot , msg , logger ) => {
2025-07-30 09:51:32 +01:00
shortcutUtils . sendShortcutMessage ( bot , msg , logger ,
` Updates ${ emoji . get ( 'three' ) } ${ emoji . get ( 'zero' ) } ` ,
"shows you a step by step on how to add our Bob15 apk onto your devices. This apk includes our huge collection of apps both for our room subs and miscellaneous extra apps." ,
"to go directly to post in updates page." ,
'https://t.me/c/1473840950/356' )
2023-12-05 13:39:29 +00:00
}
}