Add Speedtest cog #28
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ class Speedtest(commands.Cog):
|
||||||
async def run_speedtest(self) -> str | Any:
|
async def run_speedtest(self) -> str | Any:
|
||||||
try:
|
try:
|
||||||
process = await asyncio.create_subprocess_exec(
|
process = await asyncio.create_subprocess_exec(
|
||||||
program=["speedtest", "-f", "json", "--accept-license"],
|
"speedtest", "-f", "json", "--accept-license",
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
stderr=subprocess.PIPE
|
stderr=subprocess.PIPE
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue