This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sqlite3 | |
import aiosqlite | |
from config import DB_PATH, ALERT_CHANNEL_ID | |
from typing import List, Tuple, Dict, Optional, Union | |
import logging | |
from datetime import datetime | |
logger = logging.getLogger(__name__) | |
class Database: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import logging | |
import signal | |
import subprocess | |
import json | |
import random | |
import string | |
import datetime | |
import itertools | |
import requests | |
from telegram import Update, ReplyKeyboardMarkup, KeyboardButton |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
# Bot credentials | |
API_ID = '25193832' | |
API_HASH = 'e154b1ccb0195edec0bc91ae7efebc2f' | |
# MongoDB connection string | |
DB_URI = 'mongodb+srv://copy:[email protected]/?retryWrites=true&w=majority&appName=Cluster0' | |
LOG_CHANNEL = '-1002240372506' | |
TOKEN = "7488527811:AAEPMstK_YmEXlB2nOhaBYElaQimhoiYXQc" | |
OWNER_ID = 7379318591 # Change to actual owner ID | |
ALERT_CHANNEL_ID = "-1002469829347" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Netscape HTTP Cookie File | |
# This is a generated file! Do not edit. | |
# domain include_subdomains path secure expiration_date name value | |
.youtube.com TRUE / TRUE 1774629389 __Secure-3PSIDCC AKEyXzUcgsD5H76zECzvn_Qk7gx9bpZGAhekcEn49YgggC8GH7hlVGdHNTNQ--BJjJyhkuDQPQ | |
.youtube.com TRUE / TRUE 0 YSC dyifC5AYBYs | |
.youtube.com TRUE / TRUE 1777653239 LOGIN_INFO AFmmF2swRgIhAOqfP7KHVr9_4UtKFnBwwRt-0YHYWyGND3YRJCimXCdkAiEA1RQ9g56Teeu9si-ulOCuy087ZBZ0Ad0SKO887smow5o:QUQ3MjNmend0Z3BDWlkxSWQ5ZUNrVTVCZ0JvWU04M1gzVDBBYTJwUk9DaWg5Y0hWc01YLXBjckxESWZlR09qTHRJMS02UTNZQXljTVNvNFZrSHBGeW83cWZQdy1WYXZWRTZPWDhzX3V3Um5QZWdQVG9LYmt6cmhEMXpJWlE1YTM4bThUX28weG54VlhJWDF5Q0p6U3J6dThhclliVjB0cTdR | |
.youtube.com TRUE / TRUE 1777653387 PREF f6=40000000&tz=Asia.Calcutta&suppress_app_upsell=1 | |
.youtube.com TRUE / TRUE 1758645238 __Secure-ROLLOUT_TOKEN COX378_Tr-z1_QEQ6-jKp9iqjAMYk_3GqNiqjAM%3D | |
.youtube.com TRUE / TRUE 1777653234 __Secure-3PAPISID 1JfJ0ESbLjv_-iht/AHD6lGUAirZIJsD2o |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import random | |
import asyncio | |
import logging | |
import requests | |
from telegram import Update, InlineKeyboardButton, InlineKeyboardMarkup, MessageEntity, ChatPermissions, User | |
from telegram.ext import Application, CommandHandler, MessageHandler, CallbackQueryHandler, filters, ContextTypes | |
from database import add_user, get_user_info, add_sudo, remove_sudo, list_sudo_users | |
from telegram.constants import ParseMode | |
from datetime import datetime, timedelta |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import asyncio | |
import os | |
import re | |
import json | |
from typing import Union |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
# Bot credentials | |
API_ID = '25193832' | |
API_HASH = 'e154b1ccb0195edec0bc91ae7efebc2f' | |
# MongoDB connection string | |
DB_URI = 'mongodb+srv://copy:[email protected]/?retryWrites=true&w=majority&appName=Cluster0' | |
LOG_CHANNEL = '-1002240372506' | |
TOKEN = "7691103794:AAG453Q33UQ1cByVMQ-22ZneBtMHIbP3KZ0" | |
OWNER_ID = 7875192045 # Change to actual owner ID | |
ALERT_CHANNEL_ID = "-1002329693689" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
import asyncio | |
import logging | |
import requests | |
from telegram import Update, InlineKeyboardButton, InlineKeyboardMarkup, MessageEntity | |
from telegram.ext import Application, MessageHandler, CommandHandler, filters, CallbackQueryHandler, CallbackContext | |
from telegram.constants import ParseMode | |
from telegram import ChatPermissions, InputMediaPhoto, InputMediaVideo | |
from telegram.ext import ContextTypes | |
from datetime import datetime, timedelta |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// WebView | |
(function () { | |
var eventHandlers = {}; | |
var locationHash = ''; | |
try { | |
locationHash = location.hash.toString(); | |
} catch (e) {} | |
var initParams = urlParseHashParams(locationHash); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let queuedSongs = []; | |
let ConnectedUsers = [] | |
let isPaused = false; | |
function formatTime(seconds) { | |
const hours = Math.floor(seconds / 3600); | |
const minutes = Math.floor((seconds % 3600) / 60); | |
const remainingSeconds = Math.floor(seconds % 60); | |
if (hours > 0) { |