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
# ========================ร—========================