Last active
November 3, 2023 00:46
-
-
Save Joshix-1/393c90ca7a64cbe5ab213ef12bd3bff8 to your computer and use it in GitHub Desktop.
With this better discord plugin you can see NSFW channels if you are to dumb to tell discord you are over 18.
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
//META{"name":"AllowNSFW","authorId":"564843886434975745","website":"https://github.com/joshix-1", "source":"https://gist.github.com/Joshix-1/393c90ca7a64cbe5ab213ef12bd3bff8"}*// | |
module.exports = class AllowNSFW { | |
getName() {return "AllowNSFW";} | |
getDescription() {return "With this plugin you can see NSFW channels if you are to dumb to tell discord you are over 18.";} | |
getVersion() {return "0.0.1";} | |
getAuthor() {return "Joshix";} | |
load() {} | |
start() { | |
this.update(); | |
} | |
stop() {} | |
onSwitch() { | |
this.update(); | |
} | |
update () { | |
var v = BdApi.findModuleByProps("getCurrentUser").getCurrentUser(); | |
if (typeof v === "undefined") return; | |
v.nsfwAllowed = true; | |
} | |
} |
How plss tell
Can you update this, new patch broke it.
you could use this script in console or bookmarklet: findModule=(item)=>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[item]!==undefined)return m.default}}])
findModule('getCurrentUser').getCurrentUser().nsfwAllowed = true
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
it wasnt working for me at all im not sure why