пинга не будэ

pull/40/head
Who? 2024-12-21 14:46:15 +07:00 committed by GitHub
parent a4b5301204
commit 568d9d5bd0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 3 deletions

View File

@ -53,8 +53,6 @@ class HikkaInfoMod(loader.Module):
prefix = f"«<code>{utils.escape_html(self.get_prefix())}</code>»"
platform = utils.get_named_platform()
start = time.perf_counter_ns()
ping=round((time.perf_counter_ns() - start) / 10**6, 3)
for emoji, icon in [
("🍊", "<emoji document_id=5449599833973203438>🧡</emoji>"),
@ -94,7 +92,6 @@ class HikkaInfoMod(loader.Module):
branch=version.branch,
hostname=subprocess.run(['hostname'], stdout=subprocess.PIPE).stdout.decode().strip(),
user=subprocess.run(['whoami'], stdout=subprocess.PIPE).stdout.decode().strip(),
ping=ping,
)
if self.config["custom_message"]
else (