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; | |
} | |
} |
i figured it out, but still thx. Keep up the good work m8.
…On Thu, Feb 3, 2022 at 11:28 PM Joshix-1 ***@***.***> wrote:
***@***.**** commented on this gist.
------------------------------
Just download it and use it as normal BetterDiscord plugin lol
—
Reply to this email directly, view it on GitHub
<https://gist.github.com/393c90ca7a64cbe5ab213ef12bd3bff8#gistcomment-4052829>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AWGLF3TDM4ZETKHUVGMYYELUZL6QTANCNFSM5J2YD3QQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
"you have to repaste it cause of the update."
…On Sat, Mar 26, 2022 at 2:15 PM Rivzer ***@***.***> wrote:
***@***.**** commented on this gist.
------------------------------
The plugin won't work anymore for me
—
Reply to this email directly, view it on GitHub
<https://gist.github.com/393c90ca7a64cbe5ab213ef12bd3bff8#gistcomment-4111296>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AWGLF3RFH4T4Z63YFGV3OSDVB4EYHANCNFSM5J2YD3QQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
it wasnt working for me at all im not sure why
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
Just download it and use it as normal BetterDiscord plugin lol