Spaces:
Paused
Paused
Captain Ezio
commited on
Commit
·
86e32f1
1
Parent(s):
6efdd2e
Update start.py
Browse files- Powers/plugins/start.py +24 -17
Powers/plugins/start.py
CHANGED
|
@@ -21,13 +21,15 @@ from Powers.vars import Config
|
|
| 21 |
)
|
| 22 |
async def donate(_, m: Message):
|
| 23 |
LOGGER.info(f"{m.from_user.id} fetched donation text in {m.chat.id}")
|
| 24 |
-
await m.reply_animation(animation="https://media.giphy.com/media/p1ocgMPg7WIpoxHUfc/giphy.gif",
|
| 25 |
-
|
| 26 |
-
|
|
|
|
|
|
|
| 27 |
|
| 28 |
-
|
| 29 |
|
| 30 |
-
|
| 31 |
return
|
| 32 |
|
| 33 |
|
|
@@ -87,7 +89,8 @@ async def start(c: Gojo, m: Message):
|
|
| 87 |
try:
|
| 88 |
await m.reply_animation(
|
| 89 |
animation="https://media.giphy.com/media/p1ocgMPg7WIpoxHUfc/giphy.gif",
|
| 90 |
-
caption=f"""
|
|
|
|
| 91 |
I'm here to help you manage your groups!
|
| 92 |
Hit /help to find out more about how to use me in my full potential!
|
| 93 |
|
|
@@ -110,11 +113,12 @@ async def start(c: Gojo, m: Message):
|
|
| 110 |
async def start_back(_, q: CallbackQuery):
|
| 111 |
try:
|
| 112 |
await q.message.edit_caption(
|
| 113 |
-
caption="""
|
| 114 |
-
|
| 115 |
-
|
|
|
|
| 116 |
|
| 117 |
-
|
| 118 |
reply_markup=(await gen_start_kb(q.message)),
|
| 119 |
|
| 120 |
)
|
|
@@ -134,7 +138,8 @@ async def commands_menu(_, q: CallbackQuery):
|
|
| 134 |
)
|
| 135 |
try:
|
| 136 |
await q.message.edit_caption(
|
| 137 |
-
caption="""
|
|
|
|
| 138 |
I'm here to help you manage your groups!
|
| 139 |
Commands available:
|
| 140 |
× /start: Start the bot
|
|
@@ -146,7 +151,8 @@ async def commands_menu(_, q: CallbackQuery):
|
|
| 146 |
except QueryIdInvalid:
|
| 147 |
await q.message.reply_animation(
|
| 148 |
animation="https://media.giphy.com/media/p1ocgMPg7WIpoxHUfc/giphy.gif",
|
| 149 |
-
caption="""
|
|
|
|
| 150 |
I'm here to help you manage your groups!
|
| 151 |
Commands available:
|
| 152 |
× /start: Start the bot
|
|
@@ -203,11 +209,12 @@ async def help_menu(_, m: Message):
|
|
| 203 |
[("« Back", "start_back")],
|
| 204 |
],
|
| 205 |
)
|
| 206 |
-
msg = """
|
| 207 |
-
|
| 208 |
-
|
| 209 |
-
|
| 210 |
-
|
|
|
|
| 211 |
else:
|
| 212 |
keyboard = ikb(
|
| 213 |
[[("Help", f"t.me/{Config.BOT_USERNAME}?start=help", "url")]],
|
|
|
|
| 21 |
)
|
| 22 |
async def donate(_, m: Message):
|
| 23 |
LOGGER.info(f"{m.from_user.id} fetched donation text in {m.chat.id}")
|
| 24 |
+
await m.reply_animation(animation="https://media.giphy.com/media/p1ocgMPg7WIpoxHUfc/giphy.gif",
|
| 25 |
+
caption="""
|
| 26 |
+
Hey Thanks for your thought of donating me!
|
| 27 |
+
When you donate, all the fund goes towards my development which makes on fast and responsive.
|
| 28 |
+
Your donation might also me get me a new feature or two, which I wasn't able to get due to server limitations.
|
| 29 |
|
| 30 |
+
All the fund would be put into my services such as database, storage and hosting!
|
| 31 |
|
| 32 |
+
You can donate by contacting my owner: @iamgojoof6eyes""")
|
| 33 |
return
|
| 34 |
|
| 35 |
|
|
|
|
| 89 |
try:
|
| 90 |
await m.reply_animation(
|
| 91 |
animation="https://media.giphy.com/media/p1ocgMPg7WIpoxHUfc/giphy.gif",
|
| 92 |
+
caption=f"""
|
| 93 |
+
Hey {m.from_user.first_name}! My self Gojo 😎.
|
| 94 |
I'm here to help you manage your groups!
|
| 95 |
Hit /help to find out more about how to use me in my full potential!
|
| 96 |
|
|
|
|
| 113 |
async def start_back(_, q: CallbackQuery):
|
| 114 |
try:
|
| 115 |
await q.message.edit_caption(
|
| 116 |
+
caption="""
|
| 117 |
+
Hey there! My name is Gojo ✨.
|
| 118 |
+
I'm here to help you manage your groups!
|
| 119 |
+
Hit /help to find out more about how to use me in my full potential!
|
| 120 |
|
| 121 |
+
Join my [News Channel](http://t.me/gojo_updates) to get information on all the latest updates.""",
|
| 122 |
reply_markup=(await gen_start_kb(q.message)),
|
| 123 |
|
| 124 |
)
|
|
|
|
| 138 |
)
|
| 139 |
try:
|
| 140 |
await q.message.edit_caption(
|
| 141 |
+
caption="""
|
| 142 |
+
Hey There! My name is Gojo.
|
| 143 |
I'm here to help you manage your groups!
|
| 144 |
Commands available:
|
| 145 |
× /start: Start the bot
|
|
|
|
| 151 |
except QueryIdInvalid:
|
| 152 |
await q.message.reply_animation(
|
| 153 |
animation="https://media.giphy.com/media/p1ocgMPg7WIpoxHUfc/giphy.gif",
|
| 154 |
+
caption="""
|
| 155 |
+
Hey There! My name is Gojo.
|
| 156 |
I'm here to help you manage your groups!
|
| 157 |
Commands available:
|
| 158 |
× /start: Start the bot
|
|
|
|
| 209 |
[("« Back", "start_back")],
|
| 210 |
],
|
| 211 |
)
|
| 212 |
+
msg = """
|
| 213 |
+
Hey There! My name is Gojo.
|
| 214 |
+
I'm here to help you manage your groups!
|
| 215 |
+
Commands available:
|
| 216 |
+
× /start: Start the bot
|
| 217 |
+
× /help: Give's you this message."""
|
| 218 |
else:
|
| 219 |
keyboard = ikb(
|
| 220 |
[[("Help", f"t.me/{Config.BOT_USERNAME}?start=help", "url")]],
|