Spaces:
Running
Running
File size: 976 Bytes
e30a913 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
# Ultroid - UserBot
# Copyright (C) 2021-2023 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
# <https://www.github.com/TeamUltroid/Ultroid/blob/main/LICENSE/>.
from telethon import Button, custom
from plugins import ATRA_COL, InlinePlugin
from xteam import *
from xteam import _ult_cache
from xteam._misc import owner_and_sudos
from xteam._misc._assistant import asst_cmd, callback, in_pattern
from xteam.fns.helper import *
from xteam.fns.tools import get_stored_file
from strings import get_languages, get_string
OWNER_NAME = ultroid_bot.full_name
OWNER_ID = ultroid_bot.uid
AST_PLUGINS = {}
async def setit(event, name, value):
try:
udB.set_key(name, value)
except BaseException as er:
LOGS.exception(er)
return await event.edit("`Something Went Wrong`")
def get_back_button(name):
return [Button.inline("« Bᴀᴄᴋ", data=f"{name}")]
|