Spaces:
Paused
Paused
teamx-cloner
commited on
Commit
·
fe95c69
1
Parent(s):
ab527bf
Update inlinestuff.py
Browse files- assistant/inlinestuff.py +5 -4
assistant/inlinestuff.py
CHANGED
@@ -94,7 +94,7 @@ apis = [
|
|
94 |
"QUl6YVN5RGRPS253blB3VklRX2xiSDVzWUU0Rm9YakFLSVFWMERR",
|
95 |
]
|
96 |
|
97 |
-
def format_message_text(
|
98 |
return f"""xteam-urbot is a versatile and feature-rich Telegram userbot built using the Telethon library in Python. Think of it as a customizable bot that runs on your Telegram account, allowing you to automate tasks, manage your groups more effectively, and add a variety of fun and useful features to your Telegram experience.
|
99 |
•xteam-urbot interesting:
|
100 |
•Extensive Functionality: xteam-urbot boasts a wide array of built-in modules (plugins) that can perform various actions. These can include things like:
|
@@ -120,7 +120,8 @@ def format_message_text(msg):
|
|
120 |
@in_pattern(owner=False, func=lambda x: not x.text)
|
121 |
async def help(e):
|
122 |
TLINK = inline_pic() or "https://telegra.ph/file/cad7038fe82e47f79c609.jpg"
|
123 |
-
MSG = format_message_text(
|
|
|
124 |
WEB0 = wb(
|
125 |
"https://telegra.ph/file/8d7b534e34e13316a7dd2.jpg", 0, "image/jpg", []
|
126 |
)
|
@@ -130,8 +131,8 @@ async def help(e):
|
|
130 |
text=message_text,
|
131 |
include_media=True,
|
132 |
buttons=PING_ALIVE,
|
133 |
-
title="
|
134 |
-
description="
|
135 |
url=TLINK,
|
136 |
thumb=WEB0,
|
137 |
content=wb(TLINK, 0, "image/jpg", []),
|
|
|
94 |
"QUl6YVN5RGRPS253blB3VklRX2xiSDVzWUU0Rm9YakFLSVFWMERR",
|
95 |
]
|
96 |
|
97 |
+
def format_message_text(MSG):
|
98 |
return f"""xteam-urbot is a versatile and feature-rich Telegram userbot built using the Telethon library in Python. Think of it as a customizable bot that runs on your Telegram account, allowing you to automate tasks, manage your groups more effectively, and add a variety of fun and useful features to your Telegram experience.
|
99 |
•xteam-urbot interesting:
|
100 |
•Extensive Functionality: xteam-urbot boasts a wide array of built-in modules (plugins) that can perform various actions. These can include things like:
|
|
|
120 |
@in_pattern(owner=False, func=lambda x: not x.text)
|
121 |
async def help(e):
|
122 |
TLINK = inline_pic() or "https://telegra.ph/file/cad7038fe82e47f79c609.jpg"
|
123 |
+
MSG = format_message_text(MSG)
|
124 |
+
message_text = format_message_text(MSG)
|
125 |
WEB0 = wb(
|
126 |
"https://telegra.ph/file/8d7b534e34e13316a7dd2.jpg", 0, "image/jpg", []
|
127 |
)
|
|
|
131 |
text=message_text,
|
132 |
include_media=True,
|
133 |
buttons=PING_ALIVE,
|
134 |
+
title="About",
|
135 |
+
description="xteam-urbot",
|
136 |
url=TLINK,
|
137 |
thumb=WEB0,
|
138 |
content=wb(TLINK, 0, "image/jpg", []),
|