forked from REBEL7265/MASTERBOT
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtest.py
More file actions
33 lines (27 loc) · 1.05 KB
/
test.py
File metadata and controls
33 lines (27 loc) · 1.05 KB
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
#Credit To @legendx22 . Keep credit if you are going to edit it. Join @LEGEND_USERBOT_SUPPORT
import random, re
from ULTRA import CMD_HELP
from uniborg.util import admin_cmd
import asyncio
from telethon import events
@borg.on(admin_cmd(pattern="test ?(.*)"))
async def _(event):
if not event.text[0].isalpha() and event.text[0] not in ("/", "#", "@", "!"):
await event.edit("`Testing ULTRA X....`")
await asyncio.sleep(2)
await event.edit("`Testing ULTRA X..`")
await asyncio.sleep(2)
await event.edit("__Testing Successful__")
await asyncio.sleep(2)
await event.edit("`Making Output` \n\nPlease wait")
await asyncio.sleep(2)
await event.edit("__Output Successful__")
await asyncio.sleep(3.5)
await event.edit("Your[ULTRA X](https:/t.me/hackerget0) is working Fine...\n Join @teamishere For Any Help......")
CMD_HELP.update(
{
"test": "**Plugin : **`test`\
\n\n**Syntax : **`.test`\
\n**Function : **this is only plugin for watching"
}
)