This commit is contained in:
root 2025-03-30 07:30:25 +01:00
commit c050792736

View file

@ -821,7 +821,7 @@ case "anime":
const maxHops = interaction.options.getInteger("hops") || 30; const maxHops = interaction.options.getInteger("hops") || 30;
const { spawn } = require('child_process'); 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 = ''; let output = '';