This commit is contained in:
Xargana 2025-03-30 09:30:18 +03:00
parent 2a3f24456e
commit a537929b0d

View file

@ -821,7 +821,7 @@ case "anime":
const maxHops = interaction.options.getInteger("hops") || 30;
const { spawn } = require('child_process');
const traceroute = spawn('traceroute', ['-n', '-m', maxHops, target]); // Added -n flag for numeric output
const traceroute = spawn('tracepath', ['-4', '-m', maxHops, target]);
let output = '';