Co-Authored-By: Aditya <me@xditya.me> Co-Authored-By: Amit Sharma <48654350+buddhhu@users.noreply.github.com> Co-Authored-By: hellboi_atul <68107352+hellboi-atul@users.noreply.github.com> Co-Authored-By: Sρι∂у <68327188+sppidy@users.noreply.github.com> Co-Authored-By: Anonymous <69723581+New-dev0@users.noreply.github.com> Co-Authored-By: Danish <72792730+1Danish-00@users.noreply.github.com> Co-Authored-By: Arnab Paryali <arnabxd@pm.me> Co-Authored-By: Programming Error <75001577+programmingerror@users.noreply.github.com>
21 lines
575 B
Python
21 lines
575 B
Python
# Ultroid - UserBot
|
|
# Copyright (C) 2020 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 pyUltroid import *
|
|
from pyUltroid.dB.database import Var
|
|
from telethon import Button, custom
|
|
|
|
OWNER_NAME = ultroid_bot.me.first_name
|
|
OWNER_ID = ultroid_bot.me.id
|
|
|
|
|
|
async def setit(event, name, value):
|
|
try:
|
|
udB.set(name, value)
|
|
except BaseException:
|
|
return await event.edit("`Something Went Wrong`")
|