Skip to content

Instantly share code, notes, and snippets.

@Joshix-1
Last active July 21, 2026 04:42
Show Gist options
  • Select an option

  • Save Joshix-1/393c90ca7a64cbe5ab213ef12bd3bff8 to your computer and use it in GitHub Desktop.

Select an option

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.
//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;
}
}
@WindAdvisory

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment