id int64 0 190k | prompt stringlengths 21 13.4M | docstring stringlengths 1 12k ⌀ |
|---|---|---|
5,708 | import asyncio
import math
import os
import re
import sys
import time
from traceback import format_exc
from urllib.parse import unquote
from urllib.request import urlretrieve
from .. import run_as_module
import asyncio
import multiprocessing
from concurrent.futures import ThreadPoolExecutor
from functools import partia... | null |
5,709 | import asyncio
import math
import os
import re
import sys
import time
from traceback import format_exc
from urllib.parse import unquote
from urllib.request import urlretrieve
from .. import run_as_module
import asyncio
import multiprocessing
from concurrent.futures import ThreadPoolExecutor
from functools import partia... | null |
5,710 | import asyncio
import math
import os
import re
import sys
import time
from traceback import format_exc
from urllib.parse import unquote
from urllib.request import urlretrieve
from .. import run_as_module
import asyncio
import multiprocessing
from concurrent.futures import ThreadPoolExecutor
from functools import partia... | null |
5,711 | import asyncio
import math
import os
import re
import sys
import time
from traceback import format_exc
from urllib.parse import unquote
from urllib.request import urlretrieve
from .. import run_as_module
import asyncio
import multiprocessing
from concurrent.futures import ThreadPoolExecutor
from functools import partia... | null |
5,712 | import asyncio
import math
import os
import re
import sys
import time
from traceback import format_exc
from urllib.parse import unquote
from urllib.request import urlretrieve
from .. import run_as_module
try:
import heroku3
except ImportError:
heroku3 = None
import asyncio
import multiprocessing
from concurrent... | post heroku logs |
5,713 | import asyncio
import math
import os
import re
import sys
import time
from traceback import format_exc
from urllib.parse import unquote
from urllib.request import urlretrieve
from .. import run_as_module
import asyncio
import multiprocessing
from concurrent.futures import ThreadPoolExecutor
from functools import partia... | null |
5,714 | import asyncio
import math
import os
import re
import sys
import time
from traceback import format_exc
from urllib.parse import unquote
from urllib.request import urlretrieve
from .. import run_as_module
import asyncio
import multiprocessing
from concurrent.futures import ThreadPoolExecutor
from functools import partia... | Update requirements.. |
5,715 | import asyncio
import math
import os
import re
import sys
import time
from traceback import format_exc
from urllib.parse import unquote
from urllib.request import urlretrieve
from .. import run_as_module
import asyncio
import multiprocessing
from concurrent.futures import ThreadPoolExecutor
from functools import partia... | null |
5,716 | import asyncio
import math
import os
import re
import sys
import time
from traceback import format_exc
from urllib.parse import unquote
from urllib.request import urlretrieve
from .. import run_as_module
import asyncio
import multiprocessing
from concurrent.futures import ThreadPoolExecutor
from functools import partia... | null |
5,717 | import asyncio
import math
import os
import re
import sys
import time
from traceback import format_exc
from urllib.parse import unquote
from urllib.request import urlretrieve
from .. import run_as_module
try:
import heroku3
except ImportError:
heroku3 = None
import asyncio
import multiprocessing
from concurrent... | null |
5,718 | import asyncio
import math
import os
import re
import sys
import time
from traceback import format_exc
from urllib.parse import unquote
from urllib.request import urlretrieve
from .. import run_as_module
try:
import heroku3
except ImportError:
heroku3 = None
import asyncio
import multiprocessing
from concurrent... | null |
5,719 | import glob
import os
import re
import time
from telethon import Button
from yt_dlp import YoutubeDL
from .. import LOGS, udB
from .helper import download_file, humanbytes, run_async, time_formatter
from .tools import set_attributes
from . import *
def time_formatter(mil... | null |
5,720 | import glob
import os
import re
import time
from telethon import Button
from yt_dlp import YoutubeDL
from .. import LOGS, udB
from .helper import download_file, humanbytes, run_async, time_formatter
from .tools import set_attributes
def get_videos_link(url):
to_return = []
regex = re.search(r"\?list=([(\w+)\-]... | null |
5,721 | from . import get_help
import os
from pyUltroid.startup.loader import load_addons
from . import LOGS, async_searcher, eod, get_string, safeinstall, ultroid_cmd, un_plug
async def install(event):
await safeinstall(event) | null |
5,722 | from . import get_help
import os
from pyUltroid.startup.loader import load_addons
from . import LOGS, async_searcher, eod, get_string, safeinstall, ultroid_cmd, un_plug
async def unload(event):
shortname = event.pattern_match.group(1).strip()
if not shortname:
await event.eor(get_string("core_9"))
... | null |
5,723 | from . import get_help
import os
from pyUltroid.startup.loader import load_addons
from . import LOGS, async_searcher, eod, get_string, safeinstall, ultroid_cmd, un_plug
async def uninstall(event):
shortname = event.pattern_match.group(1).strip()
if not shortname:
await event.eor(get_string("core_13"))
... | null |
5,724 | from . import get_help
import os
from pyUltroid.startup.loader import load_addons
from . import LOGS, async_searcher, eod, get_string, safeinstall, ultroid_cmd, un_plug
async def load(event):
shortname = event.pattern_match.group(1).strip()
if not shortname:
await event.eor(get_string("core_16"))
... | null |
5,725 | from . import get_help
import os
from pyUltroid.startup.loader import load_addons
from . import LOGS, async_searcher, eod, get_string, safeinstall, ultroid_cmd, un_plug
async def get_the_addons_lol(event):
thelink = event.pattern_match.group(1).strip()
xx = await event.eor(get_string("com_1"))
fool = get_s... | null |
5,726 | import os
import time
from datetime import datetime as dt
from random import choice
import pytz
from bs4 import BeautifulSoup as bs
from telethon.tl.types import DocumentAttributeVideo
from pyUltroid.fns.tools import get_google_images, metadata
from . import (
HNDLR,
ULTConfig,
async_searcher,
bash,
... | null |
5,727 | import os
import time
from datetime import datetime as dt
from random import choice
import pytz
from bs4 import BeautifulSoup as bs
from telethon.tl.types import DocumentAttributeVideo
from pyUltroid.fns.tools import get_google_images, metadata
from . import (
HNDLR,
ULTConfig,
async_searcher,
bash,
... | null |
5,728 | import os
import time
from datetime import datetime as dt
from random import choice
import pytz
from bs4 import BeautifulSoup as bs
from telethon.tl.types import DocumentAttributeVideo
from pyUltroid.fns.tools import get_google_images, metadata
from . import (
HNDLR,
ULTConfig,
async_searcher,
bash,
... | null |
5,729 | import os
import time
from datetime import datetime as dt
from random import choice
import pytz
from bs4 import BeautifulSoup as bs
from telethon.tl.types import DocumentAttributeVideo
from pyUltroid.fns.tools import get_google_images, metadata
from . import (
HNDLR,
ULTConfig,
async_searcher,
bash,
... | null |
5,730 | import os
import time
from datetime import datetime as dt
from random import choice
import pytz
from bs4 import BeautifulSoup as bs
from telethon.tl.types import DocumentAttributeVideo
from pyUltroid.fns.tools import get_google_images, metadata
from . import (
HNDLR,
ULTConfig,
async_searcher,
bash,
... | null |
5,731 | import os
import time
from datetime import datetime as dt
from random import choice
import pytz
from bs4 import BeautifulSoup as bs
from telethon.tl.types import DocumentAttributeVideo
from pyUltroid.fns.tools import get_google_images, metadata
from . import (
HNDLR,
ULTConfig,
async_searcher,
bash,
... | null |
5,732 | import os
from htmlwebshot import WebShot
from PIL import Image, ImageDraw, ImageFont
from . import async_searcher, eod, get_string, text_set, ultroid_cmd
async def ghtml(e):
if txt := e.pattern_match.group(1).strip():
link = e.text.split(maxsplit=1)[1]
else:
return await eod(e, "`Either reply ... | null |
5,733 | import os
from htmlwebshot import WebShot
from PIL import Image, ImageDraw, ImageFont
from . import async_searcher, eod, get_string, text_set, ultroid_cmd
async def f2i(e):
txt = e.pattern_match.group(1).strip()
html = None
if txt:
html = e.text.split(maxsplit=1)[1]
elif e.reply_to:
r =... | null |
5,734 | import os
from htmlwebshot import WebShot
from PIL import Image, ImageDraw, ImageFont
from . import async_searcher, eod, get_string, text_set, ultroid_cmd
async def writer(e):
if e.reply_to:
reply = await e.get_reply_message()
text = reply.message
elif e.pattern_match.group(1).strip():
... | null |
5,735 | from . import get_help
import asyncio
from telegraph import upload_file as uf
from telethon import events
from pyUltroid.dB.afk_db import add_afk, del_afk, is_afk
from pyUltroid.dB.base import KeyManager
from . import (
LOG_CHANNEL,
NOSPAM_CHAT,
Redis,
asst,
get_string,
mediainfo,
udB,
u... | null |
5,736 | import glob
import os
from pyUltroid.fns.tools import set_attributes
from . import (
ULTConfig,
bash,
duration_s,
eod,
genss,
get_string,
mediainfo,
stdr,
ultroid_cmd,
)
from .. import *
async def set_attributes(file):
async def gen_sample(e):
sec =... | null |
5,737 | import glob
import os
from pyUltroid.fns.tools import set_attributes
from . import (
ULTConfig,
bash,
duration_s,
eod,
genss,
get_string,
mediainfo,
stdr,
ultroid_cmd,
)
async def gen_shots(e):
ss = e.pattern_match.group(1).strip()
shot = int(ss) if ss and ss.isdigit() else ... | null |
5,738 | import glob
import os
from pyUltroid.fns.tools import set_attributes
from . import (
ULTConfig,
bash,
duration_s,
eod,
genss,
get_string,
mediainfo,
stdr,
ultroid_cmd,
)
from .. import *
async def set_attributes(file):
async def gen_sample(e):
sec =... | null |
5,739 | from . import get_help
import os
from pyUltroid.dB.filestore_db import del_stored, get_stored_msg, list_all_stored_msgs
from pyUltroid.fns.tools import get_file_link
from . import HNDLR, asst, get_string, in_pattern, udB, ultroid_bot, ultroid_cmd
from .. import *
... | null |
5,740 | from . import get_help
import os
from pyUltroid.dB.filestore_db import del_stored, get_stored_msg, list_all_stored_msgs
from pyUltroid.fns.tools import get_file_link
from . import HNDLR, asst, get_string, in_pattern, udB, ultroid_bot, ultroid_cmd
def get_stored_msg(hash):
def del_stored(hash):
async def _(event):
... | null |
5,741 | from . import get_help
import os
from pyUltroid.dB.filestore_db import del_stored, get_stored_msg, list_all_stored_msgs
from pyUltroid.fns.tools import get_file_link
from . import HNDLR, asst, get_string, in_pattern, udB, ultroid_bot, ultroid_cmd
def list_all_stored_msgs():
all = get_stored()
return list(all.k... | null |
5,742 | from . import get_help
import os
from pyUltroid.dB.filestore_db import del_stored, get_stored_msg, list_all_stored_msgs
from pyUltroid.fns.tools import get_file_link
from . import HNDLR, asst, get_string, in_pattern, udB, ultroid_bot, ultroid_cmd
def list_all_stored_msgs():
all = get_stored()
return list(all.k... | null |
5,743 | import os
from . import LOGS
from pyUltroid.dB.nsfw_db import is_nsfw, nsfw_chat, rem_nsfw
from . import HNDLR, async_searcher, eor, events, udB, ultroid_bot, ultroid_cmd
async def nsfw_check(e):
if udB.get_key("NSFW"):
ultroid_bot.add_handler(nsfw_check, events.NewMessage(incoming=True))
def nsfw_chat(chat, actio... | null |
5,744 | import os
from . import LOGS
from pyUltroid.dB.nsfw_db import is_nsfw, nsfw_chat, rem_nsfw
from . import HNDLR, async_searcher, eor, events, udB, ultroid_bot, ultroid_cmd
def rem_nsfw(chat):
x = get_stuff()
if x.get(chat):
x.pop(chat)
return udB.set_key("NSFW", x)
async def remnsfw(e):
rem... | null |
5,745 | from . import get_help
import asyncio
import glob
import os
import time
from datetime import datetime as dt
from aiohttp.client_exceptions import InvalidURL
from telethon.errors.rpcerrorlist import MessageNotModifiedError
from pyUltroid.fns.helper import time_formatter
from pyUltroid.fns.tools import get_chat_and_msgid... | null |
5,746 | from . import get_help
import asyncio
import glob
import os
import time
from datetime import datetime as dt
from aiohttp.client_exceptions import InvalidURL
from telethon.errors.rpcerrorlist import MessageNotModifiedError
from pyUltroid.fns.helper import time_formatter
from pyUltroid.fns.tools import get_chat_and_msgid... | null |
5,747 | from . import get_help
import asyncio
import glob
import os
import time
from datetime import datetime as dt
from aiohttp.client_exceptions import InvalidURL
from telethon.errors.rpcerrorlist import MessageNotModifiedError
from pyUltroid.fns.helper import time_formatter
from pyUltroid.fns.tools import get_chat_and_msgid... | null |
5,748 | from . import get_help
import re
from . import Redis, eor, get_string, udB, ultroid_cmd
async def _(ult):
match = ult.pattern_match.group(1).strip()
if not match:
return await ult.eor("Provide key and value to set!")
try:
delim = " " if re.search("[|]", match) is None else " | "
dat... | null |
5,749 | from . import get_help
import re
from . import Redis, eor, get_string, udB, ultroid_cmd
async def _(ult):
key = ult.pattern_match.group(1).strip()
if not key:
return await ult.eor("Give me a key name to delete!", time=5)
_ = key.split(maxsplit=1)
try:
if _[0] == "-m":
for ke... | null |
5,750 | from . import get_help
import re
from . import Redis, eor, get_string, udB, ultroid_cmd
async def _(ult):
match = ult.pattern_match.group(1).strip()
if not match:
return await ult.eor("`Provide Keys name to rename..`")
delim = " " if re.search("[|]", match) is None else " | "
data = match.split... | null |
5,751 | import os
import time
from datetime import datetime as dt
from pyUltroid.fns.tools import set_attributes
from . import (
LOGS,
ULTConfig,
bash,
downloader,
eod,
eor,
genss,
get_help,
get_string,
humanbytes,
mediainfo,
stdr,
time_formatter,
ultroid_cmd,
uploade... | null |
5,752 | import os
import time
from datetime import datetime as dt
from pyUltroid.fns.tools import set_attributes
from . import (
LOGS,
ULTConfig,
bash,
downloader,
eod,
eor,
genss,
get_help,
get_string,
humanbytes,
mediainfo,
stdr,
time_formatter,
ultroid_cmd,
uploade... | null |
5,753 | import os
import time
from datetime import datetime as dt
from pyUltroid.fns.tools import set_attributes
from . import (
LOGS,
ULTConfig,
bash,
downloader,
eod,
eor,
genss,
get_help,
get_string,
humanbytes,
mediainfo,
stdr,
time_formatter,
ultroid_cmd,
uploade... | null |
5,754 | from . import get_help
import re
from telethon.events import NewMessage as NewMsg
from pyUltroid.dB import DEVLIST
from pyUltroid.dB.antiflood_db import get_flood, get_flood_limit, rem_flood, set_flood
from pyUltroid.fns.admins import admin_check
from . import Button, Redis, asst, callback, eod, get_string, ultroid_bot... | null |
5,755 | from . import get_help
import re
from telethon.events import NewMessage as NewMsg
from pyUltroid.dB import DEVLIST
from pyUltroid.dB.antiflood_db import get_flood, get_flood_limit, rem_flood, set_flood
from pyUltroid.fns.admins import admin_check
from . import Button, Redis, asst, callback, eod, get_string, ultroid_bot... | null |
5,756 | from . import get_help
import re
from telethon.events import NewMessage as NewMsg
from pyUltroid.dB import DEVLIST
from pyUltroid.dB.antiflood_db import get_flood, get_flood_limit, rem_flood, set_flood
from pyUltroid.fns.admins import admin_check
from . import Button, Redis, asst, callback, eod, get_string, ultroid_bot... | null |
5,757 | from . import get_help
import re
from telethon.events import NewMessage as NewMsg
from pyUltroid.dB import DEVLIST
from pyUltroid.dB.antiflood_db import get_flood, get_flood_limit, rem_flood, set_flood
from pyUltroid.fns.admins import admin_check
from . import Button, Redis, asst, callback, eod, get_string, ultroid_bot... | null |
5,758 | from . import get_help
import re
from telethon.events import NewMessage as NewMsg
from pyUltroid.dB import DEVLIST
from pyUltroid.dB.antiflood_db import get_flood, get_flood_limit, rem_flood, set_flood
from pyUltroid.fns.admins import admin_check
from . import Button, Redis, asst, callback, eod, get_string, ultroid_bot... | null |
5,759 | import os
from telegraph import upload_file as uf
from telethon.utils import pack_bot_file_id
from pyUltroid.dB.notes_db import add_note, get_notes, list_note, rem_note
from pyUltroid.fns.tools import create_tl_btn, format_btn, get_msg_button
from . import events, get_string, mediainfo, udB, ultroid_bot, ultroid_cmd
fr... | null |
5,760 | import os
from telegraph import upload_file as uf
from telethon.utils import pack_bot_file_id
from pyUltroid.dB.notes_db import add_note, get_notes, list_note, rem_note
from pyUltroid.fns.tools import create_tl_btn, format_btn, get_msg_button
from . import events, get_string, mediainfo, udB, ultroid_bot, ultroid_cmd
fr... | null |
5,761 | import os
from telegraph import upload_file as uf
from telethon.utils import pack_bot_file_id
from pyUltroid.dB.notes_db import add_note, get_notes, list_note, rem_note
from pyUltroid.fns.tools import create_tl_btn, format_btn, get_msg_button
from . import events, get_string, mediainfo, udB, ultroid_bot, ultroid_cmd
fr... | null |
5,762 | from pyUltroid.dB.warn_db import add_warn, reset_warn, warns
from . import eor, get_string, inline_mention, udB, ultroid_cmd
def add_warn(chat, user, count, reason):
x = get_stuff()
try:
x[chat].update({user: [count, reason]})
except BaseException:
x.update({chat: {user: [count, reason]}})
... | null |
5,763 | from pyUltroid.dB.warn_db import add_warn, reset_warn, warns
from . import eor, get_string, inline_mention, udB, ultroid_cmd
def reset_warn(chat, user):
async def rwarn(e):
reply = await e.get_reply_message()
if reply:
user = reply.sender_id
else:
try:
user = e.text.split()[1]
... | null |
5,764 | from pyUltroid.dB.warn_db import add_warn, reset_warn, warns
from . import eor, get_string, inline_mention, udB, ultroid_cmd
def warns(chat, user):
x = get_stuff()
try:
count, reason = x[chat][user][0], x[chat][user][1]
return count, reason
except BaseException:
return 0, None
asyn... | null |
5,765 | from pyUltroid.dB.warn_db import add_warn, reset_warn, warns
from . import eor, get_string, inline_mention, udB, ultroid_cmd
async def warnset(e):
ok = e.pattern_match.group(1).strip()
if not ok:
return await e.eor("stuff")
if "|" in ok:
try:
number, action = int(ok.split()[0]),... | null |
5,766 | import asyncio
import os
from telethon.errors.rpcerrorlist import ChatAdminRequiredError, FloodWaitError
from telethon.tl.functions.channels import EditAdminRequest
from telethon.tl.functions.contacts import BlockRequest, UnblockRequest
from telethon.tl.types import ChatAdminRights, User
from pyUltroid.dB import DEVLIS... | null |
5,767 | import asyncio
import os
from telethon.errors.rpcerrorlist import ChatAdminRequiredError, FloodWaitError
from telethon.tl.functions.channels import EditAdminRequest
from telethon.tl.functions.contacts import BlockRequest, UnblockRequest
from telethon.tl.types import ChatAdminRights, User
from pyUltroid.dB import DEVLIS... | null |
5,768 | import asyncio
import os
from telethon.errors.rpcerrorlist import ChatAdminRequiredError, FloodWaitError
from telethon.tl.functions.channels import EditAdminRequest
from telethon.tl.functions.contacts import BlockRequest, UnblockRequest
from telethon.tl.types import ChatAdminRights, User
from pyUltroid.dB import DEVLIS... | null |
5,769 | import asyncio
import os
from telethon.errors.rpcerrorlist import ChatAdminRequiredError, FloodWaitError
from telethon.tl.functions.channels import EditAdminRequest
from telethon.tl.functions.contacts import BlockRequest, UnblockRequest
from telethon.tl.types import ChatAdminRights, User
from pyUltroid.dB import DEVLIS... | null |
5,770 | import asyncio
import os
from telethon.errors.rpcerrorlist import ChatAdminRequiredError, FloodWaitError
from telethon.tl.functions.channels import EditAdminRequest
from telethon.tl.functions.contacts import BlockRequest, UnblockRequest
from telethon.tl.types import ChatAdminRights, User
from pyUltroid.dB import DEVLIS... | null |
5,771 | import asyncio
import os
from telethon.errors.rpcerrorlist import ChatAdminRequiredError, FloodWaitError
from telethon.tl.functions.channels import EditAdminRequest
from telethon.tl.functions.contacts import BlockRequest, UnblockRequest
from telethon.tl.types import ChatAdminRights, User
from pyUltroid.dB import DEVLIS... | null |
5,772 | import asyncio
import os
from telethon.errors.rpcerrorlist import ChatAdminRequiredError, FloodWaitError
from telethon.tl.functions.channels import EditAdminRequest
from telethon.tl.functions.contacts import BlockRequest, UnblockRequest
from telethon.tl.types import ChatAdminRights, User
from pyUltroid.dB import DEVLIS... | null |
5,773 | import asyncio
import os
from telethon.errors.rpcerrorlist import ChatAdminRequiredError, FloodWaitError
from telethon.tl.functions.channels import EditAdminRequest
from telethon.tl.functions.contacts import BlockRequest, UnblockRequest
from telethon.tl.types import ChatAdminRights, User
from pyUltroid.dB import DEVLIS... | null |
5,774 | import asyncio
import os
from telethon.errors.rpcerrorlist import ChatAdminRequiredError, FloodWaitError
from telethon.tl.functions.channels import EditAdminRequest
from telethon.tl.functions.contacts import BlockRequest, UnblockRequest
from telethon.tl.types import ChatAdminRights, User
from pyUltroid.dB import DEVLIS... | null |
5,775 | import asyncio
import os
from telethon.errors.rpcerrorlist import ChatAdminRequiredError, FloodWaitError
from telethon.tl.functions.channels import EditAdminRequest
from telethon.tl.functions.contacts import BlockRequest, UnblockRequest
from telethon.tl.types import ChatAdminRights, User
from pyUltroid.dB import DEVLIS... | null |
5,776 | import asyncio
import os
from telethon.errors.rpcerrorlist import ChatAdminRequiredError, FloodWaitError
from telethon.tl.functions.channels import EditAdminRequest
from telethon.tl.functions.contacts import BlockRequest, UnblockRequest
from telethon.tl.types import ChatAdminRights, User
from pyUltroid.dB import DEVLIS... | null |
5,777 | import asyncio
import os
from telethon.errors.rpcerrorlist import ChatAdminRequiredError, FloodWaitError
from telethon.tl.functions.channels import EditAdminRequest
from telethon.tl.functions.contacts import BlockRequest, UnblockRequest
from telethon.tl.types import ChatAdminRights, User
from pyUltroid.dB import DEVLIS... | null |
5,778 | import asyncio
import os
from telethon.errors.rpcerrorlist import ChatAdminRequiredError, FloodWaitError
from telethon.tl.functions.channels import EditAdminRequest
from telethon.tl.functions.contacts import BlockRequest, UnblockRequest
from telethon.tl.types import ChatAdminRights, User
from pyUltroid.dB import DEVLIS... | null |
5,779 | from . import get_help
from telethon.utils import get_display_name
from . import get_string, udB, ultroid_cmd
async def _(e):
key = udB.get_key("CLEANCHAT") or []
if e.chat_id in key:
return await eod(e, get_string("clan_5"))
key.append(e.chat_id)
udB.set_key("CLEANCHAT", key)
await e.eor(g... | null |
5,780 | from . import get_help
from telethon.utils import get_display_name
from . import get_string, udB, ultroid_cmd
async def _(e):
key = udB.get_key("CLEANCHAT") or []
if e.chat_id in key:
key.remove(e.chat_id)
udB.set_key("CLEANCHAT", key)
await e.eor(get_string("clan_2"), time=5) | null |
5,781 | from . import get_help
from telethon.utils import get_display_name
from . import get_string, udB, ultroid_cmd
async def _(e):
if k := udB.get_key("CLEANCHAT"):
o = ""
for x in k:
try:
title = get_display_name(await e.client.get_entity(x))
except BaseException... | null |
5,782 | from pyUltroid.fns.misc import unsplashsearch
from . import asyncio, download_file, get_string, os, ultroid_cmd
from .. import *
async def unsplashsearch(query, limit=None, shuf=True):
async def searchunsl(ult):
match = ult.pattern_match.group(1).strip()
if not match:
return ... | null |
5,783 | from telethon.errors import (
BotMethodInvalidError,
ChatSendInlineForbiddenError,
ChatSendMediaForbiddenError,
)
from . import LOG_CHANNEL, LOGS, Button, asst, eor, get_string, ultroid_cmd
REPOMSG = """
• **ULTROID USERBOT** •\n
• Repo - [Click Here](https://github.com/TeamUltroid/Ultroid)
• Addons - [Clic... | null |
5,784 | from telethon.errors import (
BotMethodInvalidError,
ChatSendInlineForbiddenError,
ChatSendMediaForbiddenError,
)
from . import LOG_CHANNEL, LOGS, Button, asst, eor, get_string, ultroid_cmd
ULTSTRING = """🎇 **Thanks for Deploying Ultroid Userbot!**
• Here, are the Some Basic stuff from, where you can Know,... | null |
5,785 | import os
import time
from . import (
HNDLR,
ULTConfig,
asyncio,
bash,
downloader,
get_all_files,
get_string,
ultroid_cmd,
uploader,
)
async def zipp(event):
reply = await event.get_reply_message()
t = time.time()
if not reply:
await event.eor(get_string("zip_1")... | null |
5,786 | import os
import time
from . import (
HNDLR,
ULTConfig,
asyncio,
bash,
downloader,
get_all_files,
get_string,
ultroid_cmd,
uploader,
)
async def unzipp(event):
reply = await event.get_reply_message()
file = event.pattern_match.group(1).strip()
t = time.time()
if not ... | null |
5,787 | import os
import time
from . import (
HNDLR,
ULTConfig,
asyncio,
bash,
downloader,
get_all_files,
get_string,
ultroid_cmd,
uploader,
)
async def azipp(event):
reply = await event.get_reply_message()
t = time.time()
if not (reply and reply.media):
await event.eor(... | null |
5,788 | import os
import time
from . import (
HNDLR,
ULTConfig,
asyncio,
bash,
downloader,
get_all_files,
get_string,
ultroid_cmd,
uploader,
)
async def do_zip(event):
if not os.path.isdir("zip"):
return await event.eor(get_string("zip_2").format(HNDLR))
xx = await event.eor... | null |
5,789 | from . import get_help
import os
import re
from telegraph import upload_file as uf
from telethon.tl.types import User
from telethon.utils import pack_bot_file_id
from pyUltroid.dB.filter_db import add_filter, get_filter, list_filter, rem_filter
from pyUltroid.fns.tools import create_tl_btn, format_btn, get_msg_button
f... | null |
5,790 | from . import get_help
import os
import re
from telegraph import upload_file as uf
from telethon.tl.types import User
from telethon.utils import pack_bot_file_id
from pyUltroid.dB.filter_db import add_filter, get_filter, list_filter, rem_filter
from pyUltroid.fns.tools import create_tl_btn, format_btn, get_msg_button
f... | null |
5,791 | from . import get_help
import os
import re
from telegraph import upload_file as uf
from telethon.tl.types import User
from telethon.utils import pack_bot_file_id
from pyUltroid.dB.filter_db import add_filter, get_filter, list_filter, rem_filter
from pyUltroid.fns.tools import create_tl_btn, format_btn, get_msg_button
f... | null |
5,792 | from telethon import events
from telethon.utils import get_display_name
from pyUltroid.dB.mute_db import is_muted, mute, unmute
from pyUltroid.fns.admins import ban_time
from . import asst, eod, get_string, inline_mention, ultroid_bot, ultroid_cmd
def is_muted(chat, id):
ok = get_muted()
return bool(ok.get(cha... | null |
5,793 | from telethon import events
from telethon.utils import get_display_name
from pyUltroid.dB.mute_db import is_muted, mute, unmute
from pyUltroid.fns.admins import ban_time
from . import asst, eod, get_string, inline_mention, ultroid_bot, ultroid_cmd
def mute(chat, id):
ok = get_muted()
if ok.get(chat):
i... | null |
5,794 | from telethon import events
from telethon.utils import get_display_name
from pyUltroid.dB.mute_db import is_muted, mute, unmute
from pyUltroid.fns.admins import ban_time
from . import asst, eod, get_string, inline_mention, ultroid_bot, ultroid_cmd
def unmute(chat, id):
ok = get_muted()
if ok.get(chat) and id i... | null |
5,795 | from telethon import events
from telethon.utils import get_display_name
from pyUltroid.dB.mute_db import is_muted, mute, unmute
from pyUltroid.fns.admins import ban_time
from . import asst, eod, get_string, inline_mention, ultroid_bot, ultroid_cmd
def ban_time(time_str):
"""Simplify ban time from text"""
if no... | null |
5,796 | from telethon import events
from telethon.utils import get_display_name
from pyUltroid.dB.mute_db import is_muted, mute, unmute
from pyUltroid.fns.admins import ban_time
from . import asst, eod, get_string, inline_mention, ultroid_bot, ultroid_cmd
async def _(e):
xx = await e.eor("`Unmuting...`")
input = e.pat... | null |
5,797 | from telethon import events
from telethon.utils import get_display_name
from pyUltroid.dB.mute_db import is_muted, mute, unmute
from pyUltroid.fns.admins import ban_time
from . import asst, eod, get_string, inline_mention, ultroid_bot, ultroid_cmd
async def _(e):
xx = await e.eor("`Muting...`")
input = e.patte... | null |
5,798 | import glob
import os
import shutil
import time
import cv2
import numpy as np
from PyPDF2 import PdfFileMerger, PdfFileReader, PdfFileWriter
from telethon.errors.rpcerrorlist import PhotoSaveFileInvalidError
from pyUltroid.fns.tools import four_point_transform
from . import (
HNDLR,
LOGS,
bash,
check_fi... | null |
5,799 | import glob
import os
import shutil
import time
import cv2
import numpy as np
from PyPDF2 import PdfFileMerger, PdfFileReader, PdfFileWriter
from telethon.errors.rpcerrorlist import PhotoSaveFileInvalidError
from pyUltroid.fns.tools import four_point_transform
from . import (
HNDLR,
LOGS,
bash,
check_fi... | null |
5,800 | import glob
import os
import shutil
import time
import cv2
import numpy as np
from PyPDF2 import PdfFileMerger, PdfFileReader, PdfFileWriter
from telethon.errors.rpcerrorlist import PhotoSaveFileInvalidError
from pyUltroid.fns.tools import four_point_transform
from . import (
HNDLR,
LOGS,
bash,
check_fi... | null |
5,801 | import glob
import os
import shutil
import time
import cv2
import numpy as np
from PyPDF2 import PdfFileMerger, PdfFileReader, PdfFileWriter
from telethon.errors.rpcerrorlist import PhotoSaveFileInvalidError
from pyUltroid.fns.tools import four_point_transform
from . import (
HNDLR,
LOGS,
bash,
check_fi... | null |
5,802 | import glob
import os
import shutil
import time
import cv2
import numpy as np
from PyPDF2 import PdfFileMerger, PdfFileReader, PdfFileWriter
from telethon.errors.rpcerrorlist import PhotoSaveFileInvalidError
from pyUltroid.fns.tools import four_point_transform
from . import (
HNDLR,
LOGS,
bash,
check_fi... | null |
5,803 | import os
from telegraph import upload_file as uf
from telethon.utils import pack_bot_file_id
from pyUltroid.dB.greetings_db import (
add_goodbye,
add_thanks,
add_welcome,
delete_goodbye,
delete_welcome,
get_goodbye,
get_welcome,
must_thank,
remove_thanks,
)
from pyUltroid.fns.tools ... | null |
5,804 | import os
from telegraph import upload_file as uf
from telethon.utils import pack_bot_file_id
from pyUltroid.dB.greetings_db import (
add_goodbye,
add_thanks,
add_welcome,
delete_goodbye,
delete_welcome,
get_goodbye,
get_welcome,
must_thank,
remove_thanks,
)
from pyUltroid.fns.tools ... | null |
5,805 | import os
from telegraph import upload_file as uf
from telethon.utils import pack_bot_file_id
from pyUltroid.dB.greetings_db import (
add_goodbye,
add_thanks,
add_welcome,
delete_goodbye,
delete_welcome,
get_goodbye,
get_welcome,
must_thank,
remove_thanks,
)
from pyUltroid.fns.tools ... | null |
5,806 | import os
from telegraph import upload_file as uf
from telethon.utils import pack_bot_file_id
from pyUltroid.dB.greetings_db import (
add_goodbye,
add_thanks,
add_welcome,
delete_goodbye,
delete_welcome,
get_goodbye,
get_welcome,
must_thank,
remove_thanks,
)
from pyUltroid.fns.tools ... | null |
5,807 | import os
from telegraph import upload_file as uf
from telethon.utils import pack_bot_file_id
from pyUltroid.dB.greetings_db import (
add_goodbye,
add_thanks,
add_welcome,
delete_goodbye,
delete_welcome,
get_goodbye,
get_welcome,
must_thank,
remove_thanks,
)
from pyUltroid.fns.tools ... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.