Files
Ultroid-fork/plugins/__init__.py
1Danish-00 6f44b386aa v0.2 11/10/2021
Co-authored-by: New-dev0 <New-dev0@users.noreply.github.com>
Co-authored-by: Amit Sharma <buddhhu@users.noreply.github.com>
Co-authored-by: TechiError <techierror@users.noreply.github.com>
Co-authored-by: Aditya <me@xditya.me>
Co-authored-by: Sonya Nikiforova <Sonniki@users.noreply.github.com>
Co-authored-by: M̲αραт <Marty2509@users.noreply.github.com>
Co-authored-by: Muhamad Risman Aziz <mrismanaziz@users.noreply.github.com>
Co-authored-by: Arnab Paryali <Arnabxd@users.noreply.github.com>
Co-authored-by: hellboi_atul <hellboi-atul@users.noreply.github.com>
Co-authored-by: sppidy <sppidy@users.noreply.github.com>
2021-10-11 00:27:23 +05:30

83 lines
2.2 KiB
Python

# Ultroid - UserBot
# Copyright (C) 2021 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/>.
import asyncio
import os
import time
from random import choice
from pyUltroid import *
from pyUltroid.dB import ULTROID_IMAGES
from pyUltroid.functions.helper import *
from pyUltroid.functions.info import *
from pyUltroid.functions.misc import *
from pyUltroid.functions.tools import *
from pyUltroid.misc._assistant import asst_cmd, callback, in_pattern
from pyUltroid.misc._decorators import ultroid_cmd
from pyUltroid.misc._wrappers import eod, eor
from pyUltroid.version import __version__, ultroid_version
from telethon import Button, events
from telethon.tl import functions, types
from strings import get_string
Redis = udB.get
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":
INLINE_PIC = None
Telegraph = telegraph_client()
List = []
Dict = {}
N = 0
STUFF = {}
# Chats, which needs to be ignore for some cases
# Considerably, there can be many
# Feel Free to Add Any other...
NOSPAM_CHAT = [
-1001327032795, # UltroidSupport
-1001387666944, # PyrogramChat
-1001109500936, # TelethonChat
-1001050982793, # Python
-1001256902287, # DurovsChat
]
KANGING_STR = [
"Using Witchery to kang this sticker...",
"Plagiarising hehe...",
"Inviting this sticker over to my pack...",
"Kanging this sticker...",
"Hey that's a nice sticker!\nMind if I kang?!..",
"Hehe me stel ur stiker...",
"Ay look over there (☉。☉)!→\nWhile I kang this...",
"Roses are red violets are blue, kanging this sticker so my pack looks cool",
"Imprisoning this sticker...",
"Mr.Steal-Your-Sticker is stealing this sticker... ",
]
ATRA_COL = [
"DarkCyan",
"DeepSkyBlue",
"DarkTurquoise",
"Cyan",
"LightSkyBlue",
"Turquoise",
"MediumVioletRed",
"Aquamarine",
"Lightcyan",
"Azure",
"Moccasin",
"PowderBlue",
]