File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -266,8 +266,8 @@ async def fetch_info(chat, event):
266266 msg_info = None
267267 print ("Exception:" , e )
268268 # No chance for IndexError as it checks for msg_info.messages first
269- first_msg_valid = bool (msg_info and msg_info . messages and msg_info . messages [
270- 0 ].id == 1 )
269+ first_msg_valid = bool (
270+ msg_info and msg_info . messages and msg_info . messages [ 0 ].id == 1 )
271271 # Same for msg_info.users
272272 creator_valid = bool (first_msg_valid and msg_info .users )
273273 creator_id = msg_info .users [0 ].id if creator_valid else None
Original file line number Diff line number Diff line change @@ -129,7 +129,8 @@ async def pingme(pong):
129129 f"═⎆ **Sisa Waktu:** "
130130 f"`{ uptime } ` \n "
131131 f"**✠➲ Lord:** `{ ALIVE_NAME } `" % (duration ))
132- f"═⎆ **Pesan:Pap Tengktopnya Kakak🥰🥰** "
132+ f"═⎆ **Pesan:Pap Tengktopnya Kakak🥰🥰** "
133+
133134
134135@register (outgoing = True , pattern = "^.sinyal$" )
135136async def pingme (pong ):
@@ -152,6 +153,7 @@ async def pingme(pong):
152153 f"`{ uptime } ` \n "
153154 f"__|━|⎆__ **My king :** `{ ALIVE_NAME } `" % (duration ))
154155
156+
155157@register (outgoing = True , pattern = "^.uping$" )
156158async def pingme (pong ):
157159 """ For .uping command, ping the userbot from any chat. """
You can’t perform that action at this time.
0 commit comments