/* * This single file is **EXCLUDED** from the project license. * * (c) 2022 Cynthia Foxwell, all rights reserved. * Permission is hereby granted to redistribute this file ONLY with copies of comcord. * You may not reverse engineer, modify, copy, or redistribute this file for any other uses outside of comcord. */ const os = require("os"); async function fetchMainPage() { const res = await fetch("https://discord.com/channels/@me"); return await res.text(); } async function fetchAsset(assetPath) { return await fetch("https://discord.com/" + assetPath).then((res) => res.text() ); } const MATCH_SCRIPT = '