Spaces:
Sleeping
Sleeping
iamgojoof6eyes
commited on
Commit
·
6087453
1
Parent(s):
769060e
Noice
Browse files- Powers/plugins/start.py +23 -23
- Powers/utils/start_utils.py +6 -6
Powers/plugins/start.py
CHANGED
@@ -27,13 +27,13 @@ from Powers.vars import Config
|
|
27 |
)
|
28 |
async def donate(_, m: Message):
|
29 |
cpt="""
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
|
34 |
-
|
35 |
|
36 |
-
|
37 |
"""
|
38 |
|
39 |
|
@@ -102,11 +102,11 @@ async def start(c: Gojo, m: Message):
|
|
102 |
return
|
103 |
try:
|
104 |
cpt=f"""
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
|
109 |
-
|
110 |
|
111 |
|
112 |
|
@@ -139,11 +139,11 @@ async def start(c: Gojo, m: Message):
|
|
139 |
async def start_back(_, q: CallbackQuery):
|
140 |
try:
|
141 |
cpt=f"""
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
|
146 |
-
|
147 |
|
148 |
await q.message.edit_caption(
|
149 |
caption=cpt,
|
@@ -166,11 +166,11 @@ async def commands_menu(_, q: CallbackQuery):
|
|
166 |
)
|
167 |
try:
|
168 |
cpt=f"""
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
|
175 |
await q.message.edit_caption(
|
176 |
caption=cpt,
|
@@ -239,11 +239,11 @@ async def help_menu(_, m: Message):
|
|
239 |
],
|
240 |
)
|
241 |
msg =f"""
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
else:
|
248 |
keyboard = ikb(
|
249 |
[[("Help", f"t.me/{Config.BOT_USERNAME}?start=help", "url")]],
|
|
|
27 |
)
|
28 |
async def donate(_, m: Message):
|
29 |
cpt="""
|
30 |
+
Hey Thanks for your thought of donating me!
|
31 |
+
When you donate, all the fund goes towards my development which makes on fast and responsive.
|
32 |
+
Your donation might also me get me a new feature or two, which I wasn't able to get due to server limitations.
|
33 |
|
34 |
+
All the fund would be put into my services such as database, storage and hosting!
|
35 |
|
36 |
+
You can donate by contacting my owner: [Captain Ezio](http://t.me/iamgojoof6eyes)
|
37 |
"""
|
38 |
|
39 |
|
|
|
102 |
return
|
103 |
try:
|
104 |
cpt=f"""
|
105 |
+
Hey [{m.from_user.first_name}](http://t.me/{m.from_user.username})! My self Gojo ✨.
|
106 |
+
I'm here to help you manage your groups!
|
107 |
+
Hit /help to find out more about how to use me in my full potential!
|
108 |
|
109 |
+
Join my [News Channel](https://t.me/gojo_updates) to get information on all the latest updates."""
|
110 |
|
111 |
|
112 |
|
|
|
139 |
async def start_back(_, q: CallbackQuery):
|
140 |
try:
|
141 |
cpt=f"""
|
142 |
+
Hey [{q.from_user.first_name}](http://t.me/{q.from_user.username})! My name is Gojo ✨.
|
143 |
+
I'm here to help you manage your groups!
|
144 |
+
Hit /help to find out more about how to use me in my full potential!
|
145 |
|
146 |
+
Join my [News Channel](http://t.me/gojo_updates) to get information on all the latest updates."""
|
147 |
|
148 |
await q.message.edit_caption(
|
149 |
caption=cpt,
|
|
|
166 |
)
|
167 |
try:
|
168 |
cpt=f"""
|
169 |
+
Hey **[{q.from_user.first_name}](http://t.me/{q.from_user.username})**! My name is Gojo✨.
|
170 |
+
I'm here to help you manage your groups!
|
171 |
+
Commands available:
|
172 |
+
* /start: Start the bot
|
173 |
+
* /help: Give's you this message."""
|
174 |
|
175 |
await q.message.edit_caption(
|
176 |
caption=cpt,
|
|
|
239 |
],
|
240 |
)
|
241 |
msg =f"""
|
242 |
+
Hey **[{m.from_user.first_name}](http://t.me/{m.from_user.username})**!My name is Gojo✨.
|
243 |
+
I'm here to help you manage your groups!
|
244 |
+
Commands available:
|
245 |
+
* /start: Start the bot
|
246 |
+
* /help: Give's you this message."""
|
247 |
else:
|
248 |
keyboard = ikb(
|
249 |
[[("Help", f"t.me/{Config.BOT_USERNAME}?start=help", "url")]],
|
Powers/utils/start_utils.py
CHANGED
@@ -30,7 +30,7 @@ async def gen_cmds_kb(m: Message or CallbackQuery):
|
|
30 |
m = m.message
|
31 |
|
32 |
cmds = sorted(list(HELP_COMMANDS.keys()))
|
33 |
-
kb = [
|
34 |
|
35 |
return [kb[i : i + 3] for i in range(0, len(kb), 3)]
|
36 |
|
@@ -253,11 +253,11 @@ async def get_help_msg(m: Message or CallbackQuery, help_option: str):
|
|
253 |
)
|
254 |
else:
|
255 |
help_msg = """
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
"""
|
262 |
help_kb = [
|
263 |
*(await gen_cmds_kb(m)),
|
|
|
30 |
m = m.message
|
31 |
|
32 |
cmds = sorted(list(HELP_COMMANDS.keys()))
|
33 |
+
kb = [cmd.lower() for cmd in cmds]
|
34 |
|
35 |
return [kb[i : i + 3] for i in range(0, len(kb), 3)]
|
36 |
|
|
|
253 |
)
|
254 |
else:
|
255 |
help_msg = """
|
256 |
+
Hey There! My name is Gojo.
|
257 |
+
I'm here to help you manage your groups!
|
258 |
+
Commands available:
|
259 |
+
* /start: Start the bot
|
260 |
+
* /help: Give's you this message.
|
261 |
"""
|
262 |
help_kb = [
|
263 |
*(await gen_cmds_kb(m)),
|