Created
January 21, 2025 13:55
-
-
Save EdamAme-x/6ff9237404e67c4216399f9c028bb41e to your computer and use it in GitHub Desktop.
discord group spam
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 悪用厳禁 | |
const token = (webpackChunkdiscord_app.push([[''],{},e=>{m=[];for(let c in e.c)m.push(e.c[c])}]),m).find(m=>m?.exports?.default?.getToken!==void 0).exports.default.getToken() | |
fetch("https://discord.com/api/v9/users/@me/channels", { | |
"headers": { | |
"accept": "*/*", | |
"accept-language": "ja-JP,ja;q=0.9,ar-SS;q=0.8,ar;q=0.7,en-US;q=0.6,en;q=0.5,ko-KR;q=0.4,ko;q=0.3", | |
"authorization": token, | |
"cache-control": "no-cache", | |
"content-type": "application/json", | |
"pragma": "no-cache", | |
"priority": "u=1, i", | |
"sec-ch-ua": "\"Google Chrome\";v=\"131\", \"Chromium\";v=\"131\", \"Not_A Brand\";v=\"24\"", | |
"sec-ch-ua-mobile": "?0", | |
"sec-ch-ua-platform": "\"Windows\"", | |
"sec-fetch-dest": "empty", | |
"sec-fetch-mode": "cors", | |
"sec-fetch-site": "same-origin", | |
"x-debug-options": "bugReporterEnabled", | |
"x-discord-locale": "ja", | |
"x-discord-timezone": "Asia/Tokyo", | |
"x-context-properties": | |
"eyJsb2NhdGlvbiI6IkNvbnRleHRNZW51In0=", | |
}, | |
"referrer": "https://discord.com/channels/@me", | |
"referrerPolicy": "strict-origin-when-cross-origin", | |
"body": "{\"recipients\":[\"1319403471916765244\",\"1185887801506541624\"]}", | |
"method": "POST", | |
"mode": "cors", | |
"credentials": "include" | |
}).then(r=>r.json()).then(data => { | |
fetch("https://discord.com/api/v9/channels/" + data.id, { | |
"headers": { | |
"accept": "*/*", | |
"accept-language": "ja-JP,ja;q=0.9,ar-SS;q=0.8,ar;q=0.7,en-US;q=0.6,en;q=0.5,ko-KR;q=0.4,ko;q=0.3", | |
"authorization": token, | |
"cache-control": "no-cache", | |
"content-type": "application/json", | |
"pragma": "no-cache", | |
"priority": "u=1, i", | |
"sec-ch-ua": "\"Google Chrome\";v=\"131\", \"Chromium\";v=\"131\", \"Not_A Brand\";v=\"24\"", | |
"sec-ch-ua-mobile": "?0", | |
"sec-ch-ua-platform": "\"Windows\"", | |
"sec-fetch-dest": "empty", | |
"sec-fetch-mode": "cors", | |
"sec-fetch-site": "same-origin", | |
"x-debug-options": "bugReporterEnabled", | |
"x-discord-locale": "ja", | |
"x-discord-timezone": "Asia/Tokyo", | |
}, | |
"referrer": "https://discord.com/channels/@me", | |
"referrerPolicy": "strict-origin-when-cross-origin", | |
"body": "{\"name\":\"Evex " + Date.now() + "\"}", | |
"method": "PATCH", | |
"mode": "cors", | |
"credentials": "include" | |
}); | |
fetch("https://discord.com/api/v9/channels/" + data.id + "/messages", { | |
"headers": { | |
"accept": "*/*", | |
"accept-language": "ja-JP,ja;q=0.9,ar-SS;q=0.8,ar;q=0.7,en-US;q=0.6,en;q=0.5,ko-KR;q=0.4,ko;q=0.3", | |
"authorization": token, | |
"cache-control": "no-cache", | |
"content-type": "application/json", | |
"pragma": "no-cache", | |
"priority": "u=1, i", | |
"sec-ch-ua": "\"Google Chrome\";v=\"131\", \"Chromium\";v=\"131\", \"Not_A Brand\";v=\"24\"", | |
"sec-ch-ua-mobile": "?0", | |
"sec-ch-ua-platform": "\"Windows\"", | |
"sec-fetch-dest": "empty", | |
"sec-fetch-mode": "cors", | |
"sec-fetch-site": "same-origin", | |
"x-debug-options": "bugReporterEnabled", | |
"x-discord-locale": "ja", | |
"x-discord-timezone": "Asia/Tokyo", | |
}, | |
"referrer": "https://discord.com/channels/@me", | |
"referrerPolicy": "strict-origin-when-cross-origin", | |
"body": "{\"mobile_network_type\":\"unknown\",\"content\":\"こうやるんだよ!!\",\"tts\":false,\"flags\":0}", | |
"method": "POST", | |
"mode": "cors", | |
"credentials": "include" | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment