Update test.py

dev-test
Who? 2025-07-12 17:14:33 +07:00 committed by GitHub
parent 46def29511
commit 29b1f105a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -379,10 +379,9 @@ class TestMod(loader.Module):
if self.config["banner_url"]:
await message.delete()
await self.client.send_file(
message.peer_id,
banner,
caption = self.config["Text_Of_Ping"].format(
await utils.answer(
message,
self.config["Text_Of_Ping"].format(
ping=round((time.perf_counter_ns() - start) / 10**6, 3),
uptime=utils.formatted_uptime(),
ping_hint=(
@ -393,6 +392,7 @@ class TestMod(loader.Module):
prefix=self.get_prefix(),
),
file = banner,
reply_to=getattr(message, "reply_to_msg_id", None),
)