teamx-cloner commited on
Commit
ab527bf
·
1 Parent(s): cce6d0b

Update inlinestuff.py

Browse files
Files changed (1) hide show
  1. assistant/inlinestuff.py +9 -8
assistant/inlinestuff.py CHANGED
@@ -94,13 +94,8 @@ apis = [
94
  "QUl6YVN5RGRPS253blB3VklRX2xiSDVzWUU0Rm9YakFLSVFWMERR",
95
  ]
96
 
97
-
98
-
99
- @in_pattern(owner=False, func=lambda x: not x.text)
100
- async def help(e):
101
- TLINK = inline_pic() or "https://telegra.ph/file/cad7038fe82e47f79c609.jpg"
102
- MSG = """
103
- 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.
104
  •xteam-urbot interesting:
105
  •Extensive Functionality: xteam-urbot boasts a wide array of built-in modules (plugins) that can perform various actions. These can include things like:
106
  * Moderation tools: Anti-flood, ban/kick/mute users, manage messages.
@@ -120,13 +115,19 @@ async def help(e):
120
  • TeamX Organization: You can explore other related projects and plugins under the Teamxteam-urbot organization on GitHub: https://github.com/Teamxteam-urbot.
121
  •In short, xteam-urbot is a powerful tool for Telegram users who want to extend the platform's functionality and automate tasks. However, it comes with a learning curve and requires responsible usage.
122
  """
 
 
 
 
 
 
123
  WEB0 = wb(
124
  "https://telegra.ph/file/8d7b534e34e13316a7dd2.jpg", 0, "image/jpg", []
125
  )
126
  res = [
127
  await e.builder.article(
128
  type="photo",
129
- text=MSG,
130
  include_media=True,
131
  buttons=PING_ALIVE,
132
  title="Inline",
 
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:
101
  * Moderation tools: Anti-flood, ban/kick/mute users, manage messages.
 
115
  • TeamX Organization: You can explore other related projects and plugins under the Teamxteam-urbot organization on GitHub: https://github.com/Teamxteam-urbot.
116
  •In short, xteam-urbot is a powerful tool for Telegram users who want to extend the platform's functionality and automate tasks. However, it comes with a learning curve and requires responsible usage.
117
  """
118
+
119
+
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
  WEB0 = wb(
125
  "https://telegra.ph/file/8d7b534e34e13316a7dd2.jpg", 0, "image/jpg", []
126
  )
127
  res = [
128
  await e.builder.article(
129
  type="photo",
130
+ text=message_text,
131
  include_media=True,
132
  buttons=PING_ALIVE,
133
  title="Inline",