Created
April 15, 2021 17:04
-
-
Save dumbasPL/4941b1ab64637b0d0c6ed9298c6cae79 to your computer and use it in GitHub Desktop.
Allows you to stream on discord in any quality (Doesn't require BetterDiscord)
This file contains hidden or 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
(() => { | |
const req = typeof(webpackJsonp) === "function" ? webpackJsonp([], { | |
'__extra_id__': (module, exports, req) => exports.default = req | |
}, ['__extra_id__']).default : webpackJsonp.push([[], { | |
'__extra_id__': (module, exports, req) => module.exports = req | |
}, [['__extra_id__']]]); | |
delete req.m['__extra_id__']; | |
delete req.c['__extra_id__']; | |
const find = (filter) => { | |
for (let i in req.c) { | |
if (req.c.hasOwnProperty(i)) { | |
let m = req.c[i].exports; | |
if (m && m.__esModule && m.default && filter(m.default)) | |
return m.default; | |
if (m && filter(m)) | |
return m; | |
} | |
} | |
return null; | |
}; | |
const findByUniqueProperties = (propNames) => find(module => propNames.every(prop => module[prop] !== undefined)); | |
findByUniqueProperties(["getCurrentUser"]).getCurrentUser().premiumType = 2; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment