Merge branch 'main' of https://github.com/Xargana/blahaj-srv
This commit is contained in:
commit
70b45fd38f
|
@ -791,9 +791,9 @@ case "anime":
|
||||||
const maxHops = interaction.options.getInteger("hops") || 30;
|
const maxHops = interaction.options.getInteger("hops") || 30;
|
||||||
|
|
||||||
const { exec } = require('child_process');
|
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
|
// windows version
|
||||||
exec(`tracert -d -h ${maxHops} ${target}`, async (error, stdout, stderr) => {
|
// exec(`tracert -d -h ${maxHops} ${target}`, async (error, stdout, stderr) => {
|
||||||
const traceEmbed = {
|
const traceEmbed = {
|
||||||
title: "Traceroute Results",
|
title: "Traceroute Results",
|
||||||
description: `Target: ${target}\nMax Hops: ${maxHops}`,
|
description: `Target: ${target}\nMax Hops: ${maxHops}`,
|
||||||
|
|
|
@ -4,4 +4,4 @@ git commit -a -m "auto update"
|
||||||
git pull origin main
|
git pull origin main
|
||||||
chown -R www-data:www-data /var/server/blahaj-srv
|
chown -R www-data:www-data /var/server/blahaj-srv
|
||||||
pm2 restart node-api
|
pm2 restart node-api
|
||||||
pm2 restart blahaj-discord
|
pm2 restart discord-blahaj.tr
|
Loading…
Reference in a new issue