From 66d0acc848f73751cadd48beac03dfc6bce51e08 Mon Sep 17 00:00:00 2001 From: Xargana Date: Sat, 29 Mar 2025 23:34:25 +0300 Subject: [PATCH] a --- discord/index.js | 4 ++-- update.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/discord/index.js b/discord/index.js index ad17b24..b4c024f 100644 --- a/discord/index.js +++ b/discord/index.js @@ -791,9 +791,9 @@ case "anime": const maxHops = interaction.options.getInteger("hops") || 30; const { exec } = require('child_process'); - // exec(`traceroute -m ${maxHops} ${target}`, async (error, stdout, stderr) => { + exec(`traceroute -m ${maxHops} ${target}`, async (error, stdout, stderr) => { // windows version - exec(`tracert -d -h ${maxHops} ${target}`, async (error, stdout, stderr) => { + // exec(`tracert -d -h ${maxHops} ${target}`, async (error, stdout, stderr) => { const traceEmbed = { title: "Traceroute Results", description: `Target: ${target}\nMax Hops: ${maxHops}`, diff --git a/update.sh b/update.sh index 7af0175..a57fb9d 100755 --- a/update.sh +++ b/update.sh @@ -4,4 +4,4 @@ git commit -a -m "auto update" git pull origin main chown -R www-data:www-data /var/server/blahaj-srv pm2 restart node-api -pm2 restart blahaj-discord \ No newline at end of file +pm2 restart discord-blahaj.tr \ No newline at end of file