Ultroid v0.3 Updates
Co-authored-by: Aditya <xditya@ultroid.tech> Co-authored-by: Danish <danish@ultroid.tech> Co-authored-by: Amit Sharma <48654350+buddhhu@users.noreply.github.com> Co-authored-by: TechiError <error@notavailable.live> Co-authored-by: Avish Kumar <85635883+aviskumar@users.noreply.github.com> Co-authored-by: Vɪɴᴀʏᴀᴋ Pᴀɴᴅᴇʏ <87496159+harpia-vieillot@users.noreply.github.com> Co-authored-by: Shrimadhav U K <6317196+spechide@users.noreply.github.com> Co-authored-by: Dark <darkbeamer.official@gmail.com> Co-authored-by: Muhamad Risman Aziz <62795826+mrismanaziz@users.noreply.github.com> Co-authored-by: Ashik Muhammed <84127769+MR-JINN-OF-TG@users.noreply.github.com> Co-authored-by: MMETMA <79155572+MMETMA@users.noreply.github.com> Co-authored-by: amirmehdinzri <94852182+amirmehdinzri@users.noreply.github.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Ultroid - UserBot
|
||||
# Copyright (C) 2021 TeamUltroid
|
||||
# Copyright (C) 2021-2022 TeamUltroid
|
||||
#
|
||||
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
|
||||
# PLease read the GNU Affero General Public License in
|
||||
@@ -11,7 +11,7 @@ import time
|
||||
from random import choice
|
||||
|
||||
from pyUltroid import *
|
||||
from pyUltroid.dB import ULTROID_IMAGES
|
||||
from pyUltroid.dB import DEVLIST, ULTROID_IMAGES
|
||||
from pyUltroid.functions.helper import *
|
||||
from pyUltroid.functions.info import *
|
||||
from pyUltroid.functions.misc import *
|
||||
@@ -25,15 +25,20 @@ from telethon.tl import functions, types
|
||||
|
||||
from strings import get_string
|
||||
|
||||
Redis = udB.get
|
||||
client = bot = ultroid_bot
|
||||
Redis = udB.get_key
|
||||
|
||||
OWNER_NAME = ultroid_bot.me.first_name
|
||||
OWNER_ID = ultroid_bot.me.id
|
||||
LOG_CHANNEL = int(udB.get("LOG_CHANNEL"))
|
||||
INLINE_PIC = udB.get("INLINE_PIC") or choice(ULTROID_IMAGES)
|
||||
if INLINE_PIC == "False":
|
||||
OWNER_NAME = ultroid_bot.full_name
|
||||
OWNER_ID = ultroid_bot.uid
|
||||
|
||||
LOG_CHANNEL = udB.get_key("LOG_CHANNEL")
|
||||
|
||||
INLINE_PIC = udB.get_key("INLINE_PIC")
|
||||
|
||||
if INLINE_PIC is None:
|
||||
INLINE_PIC = choice(ULTROID_IMAGES)
|
||||
elif INLINE_PIC == False:
|
||||
INLINE_PIC = None
|
||||
|
||||
Telegraph = telegraph_client()
|
||||
|
||||
List = []
|
||||
|
||||
Reference in New Issue
Block a user