Add Speedtest cog #28

Open
cswimr wants to merge 17 commits from speedtest into main
Showing only changes of commit b210fa8bb0 - Show all commits

View file

@ -38,7 +38,7 @@ class Speedtest(commands.Cog):
async def run_speedtest(self) -> str | Any:
try:
process = await asyncio.create_subprocess_exec(
"speedtest", "-f json", "--accept-license",
program=["speedtest", "-f", "json", "--accept-license"],
stdout=subprocess.PIPE,
stderr=subprocess.PIPE
)