Discord-Oxygen / Discord-Console-hacks

A collection of JavaScript Codes I've made to enhance the User Experience of Discord and some other Discord related stuff
GNU General Public License v3.0
521 stars 114 forks source link

Discord Server Features script patched #81

Open byronbytes opened 1 year ago

byronbytes commented 1 year ago

I tried running this codeblock on my server multiple times but it didn't work and didn't visually update anything. Does this mean it got patched?

https://github.com/Discord-Oxygen/Discord-Console-hacks#add-guild-features


let serverid = "(MY SERVER ID)";
let feature = "VERIFIED"; // i also put PARTNERED as well, but to no avail it also didn't work.

window.webpackChunkdiscord_app.push([[Math.random()], {}, (req) => {for (const m of Object.keys(req.c).map((x) => req.c[x].exports).filter((x) => x)) {if (m.default && m.default.getGuilds !== undefined) {return m.default.getGuild(serverid).features.add(feature)}if (m.getGuilds !== undefined) {return m.getGuild(serverid).features.add(feature)}}}]);```