├── README.md
└── BypassNSFW.plugin.js
/README.md:
--------------------------------------------------------------------------------
1 |
💬 BypassNSFW 💬
2 |
3 |
4 | Removes Discord's Age Gate, allowing you to view Age Restricted Content
5 |
6 |
7 | ## Installation
8 | ```js
9 | * Install BetterDiscord
10 | ```
11 |
12 | ## Usage:
13 | ```css
14 | * Import to Plugins folder
15 | ```
16 |
17 | ## Credits:
18 | > Discord : [Shifts#1337](https://discord.com/users/994717305542021244)
19 | >
Leave a ⭐
20 |
21 |
22 |
--------------------------------------------------------------------------------
/BypassNSFW.plugin.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @name BypassNSFW
3 | * @author Shifts
4 | * @authorId 994717305542021244
5 | * @description View Discord NSFW-Gated content without meeting the required age requirement.
6 | * @version 1.0.0
7 | * @source https://github.com/ignshifts/BypassNSFW
8 | * @updateUrl https://github.com/ignshifts/BypassNSFW/raw/main/BypassNSFW.plugin.js
9 | */
10 | module.exports = class Bypass {
11 |
12 | start() {
13 |
14 | // temp
15 | setInterval(async () => {
16 | await patch()
17 |
18 | }, 5000);
19 |
20 |
21 | async function patch() {
22 | const UserStore = BdApi.findModuleByProps('getCurrentUser', 'getUser').getCurrentUser();
23 | UserStore.nsfwAllowed = true;
24 |
25 | if (UserStore.nsfwAllowed == false) {
26 | UserStore.nsfwAllowed = true;
27 | }
28 | }
29 |
30 | }
31 |
32 | stop() {
33 | const UserStore = BdApi.findModuleByProps('getCurrentUser', 'getUser').getCurrentUser();
34 | UserStore.nsfwAllowed = false;
35 |
36 |
37 | };
38 | }
39 |
--------------------------------------------------------------------------------