{}
-Nᴀᴍᴇ - {}"""
-
- RESTART_TXT = """
-Bᴏᴛ Rᴇsᴛᴀʀᴛᴇᴅ !
-
-📅 Dᴀᴛᴇ : {}
-⏰ Tɪᴍᴇ : {}
-🌐 Tɪᴍᴇᴢᴏɴᴇ : Asia/Kolkata
-🛠️ Bᴜɪʟᴅ Sᴛᴀᴛᴜs: v2.7.1 [ Sᴛᴀʙʟᴇ ]"""
diff --git a/TechVJ/TechVJ b/TechVJ/TechVJ
deleted file mode 100644
index 8b137891..00000000
--- a/TechVJ/TechVJ
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/TechVJ/__init__.py b/TechVJ/__init__.py
deleted file mode 100644
index fc0dcd1c..00000000
--- a/TechVJ/__init__.py
+++ /dev/null
@@ -1,4 +0,0 @@
-import time
-
-StartTime = time.time()
-__version__ = 1.1
diff --git a/TechVJ/bot/TechVJ b/TechVJ/bot/TechVJ
deleted file mode 100644
index 8b137891..00000000
--- a/TechVJ/bot/TechVJ
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/TechVJ/bot/__init__.py b/TechVJ/bot/__init__.py
deleted file mode 100644
index 1e0e449b..00000000
--- a/TechVJ/bot/__init__.py
+++ /dev/null
@@ -1,86 +0,0 @@
-# Don't Remove Credit @VJ_Botz
-# Subscribe YouTube Channel For Amazing Bot @Tech_VJ
-# Ask Doubt on telegram @KingVJ01
-
-import logging
-import logging.config
-logging.config.fileConfig('logging.conf')
-logging.getLogger().setLevel(logging.INFO)
-logging.getLogger("pyrogram").setLevel(logging.ERROR)
-logging.getLogger("imdbpy").setLevel(logging.ERROR)
-logging.basicConfig(
- level=logging.INFO,
- format="%(asctime)s - %(name)s - %(levelname)s - %(message)s"
-)
-logging.getLogger("aiohttp").setLevel(logging.ERROR)
-logging.getLogger("aiohttp.web").setLevel(logging.ERROR)
-
-from pyrogram import Client
-from info import *
-from utils import temp
-from typing import Union, Optional, AsyncGenerator
-from pyrogram import types
-from aiohttp import web
-from pyrogram import Client
-from info import *
-
-
-class TechVJXBot(Client):
-
- def __init__(self):
- super().__init__(
- name=SESSION,
- api_id=API_ID,
- api_hash=API_HASH,
- bot_token=BOT_TOKEN,
- workers=50,
- plugins={"root": "plugins"},
- sleep_threshold=5,
- )
-
- async def set_self(self):
- temp.BOT = self
-
- async def iter_messages(
- self,
- chat_id: Union[int, str],
- limit: int,
- offset: int = 0,
- ) -> Optional[AsyncGenerator["types.Message", None]]:
- """Iterate through a chat sequentially.
- This convenience method does the same as repeatedly calling :meth:`~pyrogram.Client.get_messages` in a loop, thus saving
- you from the hassle of setting up boilerplate code. It is useful for getting the whole chat messages with a
- single call.
- Parameters:
- chat_id (``int`` | ``str``):
- Unique identifier (int) or username (str) of the target chat.
- For your personal cloud (Saved Messages) you can simply use "me" or "self".
- For a contact that exists in your Telegram address book you can use his phone number (str).
-
- limit (``int``):
- Identifier of the last message to be returned.
-
- offset (``int``, *optional*):
- Identifier of the first message to be returned.
- Defaults to 0.
- Returns:
- ``Generator``: A generator yielding :obj:`~pyrogram.types.Message` objects.
- Example:
- .. code-block:: python
- for message in app.iter_messages("pyrogram", 1, 15000):
- print(message.text)
- """
- current = offset
- while True:
- new_diff = min(200, limit - current)
- if new_diff <= 0:
- return
- messages = await self.get_messages(chat_id, list(range(current, current+new_diff+1)))
- for message in messages:
- yield message
- current += 1
-
-TechVJBot = TechVJXBot()
-
-multi_clients = {}
-work_loads = {}
diff --git a/TechVJ/bot/clients.py b/TechVJ/bot/clients.py
deleted file mode 100644
index 43cbfbaa..00000000
--- a/TechVJ/bot/clients.py
+++ /dev/null
@@ -1,47 +0,0 @@
-# Don't Remove Credit @VJ_Botz
-# Subscribe YouTube Channel For Amazing Bot @Tech_VJ
-# Ask Doubt on telegram @KingVJ01
-
-import asyncio
-import logging
-from info import *
-from pyrogram import Client
-from TechVJ.util.config_parser import TokenParser
-from TechVJ.bot import multi_clients, work_loads, TechVJBot
-
-
-async def initialize_clients():
- multi_clients[0] = TechVJBot
- work_loads[0] = 0
- all_tokens = TokenParser().parse_from_env()
- if not all_tokens:
- print("No additional clients found, using default client")
- return
-
- async def start_client(client_id, token):
- try:
- print(f"Starting - Client {client_id}")
- if client_id == len(all_tokens):
- await asyncio.sleep(2)
- print("This will take some time, please wait...")
- client = await Client(
- name=str(client_id),
- api_id=API_ID,
- api_hash=API_HASH,
- bot_token=token,
- sleep_threshold=SLEEP_THRESHOLD,
- no_updates=True,
- in_memory=True
- ).start()
- work_loads[client_id] = 0
- return client_id, client
- except Exception:
- logging.error(f"Failed starting Client - {client_id} Error:", exc_info=True)
-
- clients = await asyncio.gather(*[start_client(i, token) for i, token in all_tokens.items()])
- multi_clients.update(dict(clients))
- if len(multi_clients) != 1:
- MULTI_CLIENT = True
- print("Multi-Client Mode Enabled")
- else:
- print("No additional clients were initialized, using default client")
diff --git a/TechVJ/server/TechVJ b/TechVJ/server/TechVJ
deleted file mode 100644
index 8b137891..00000000
--- a/TechVJ/server/TechVJ
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/TechVJ/server/exceptions.py b/TechVJ/server/exceptions.py
deleted file mode 100644
index b60f495a..00000000
--- a/TechVJ/server/exceptions.py
+++ /dev/null
@@ -1,5 +0,0 @@
-class InvalidHash(Exception):
- message = "Invalid hash"
-
-class FIleNotFound(Exception):
- message = "File not found"
diff --git a/TechVJ/template/TechVJ b/TechVJ/template/TechVJ
deleted file mode 100644
index 8b137891..00000000
--- a/TechVJ/template/TechVJ
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/TechVJ/template/dl.html b/TechVJ/template/dl.html
deleted file mode 100644
index acd0e29b..00000000
--- a/TechVJ/template/dl.html
+++ /dev/null
@@ -1,286 +0,0 @@
-
-
-
-
-
-
-
-
- - - %s - -
-- - {{file_name}} - -
-Play with...
-