Spaces:
Paused
Paused
File size: 3,296 Bytes
6c5b283 |
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 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 |
# Ayiin - Userbot
# Copyright (C) 2022-2023 @AyiinXd
#
# This file is a part of < https://github.com/AyiinXd/Ayiin-Userbot >
# PLease read the GNU Affero General Public License in
# <https://www.github.com/AyiinXd/Ayiin-Userbot/blob/main/LICENSE/>.
#
# FROM Ayiin-Userbot <https://github.com/AyiinXd/Ayiin-Userbot>
# t.me/AyiinXdSupport & t.me/AyiinSupport
# ========================ร========================
# Jangan Hapus Credit Ngentod
# ========================ร========================
import time
from datetime import datetime
from secrets import choice
from xteam.dB import devs
from telethon.tl.types import User
from xteam._misc import sudoers
from . import ultroid_cmd as ayiinCmd
from . import (
ATRA_COL,
LOGS,
OWNER_NAME,
ULTROID_IMAGES,
Button,
Carbon,
Telegraph,
Var,
allcmds,
asst,
bash,
call_back,
callback,
def_logs,
eor,
get_string,
heroku_logs,
in_pattern,
inline_pic,
restart,
shutdown,
start_time,
time_formatter,
udB,
ultroid_version,
updater,
)
absen = [
"**๐๐๐๐๐ง ๐๐ค๐ฃ๐ ๐๐ค๐** ๐",
"**๐๐๐๐๐ง ๐๐๐ ๐ ๐๐๐ฃ๐ฉ๐๐ฃ๐** ๐",
"**๐๐ช๐ ๐๐๐๐๐ง ๐พ๐ค๐ฃ๐ฉ๐ค๐ก** ๐",
"**๐๐ช๐ ๐๐๐๐๐ง ๐๐๐ฃ๐ฉ๐๐ฃ๐** ๐ฅต",
"**๐๐๐๐๐ง ๐๐๐๐** ๐",
"**๐๐ช๐ ๐๐๐๐๐ง ๐ผ๐๐๐ฃ๐** ๐ฅบ",
"**๐๐ ๐พ๐๐ ๐๐ฅ ๐๐๐๐๐ง ๐ฝ๐๐ฃ๐** ๐",
]
ayiincakep = [
"**๐๐ฎ๐ ๐๐๐ฃ๐ฉ๐๐ฃ๐ ๐ฝ๐๐ฃ๐๐๐ฉ** ๐",
"**๐๐๐ฃ๐ฉ๐๐ฃ๐๐ฃ๐ฎ๐ ๐๐๐ ๐ผ๐๐ ๐๐๐ฌ๐๐ฃ** ๐",
"**๐ ๐๐ข๐ช ๐๐๐ฃ๐ฉ๐๐ฃ๐๐ฃ๐ฎ๐ ๐ผ๐ ๐ช ๐๐๐ฃ** ๐",
"**๐๐ฎ๐๐ ๐๐๐๐ ๐๐๐ ๐จ๐๐๐ฃ๐** ๐",
"**๐ ๐๐ข๐ช ๐๐๐ข๐๐ฉ ๐๐๐ฅ๐ ๐ฝ๐ค๐ค๐ฃ๐** ๐",
]
@ayiinCmd("cping$", devs=True)
async def _(ping):
start = time.time()
x = await ping.eor("Pong !")
end = round((time.time() - start) * 1000)
uptime = time_formatter((time.time() - start_time) * 1000)
user = await ping.client.get_me()
message = "**โง แดสษชษชษด-แดsแดสสแดแด โง**\n\nโง **แดษชษดษขแดส :** `{} ms`\nโง **แดแดแดษชแดแด :** `{}`\nโง **แดแดกษดแดส :** `{}`\nโง **ษชแด
:** `{}`"
await ping.reply(
message.format(
end,
uptime,
user.first_name,
user.id
)
)
# KALO NGEFORK absen ini GA USAH DI HAPUS YA GOBLOK ๐ก
# JANGAN DI HAPUS GOBLOK ๐ก LU COPY AJA TINGGAL TAMBAHIN
# DI HAPUS GUA GBAN YA ๐ฅด GUA TANDAIN LU AKUN TELENYA ๐ก
# Absen by : mrismanaziz <https://github.com/mrismanaziz/man-userbot>
@ayiinCmd("absen$", devs=True)
async def ayiinabsen(ganteng):
await ganteng.reply(choice(absen))
@ayiinCmd("Aku ganteng kan$", devs=True)
async def ayiin(ganteng):
await ganteng.reply(choice(ayiincakep))
# ========================ร========================
# Jangan Hapus Credit Ngentod
# ========================ร========================
|