id
int64
0
190k
prompt
stringlengths
21
13.4M
docstring
stringlengths
1
12k
5,608
from . import * START = """ 🪅 **Help Menu** 🪅 ✘ /start : Check I am Alive or not. ✘ /help : Get This Message. ✘ /repo : Get Bot's Repo.. 🧑‍💻 Join **@TeamUltroid** """ def get_buttons(): async def helpish(event): if not event.is_private: url = f"https://t.me/{asst.me.username}?start=start" re...
null
5,609
from . import * def get_buttons(): BTTS = [] keys = STRINGS.copy() while keys: BT = [] for i in list(keys)[:2]: text = f"{MNGE} {i} {MNGE}" BT.append(Button.inline(text, f"hlp_{i}")) del keys[i] BTTS.append(BT) url = f"https://t.me/{asst.me.use...
null
5,610
from . import * START = """ 🪅 **Help Menu** 🪅 ✘ /start : Check I am Alive or not. ✘ /help : Get This Message. ✘ /repo : Get Bot's Repo.. 🧑‍💻 Join **@TeamUltroid** """ def get_buttons(): BTTS = [] keys = STRINGS.copy() while keys: BT = [] for i in list(keys)[:2]: text = f"{...
null
5,611
from . import * STRINGS = {"Admintools": ADMINTOOLS, "locks": LOCKS, "Utils": UTILITIES, "Misc": MISC} async def do_something(event): match = event.pattern_match.group(1).strip().decode("utf-8") await event.edit(STRINGS[match], buttons=Button.inline("<< Back", "mnghome"))
null
5,612
import re from . import * STRINGS = { 1: """🎇 **Thanks for Deploying Ultroid Userbot!** • Here, are the Some Basic stuff from, where you can Know, about its Usage.""", 2: """🎉** About Ultroid** 🧿 Ultroid is Pluggable and powerful Telethon Userbot, made in Python from Scratch. It is Aimed to Increase Security...
null
5,613
import re from . import * STRINGS = { 1: """🎇 **Thanks for Deploying Ultroid Userbot!** • Here, are the Some Basic stuff from, where you can Know, about its Usage.""", 2: """🎉** About Ultroid** 🧿 Ultroid is Pluggable and powerful Telethon Userbot, made in Python from Scratch. It is Aimed to Increase Security...
null
5,614
import ast import asyncio import re import sys import time from asyncio.exceptions import TimeoutError as AsyncTimeOut from os import execl, remove from random import choice from bs4 import BeautifulSoup as bs from telegraph import upload_file as upl from telethon import Button, events from telethon.tl.types import Mes...
null
5,615
import ast import asyncio import re import sys import time from asyncio.exceptions import TimeoutError as AsyncTimeOut from os import execl, remove from random import choice from bs4 import BeautifulSoup as bs from telegraph import upload_file as upl from telethon import Button, events from telethon.tl.types import Mes...
null
5,616
import ast import asyncio import re import sys import time from asyncio.exceptions import TimeoutError as AsyncTimeOut from os import execl, remove from random import choice from bs4 import BeautifulSoup as bs from telegraph import upload_file as upl from telethon import Button, events from telethon.tl.types import Mes...
null
5,617
import ast import asyncio import re import sys import time from asyncio.exceptions import TimeoutError as AsyncTimeOut from os import execl, remove from random import choice from bs4 import BeautifulSoup as bs from telegraph import upload_file as upl from telethon import Button, events from telethon.tl.types import Mes...
null
5,618
import ast import asyncio import re import sys import time from asyncio.exceptions import TimeoutError as AsyncTimeOut from os import execl, remove from random import choice from bs4 import BeautifulSoup as bs from telegraph import upload_file as upl from telethon import Button, events from telethon.tl.types import Mes...
null
5,619
import ast import asyncio import re import sys import time from asyncio.exceptions import TimeoutError as AsyncTimeOut from os import execl, remove from random import choice from bs4 import BeautifulSoup as bs from telegraph import upload_file as upl from telethon import Button, events from telethon.tl.types import Mes...
null
5,620
import ast import asyncio import re import sys import time from asyncio.exceptions import TimeoutError as AsyncTimeOut from os import execl, remove from random import choice from bs4 import BeautifulSoup as bs from telegraph import upload_file as upl from telethon import Button, events from telethon.tl.types import Mes...
null
5,621
import ast import asyncio import re import sys import time from asyncio.exceptions import TimeoutError as AsyncTimeOut from os import execl, remove from random import choice from bs4 import BeautifulSoup as bs from telegraph import upload_file as upl from telethon import Button, events from telethon.tl.types import Mes...
null
5,622
import ast import asyncio import re import sys import time from asyncio.exceptions import TimeoutError as AsyncTimeOut from os import execl, remove from random import choice from bs4 import BeautifulSoup as bs from telegraph import upload_file as upl from telethon import Button, events from telethon.tl.types import Mes...
null
5,623
import ast import asyncio import re import sys import time from asyncio.exceptions import TimeoutError as AsyncTimeOut from os import execl, remove from random import choice from bs4 import BeautifulSoup as bs from telegraph import upload_file as upl from telethon import Button, events from telethon.tl.types import Mes...
null
5,624
import ast import asyncio import re import sys import time from asyncio.exceptions import TimeoutError as AsyncTimeOut from os import execl, remove from random import choice from bs4 import BeautifulSoup as bs from telegraph import upload_file as upl from telethon import Button, events from telethon.tl.types import Mes...
null
5,625
import ast import asyncio import re import sys import time from asyncio.exceptions import TimeoutError as AsyncTimeOut from os import execl, remove from random import choice from bs4 import BeautifulSoup as bs from telegraph import upload_file as upl from telethon import Button, events from telethon.tl.types import Mes...
null
5,626
import ast import asyncio import re import sys import time from asyncio.exceptions import TimeoutError as AsyncTimeOut from os import execl, remove from random import choice from bs4 import BeautifulSoup as bs from telegraph import upload_file as upl from telethon import Button, events from telethon.tl.types import Mes...
null
5,627
import ast import asyncio import re import sys import time from asyncio.exceptions import TimeoutError as AsyncTimeOut from os import execl, remove from random import choice from bs4 import BeautifulSoup as bs from telegraph import upload_file as upl from telethon import Button, events from telethon.tl.types import Mes...
null
5,628
import ast import asyncio import re import sys import time from asyncio.exceptions import TimeoutError as AsyncTimeOut from os import execl, remove from random import choice from bs4 import BeautifulSoup as bs from telegraph import upload_file as upl from telethon import Button, events from telethon.tl.types import Mes...
null
5,629
import ast import asyncio import re import sys import time from asyncio.exceptions import TimeoutError as AsyncTimeOut from os import execl, remove from random import choice from bs4 import BeautifulSoup as bs from telegraph import upload_file as upl from telethon import Button, events from telethon.tl.types import Mes...
null
5,630
import ast import asyncio import re import sys import time from asyncio.exceptions import TimeoutError as AsyncTimeOut from os import execl, remove from random import choice from bs4 import BeautifulSoup as bs from telegraph import upload_file as upl from telethon import Button, events from telethon.tl.types import Mes...
null
5,631
import ast import asyncio import re import sys import time from asyncio.exceptions import TimeoutError as AsyncTimeOut from os import execl, remove from random import choice from bs4 import BeautifulSoup as bs from telegraph import upload_file as upl from telethon import Button, events from telethon.tl.types import Mes...
null
5,632
import ast import asyncio import re import sys import time from asyncio.exceptions import TimeoutError as AsyncTimeOut from os import execl, remove from random import choice from bs4 import BeautifulSoup as bs from telegraph import upload_file as upl from telethon import Button, events from telethon.tl.types import Mes...
null
5,633
import ast import asyncio import re import sys import time from asyncio.exceptions import TimeoutError as AsyncTimeOut from os import execl, remove from random import choice from bs4 import BeautifulSoup as bs from telegraph import upload_file as upl from telethon import Button, events from telethon.tl.types import Mes...
null
5,634
import ast import asyncio import re import sys import time from asyncio.exceptions import TimeoutError as AsyncTimeOut from os import execl, remove from random import choice from bs4 import BeautifulSoup as bs from telegraph import upload_file as upl from telethon import Button, events from telethon.tl.types import Mes...
null
5,635
import ast import asyncio import re import sys import time from asyncio.exceptions import TimeoutError as AsyncTimeOut from os import execl, remove from random import choice from bs4 import BeautifulSoup as bs from telegraph import upload_file as upl from telethon import Button, events from telethon.tl.types import Mes...
null
5,636
import ast import asyncio import re import sys import time from asyncio.exceptions import TimeoutError as AsyncTimeOut from os import execl, remove from random import choice from bs4 import BeautifulSoup as bs from telegraph import upload_file as upl from telethon import Button, events from telethon.tl.types import Mes...
null
5,637
import ast import asyncio import re import sys import time from asyncio.exceptions import TimeoutError as AsyncTimeOut from os import execl, remove from random import choice from bs4 import BeautifulSoup as bs from telegraph import upload_file as upl from telethon import Button, events from telethon.tl.types import Mes...
null
5,638
import ast import asyncio import re import sys import time from asyncio.exceptions import TimeoutError as AsyncTimeOut from os import execl, remove from random import choice from bs4 import BeautifulSoup as bs from telegraph import upload_file as upl from telethon import Button, events from telethon.tl.types import Mes...
null
5,639
import ast import asyncio import re import sys import time from asyncio.exceptions import TimeoutError as AsyncTimeOut from os import execl, remove from random import choice from bs4 import BeautifulSoup as bs from telegraph import upload_file as upl from telethon import Button, events from telethon.tl.types import Mes...
null
5,640
import ast import asyncio import re import sys import time from asyncio.exceptions import TimeoutError as AsyncTimeOut from os import execl, remove from random import choice from bs4 import BeautifulSoup as bs from telegraph import upload_file as upl from telethon import Button, events from telethon.tl.types import Mes...
null
5,641
import ast import asyncio import re import sys import time from asyncio.exceptions import TimeoutError as AsyncTimeOut from os import execl, remove from random import choice from bs4 import BeautifulSoup as bs from telegraph import upload_file as upl from telethon import Button, events from telethon.tl.types import Mes...
null
5,642
import ast import asyncio import re import sys import time from asyncio.exceptions import TimeoutError as AsyncTimeOut from os import execl, remove from random import choice from bs4 import BeautifulSoup as bs from telegraph import upload_file as upl from telethon import Button, events from telethon.tl.types import Mes...
null
5,643
import ast import asyncio import re import sys import time from asyncio.exceptions import TimeoutError as AsyncTimeOut from os import execl, remove from random import choice from bs4 import BeautifulSoup as bs from telegraph import upload_file as upl from telethon import Button, events from telethon.tl.types import Mes...
null
5,644
import ast import asyncio import re import sys import time from asyncio.exceptions import TimeoutError as AsyncTimeOut from os import execl, remove from random import choice from bs4 import BeautifulSoup as bs from telegraph import upload_file as upl from telethon import Button, events from telethon.tl.types import Mes...
null
5,645
import ast import asyncio import re import sys import time from asyncio.exceptions import TimeoutError as AsyncTimeOut from os import execl, remove from random import choice from bs4 import BeautifulSoup as bs from telegraph import upload_file as upl from telethon import Button, events from telethon.tl.types import Mes...
null
5,646
import ast import asyncio import re import sys import time from asyncio.exceptions import TimeoutError as AsyncTimeOut from os import execl, remove from random import choice from bs4 import BeautifulSoup as bs from telegraph import upload_file as upl from telethon import Button, events from telethon.tl.types import Mes...
null
5,647
import ast import asyncio import re import sys import time from asyncio.exceptions import TimeoutError as AsyncTimeOut from os import execl, remove from random import choice from bs4 import BeautifulSoup as bs from telegraph import upload_file as upl from telethon import Button, events from telethon.tl.types import Mes...
null
5,648
import ast import asyncio import re import sys import time from asyncio.exceptions import TimeoutError as AsyncTimeOut from os import execl, remove from random import choice from bs4 import BeautifulSoup as bs from telegraph import upload_file as upl from telethon import Button, events from telethon.tl.types import Mes...
null
5,649
import ast import asyncio import re import sys import time from asyncio.exceptions import TimeoutError as AsyncTimeOut from os import execl, remove from random import choice from bs4 import BeautifulSoup as bs from telegraph import upload_file as upl from telethon import Button, events from telethon.tl.types import Mes...
null
5,650
import base64 import inspect from datetime import datetime from html import unescape from random import choice from re import compile as re_compile from bs4 import BeautifulSoup as bs from telethon import Button from telethon.tl.alltlobjects import LAYER, tlobjects from telethon.tl.types import DocumentAttributeAudio a...
null
5,651
import base64 import inspect from datetime import datetime from html import unescape from random import choice from re import compile as re_compile from bs4 import BeautifulSoup as bs from telethon import Button from telethon.tl.alltlobjects import LAYER, tlobjects from telethon.tl.types import DocumentAttributeAudio a...
null
5,652
import base64 import inspect from datetime import datetime from html import unescape from random import choice from re import compile as re_compile from bs4 import BeautifulSoup as bs from telethon import Button from telethon.tl.alltlobjects import LAYER, tlobjects from telethon.tl.types import DocumentAttributeAudio a...
null
5,653
import base64 import inspect from datetime import datetime from html import unescape from random import choice from re import compile as re_compile from bs4 import BeautifulSoup as bs from telethon import Button from telethon.tl.alltlobjects import LAYER, tlobjects from telethon.tl.types import DocumentAttributeAudio a...
null
5,654
import base64 import inspect from datetime import datetime from html import unescape from random import choice from re import compile as re_compile from bs4 import BeautifulSoup as bs from telethon import Button from telethon.tl.alltlobjects import LAYER, tlobjects from telethon.tl.types import DocumentAttributeAudio a...
null
5,655
import base64 import inspect from datetime import datetime from html import unescape from random import choice from re import compile as re_compile from bs4 import BeautifulSoup as bs from telethon import Button from telethon.tl.alltlobjects import LAYER, tlobjects from telethon.tl.types import DocumentAttributeAudio a...
null
5,656
import base64 import inspect from datetime import datetime from html import unescape from random import choice from re import compile as re_compile from bs4 import BeautifulSoup as bs from telethon import Button from telethon.tl.alltlobjects import LAYER, tlobjects from telethon.tl.types import DocumentAttributeAudio a...
null
5,657
import base64 import inspect from datetime import datetime from html import unescape from random import choice from re import compile as re_compile from bs4 import BeautifulSoup as bs from telethon import Button from telethon.tl.alltlobjects import LAYER, tlobjects from telethon.tl.types import DocumentAttributeAudio a...
null
5,658
import base64 import inspect from datetime import datetime from html import unescape from random import choice from re import compile as re_compile from bs4 import BeautifulSoup as bs from telethon import Button from telethon.tl.alltlobjects import LAYER, tlobjects from telethon.tl.types import DocumentAttributeAudio a...
null
5,659
import base64 import inspect from datetime import datetime from html import unescape from random import choice from re import compile as re_compile from bs4 import BeautifulSoup as bs from telethon import Button from telethon.tl.alltlobjects import LAYER, tlobjects from telethon.tl.types import DocumentAttributeAudio a...
null
5,660
import base64 import inspect from datetime import datetime from html import unescape from random import choice from re import compile as re_compile from bs4 import BeautifulSoup as bs from telethon import Button from telethon.tl.alltlobjects import LAYER, tlobjects from telethon.tl.types import DocumentAttributeAudio a...
null
5,661
import base64 import inspect from datetime import datetime from html import unescape from random import choice from re import compile as re_compile from bs4 import BeautifulSoup as bs from telethon import Button from telethon.tl.alltlobjects import LAYER, tlobjects from telethon.tl.types import DocumentAttributeAudio a...
null
5,662
import os import re from telethon import Button from telethon.errors.rpcerrorlist import FilePartLengthInvalidError, MediaEmptyError from telethon.tl.types import DocumentAttributeAudio, DocumentAttributeVideo from telethon.tl.types import InputWebDocument as wb from pyUltroid.fns.helper import ( bash, fast_dow...
null
5,663
import os import re from telethon import Button from telethon.errors.rpcerrorlist import FilePartLengthInvalidError, MediaEmptyError from telethon.tl.types import DocumentAttributeAudio, DocumentAttributeVideo from telethon.tl.types import InputWebDocument as wb from pyUltroid.fns.helper import ( bash, fast_dow...
null
5,664
import os import re from telethon import Button from telethon.errors.rpcerrorlist import FilePartLengthInvalidError, MediaEmptyError from telethon.tl.types import DocumentAttributeAudio, DocumentAttributeVideo from telethon.tl.types import InputWebDocument as wb from pyUltroid.fns.helper import ( bash, fast_dow...
null
5,665
import os import re from telethon import Button from telethon.errors.rpcerrorlist import FilePartLengthInvalidError, MediaEmptyError from telethon.tl.types import DocumentAttributeAudio, DocumentAttributeVideo from telethon.tl.types import InputWebDocument as wb from pyUltroid.fns.helper import ( bash, fast_dow...
null
5,666
import os from time import sleep ULTROID = r""" _ _ _ _ _ _ | | | | | | (_) | | | | | | | |_ _ __ ___ _ __| | | | | | | __| '__/ _ \| |/ _ | | |__| | | |_| | | (_) | | (_| | \____/|_|\__|_| \___/|_|\__,_| """ def spinner(x): def clear_screen(): def get_api_id_and_hash(): d...
null
5,667
import os from time import sleep ULTROID = r""" _ _ _ _ _ _ | | | | | | (_) | | | | | | | |_ _ __ ___ _ __| | | | | | | __| '__/ _ \| |/ _ | | |__| | | |_| | | (_) | | (_| | \____/|_|\__|_| \___/|_|\__,_| """ def spinner(x): if x == "tele": print("Checking if Te...
null
5,668
import os a = r""" _ _ _ _ _ _ | | | | | | (_) | | | | | | | |_ _ __ ___ _ __| | | | | | | __| '__/ _ \| |/ _ | | |__| | | |_| | | (_) | | (_| | \____/|_|\__|_| \___/|_|\__,_| """ def do_input(var): val = input(f"Enter your {var}: ") return f"{var}={val}\n" def clea...
null
5,669
from datetime import datetime from os import path, system from time import sleep from colorama import Back, Fore, Style system(f"pip install {all_}") stem("pip3 uninstall -q colorama -y") def clear(): system("clear")
null
5,670
from datetime import datetime from os import path, system from time import sleep from colorama import Back, Fore, Style def with_header(text): return HEADER + "\n\n" + text print( f""" {Fore.BLACK}{Back.WHITE} _____________ ▄▄ ▄▄ ▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄ ▄▄▄▄▄▄ █ █ █ █ █ █ █ ▄ █...
null
5,671
from datetime import datetime from os import path, system from time import sleep from colorama import Back, Fore, Style print( f""" {Fore.BLACK}{Back.WHITE} _____________ ▄▄ ▄▄ ▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄ ▄▄▄▄▄▄ █ █ █ █ █ █ █ ▄ █ █ █ █ █ █ █ █ █ █ █▄ ▄█ █ █ █ █...
null
5,672
from datetime import datetime from os import path, system from time import sleep from colorama import Back, Fore, Style APT_PACKAGES = ["ffmpeg", "neofetch", "mediainfo"] def yes_no_apt(): yes_no = input("").strip().lower() if yes_no in ["yes", "y"]: return True elif yes_no in ["no", "n"]: r...
null
5,673
from datetime import datetime from os import path, system from time import sleep from colorama import Back, Fore, Style OPT_PACKAGES = { "bs4": "Used for site-scrapping (used in commands like - .gadget and many more)", "yt-dlp": "Used for Youtuble Related Downloads...", "youtube-search-python": "Used for yo...
null
5,674
from datetime import datetime from os import path, system from time import sleep from colorama import Back, Fore, Style print( f""" {Fore.BLACK}{Back.WHITE} _____________ ▄▄ ▄▄ ▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄ ▄▄▄▄▄▄ █ █ █ █ █ █ █ ▄ █ █ █ █ █ █ █ █ █ █ █▄ ▄█ █ █ █ █...
null
5,675
import base64 import ipaddress import struct import sys from telethon.errors.rpcerrorlist import AuthKeyDuplicatedError from telethon.sessions.string import _STRUCT_PREFORMAT, CURRENT_VERSION, StringSession from ..configs import Var from . import * from .BaseClient import UltroidClient def validate_session(session, log...
null
5,676
import os import subprocess import sys from shutil import rmtree from decouple import config from git import Repo from .. import * from ..dB._core import HELP from ..loader import Loader from . import * from .utils import load_addons def _after_load(loader, module, plugin_name=""): if not module or plugin_name.star...
null
5,677
def _fix_logging(handler): handler._builtin_open = open def _new_open(self): open_func = self._builtin_open return open_func(self.baseFilename, self.mode) setattr(handler, "_open", _new_open)
null
5,678
def _ask_input(): # Ask for Input even on Vps and other platforms. def new_input(*args, **kwargs): raise EOFError("args=" + str(args) + ", kwargs=" + str(kwargs)) __builtins__["input"] = new_input
null
5,679
import ast import os import sys from .. import run_as_module from . import * Redis = MongoClient = psycopg2 = Database = None if Var.REDIS_URI or Var.REDISHOST: try: from redis import Redis except ImportError: LOGS.info("Installing 'redis' for database.") os.system(f"{sys.executable} -m ...
null
5,680
import asyncio import os import random import shutil import time from random import randint from ..configs import Var from telethon.errors import ( ChannelsTooMuchError, ChatAdminRequiredError, MessageIdInvalidError, MessageNotModifiedError, UserNotParticipantError, ) from telethon.tl.custom import ...
null
5,681
import asyncio import os import random import shutil import time from random import randint from ..configs import Var from telethon.errors import ( ChannelsTooMuchError, ChatAdminRequiredError, MessageIdInvalidError, MessageNotModifiedError, UserNotParticipantError, ) from telethon.tl.custom import ...
Update Var. attributes to udB
5,682
import asyncio import os import random import shutil import time from random import randint from ..configs import Var from telethon.errors import ( ChannelsTooMuchError, ChatAdminRequiredError, MessageIdInvalidError, MessageNotModifiedError, UserNotParticipantError, ) from telethon.tl.custom import ...
null
5,683
import asyncio import os import random import shutil import time from random import randint from ..configs import Var from telethon.errors import ( ChannelsTooMuchError, ChatAdminRequiredError, MessageIdInvalidError, MessageNotModifiedError, UserNotParticipantError, ) from telethon.tl.custom import ...
null
5,684
import asyncio import os import random import shutil import time from random import randint from ..configs import Var from telethon.errors import ( ChannelsTooMuchError, ChatAdminRequiredError, MessageIdInvalidError, MessageNotModifiedError, UserNotParticipantError, ) from telethon.tl.custom import ...
null
5,685
import asyncio import os import random import shutil import time from random import randint from ..configs import Var from telethon.errors import ( ChannelsTooMuchError, ChatAdminRequiredError, MessageIdInvalidError, MessageNotModifiedError, UserNotParticipantError, ) from telethon.tl.custom import ...
null
5,686
import asyncio import os import random import shutil import time from random import randint from ..configs import Var from telethon.errors import ( ChannelsTooMuchError, ChatAdminRequiredError, MessageIdInvalidError, MessageNotModifiedError, UserNotParticipantError, ) from telethon.tl.custom import ...
null
5,687
import asyncio import os import random import shutil import time from random import randint from ..configs import Var from telethon.errors import ( ChannelsTooMuchError, ChatAdminRequiredError, MessageIdInvalidError, MessageNotModifiedError, UserNotParticipantError, ) from telethon.tl.custom import ...
null
5,688
import asyncio import os import random import shutil import time from random import randint from ..configs import Var from telethon.errors import ( ChannelsTooMuchError, ChatAdminRequiredError, MessageIdInvalidError, MessageNotModifiedError, UserNotParticipantError, ) from telethon.tl.custom import ...
null
5,689
import asyncio import os import random import shutil import time from random import randint from ..configs import Var from telethon.errors import ( ChannelsTooMuchError, ChatAdminRequiredError, MessageIdInvalidError, MessageNotModifiedError, UserNotParticipantError, ) from telethon.tl.custom import ...
null
5,690
import asyncio import os import random import shutil import time from random import randint from ..configs import Var from telethon.errors import ( ChannelsTooMuchError, ChatAdminRequiredError, MessageIdInvalidError, MessageNotModifiedError, UserNotParticipantError, ) from telethon.tl.custom import ...
null
5,691
from asyncio import sleep from telethon.errors import MessageDeleteForbiddenError, MessageNotModifiedError from telethon.tl.custom import Message from telethon.tl.types import MessageService async def _try_delete(event): try: return await event.delete() except (MessageDeleteForbiddenError): pas...
null
5,692
from .. import udB def get_stuff(): return udB.get_key("FILTERS") or {} def rem_all_filter(chat): ok = get_stuff() if ok.get(chat): ok.pop(chat) udB.set_key("FILTERS", ok)
null
5,693
from .. import udB def add_black_chat(chat_id): chat = udB.get_key("BLACKLIST_CHATS") or [] if chat_id not in chat: chat.append(chat_id) return udB.set_key("BLACKLIST_CHATS", chat)
null
5,694
from .. import udB def rem_black_chat(chat_id): chat = udB.get_key("BLACKLIST_CHATS") or [] if chat_id in chat: chat.remove(chat_id) return udB.set_key("BLACKLIST_CHATS", chat)
null
5,695
from .. import udB def get_stuff(): return udB.get_key("BOTCHAT") or {} def add_stuff(msg_id, user_id): ok = get_stuff() ok.update({msg_id: user_id}) return udB.set_key("BOTCHAT", ok)
null
5,696
from .. import udB def get_stuff(): return udB.get_key("BOTCHAT") or {} def get_who(msg_id): ok = get_stuff() if ok.get(msg_id): return ok[msg_id]
null
5,697
from .. import udB def get_vcsudos(): return udB.get_key("VC_SUDOS") or [] def add_vcsudo(id): sudos = get_vcsudos() sudos.append(id) return udB.set_key("VC_SUDOS", sudos)
null
5,698
from .. import udB def get_vcsudos(): return udB.get_key("VC_SUDOS") or [] def is_vcsudo(id): return id in get_vcsudos() def del_vcsudo(id): if is_vcsudo(id): sudos = get_vcsudos() sudos.remove(id) return udB.set_key("VC_SUDOS", sudos)
null
5,699
from .. import udB def get_stuff(): def rem_all_note(chat): ok = get_stuff() if ok.get(int(chat)): ok.pop(int(chat)) return udB.set_key("NOTE", ok)
null
5,700
import asyncio import hashlib import logging import math import os from collections import defaultdict from typing import ( AsyncGenerator, Awaitable, BinaryIO, DefaultDict, List, Optional, Tuple, Union, ) from telethon import TelegramClient, helpers, utils from telethon.crypto import Au...
null
5,701
import json import math import os import random import re import secrets import ssl from io import BytesIO from json.decoder import JSONDecodeError from traceback import format_exc import requests from .. import * from ..exceptions import DependencyMissingError from . import some_random_headers from .helper import asyn...
null
5,702
import json import math import os import random import re import secrets import ssl from io import BytesIO from json.decoder import JSONDecodeError from traceback import format_exc import requests from .. import * from ..exceptions import DependencyMissingError from . import some_random_headers from .helper import asyn...
null
5,703
import base64 import os import random import re import string from logging import WARNING from random import choice, randrange, shuffle from traceback import format_exc from pyUltroid.exceptions import DependencyMissingError from telethon.tl import types from telethon.utils import get_display_name, get_peer_id from .. ...
null
5,704
import base64 import os import random import re import string from logging import WARNING from random import choice, randrange, shuffle from traceback import format_exc from pyUltroid.exceptions import DependencyMissingError from telethon.tl import types from telethon.utils import get_display_name, get_peer_id from .. ...
null
5,705
import base64 import os import random import re import string from logging import WARNING from random import choice, randrange, shuffle from traceback import format_exc from pyUltroid.exceptions import DependencyMissingError from telethon.tl import types from telethon.utils import get_display_name, get_peer_id from .. ...
null
5,706
import base64 import os import random import re import string from logging import WARNING from random import choice, randrange, shuffle from traceback import format_exc from pyUltroid.exceptions import DependencyMissingError try: from aiohttp import ContentTypeError except ImportError: ContentTypeError = None f...
null
5,707
import base64 import os import random import re import string from logging import WARNING from random import choice, randrange, shuffle from traceback import format_exc from pyUltroid.exceptions import DependencyMissingError from telethon.tl import types from telethon.utils import get_display_name, get_peer_id from .. ...
null