BobbyIPTV_Suzie/data/bot/lib/shorcuts.js
Karl a662c68ecf
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 19s
initial rework and cleanup
2025-07-30 09:51:32 +01:00

109 lines
5.5 KiB
JavaScript

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')
const shortcutUtils = require('./shortcutUtils');
module.exports = {
maintenance: async (bot, msg, logger) => {
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')
},
unlinked_code: async (bot, msg, logger) => {
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')
},
vpn: async (bot, msg, logger) => {
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')
},
installing_unlinked: async (bot, msg, logger) => {
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')
},
app_videos: async (bot, msg, logger) => {
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')
},
webplayer: async (bot, msg, logger) => {
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')
},
what_player_to_use: async (bot, msg, logger) => {
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')
},
plex: async (bot, msg, logger) => {
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')
},
ios: async (bot, msg, logger) => {
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')
},
android: async (bot, msg, logger) => {
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')
},
vodReq: async (bot, msg, logger) => {
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')
},
firesticks: async (bot, msg, logger) => {
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')
},
sports: async (bot, msg, logger) => {
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')
},
bob15: async (bot, msg, logger) => {
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')
}
}