mirror of https://github.com/coddrago/Heroku
Update hikka_info.py
parent
21f4d34cde
commit
f81977045b
|
@ -92,6 +92,8 @@ class HikkaInfoMod(loader.Module):
|
||||||
branch=version.branch,
|
branch=version.branch,
|
||||||
hostname=subprocess.run(['hostname'], stdout=subprocess.PIPE).stdout.decode().strip(),
|
hostname=subprocess.run(['hostname'], stdout=subprocess.PIPE).stdout.decode().strip(),
|
||||||
user=subprocess.run(['whoami'], stdout=subprocess.PIPE).stdout.decode().strip(),
|
user=subprocess.run(['whoami'], stdout=subprocess.PIPE).stdout.decode().strip(),
|
||||||
|
start = time.perf_counter_ns()
|
||||||
|
ping=round((time.perf_counter_ns() - start) / 10**6, 3),
|
||||||
)
|
)
|
||||||
if self.config["custom_message"]
|
if self.config["custom_message"]
|
||||||
else (
|
else (
|
||||||
|
|
Loading…
Reference in New Issue