Team Ai
Apppublic

azils3/bash

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
__init__.py35 linesDownload Raw Back to assistant
1# Ultroid - UserBot2# Copyright (C) 2021-2025 TeamUltroid3#4# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >5# PLease read the GNU Affero General Public License in6# <https://www.github.com/TeamUltroid/Ultroid/blob/main/LICENSE/>.7 8from telethon import Button, custom9 10from plugins import ATRA_COL, InlinePlugin11from pyUltroid import *12from pyUltroid import _ult_cache13from pyUltroid._misc import owner_and_sudos14from pyUltroid._misc._assistant import asst_cmd, callback, in_pattern15from pyUltroid.fns.helper import *16from pyUltroid.fns.tools import get_stored_file17from strings import get_languages, get_string18 19OWNER_NAME = ultroid_bot.full_name20OWNER_ID = ultroid_bot.uid21 22AST_PLUGINS = {}23 24 25async def setit(event, name, value):26    try:27        udB.set_key(name, value)28    except BaseException as er:29        LOGS.exception(er)30        return await event.edit("`Something Went Wrong`")31 32 33def get_back_button(name):34    return [Button.inline("« Bᴀᴄᴋ", data=f"{name}")]35