This commit is contained in:
root 2025-03-30 07:49:27 +01:00
commit e08122009c

View file

@ -821,7 +821,7 @@ case "anime":
const maxHops = interaction.options.getInteger("hops") || 16; const maxHops = interaction.options.getInteger("hops") || 16;
const { spawn } = require('child_process'); const { spawn } = require('child_process');
const tracepath = spawn('traceroute', ['-q 1', `-m ${maxHops}`, target | "awk \'{print $1, $2, $3}\'"]); const tracepath = spawn('traceroute', ['-q 1', `-m ${maxHops}`, target, " | awk \'{print $1, $2, $3}\'"]);
let output = ''; let output = '';