mirror of https://github.com/coddrago/Heroku
commit
b7c72a71df
|
@ -90,7 +90,8 @@ class HikkaInfoMod(loader.Module):
|
||||||
cpu_usage=utils.get_cpu_usage(),
|
cpu_usage=utils.get_cpu_usage(),
|
||||||
ram_usage=f"{utils.get_ram_usage()} MB",
|
ram_usage=f"{utils.get_ram_usage()} MB",
|
||||||
branch=version.branch,
|
branch=version.branch,
|
||||||
hostname=subprocess.run(['hostname'], capture_output=True).stdout.decode().strip()
|
hostname=subprocess.run(['hostname'], stdout=subprocess.PIPE).stdout.decode().strip(),
|
||||||
|
user=subprocess.run(['whoami'], stdout=subprocess.PIPE).stdout.decode().strip(),
|
||||||
)
|
)
|
||||||
if self.config["custom_message"]
|
if self.config["custom_message"]
|
||||||
else (
|
else (
|
||||||
|
|
Loading…
Reference in New Issue