Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // this part enables developer activity shelf,
- // you might have an option for it already in [options -> advanced]
- let wreq; webpackChunkdiscord_app.push([[Symbol()],{},(r) => wreq = r]);
- webpackChunkdiscord_app.pop();
- let _mods = Object.values(wreq.c);
- const findByProps = (...props) => {
- for (let m of _mods) {
- try {
- if (!m.exports || m.exports === window) continue;
- if (props.every((x) => m.exports?.[x])) return m.exports;
- for (let ex in m.exports) {
- if (props.every((x) => m.exports?.[ex]?.[x])) return m.exports[ex];
- }
- } catch {}
- }
- }
- // // // // // // // // // // // // // // // // // //
- let appID = "insert here";
- // activity ids: https://gist.github.com/GeneralSadaf/42d91a2b6a93a7db7a39208f2d8b53ad
- findByProps("isDispatching").dispatch({
- type: "DEVELOPER_TEST_MODE_AUTHORIZATION_SUCCESS",
- applicationId: appID,
- originURL: `https://localhost:3000`
- })
- findByProps("inTestModeForEmbeddedApplication").inTestModeForEmbeddedApplication(appId);
- console.log(`%c[activity] %cenabled %c${appId}%c.`, 'color: #FF873D', '', 'color: #FFD34F', '');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement