diff --git a/hikka/modules/test.py b/hikka/modules/test.py index 4fdbdf4..be9d233 100644 --- a/hikka/modules/test.py +++ b/hikka/modules/test.py @@ -396,8 +396,8 @@ class TestMod(loader.Module): ping_hint=( (self.config["hint"]) if random.choice([0, 0, 1]) == 1 else "" ), - hostname=subprocess.run(['hostname'], stdout=subprocess.PIPE).stdout.decode().strip(), - user=subprocess.run(['whoami'], stdout=subprocess.PIPE).stdout.decode().strip(), + hostname=lib_platform.node(), + user=getpass.getuser(), ), )