Skip to content

Instantly share code, notes, and snippets.

View LunarN0v4's full-sized avatar
💠
Fall into the night, shattering the light.

Nova Notepad LunarN0v4

💠
Fall into the night, shattering the light.
View GitHub Profile
@aiko-chan-ai
aiko-chan-ai / discord_webpack.md
Last active March 30, 2024 03:02
Discord Webpack

Get + Find modules

!function(){"use strict";function e(){let e=window.webpackChunkdiscord_app.push([[Symbol()],{},e=>e]);return window.webpackChunkdiscord_app.pop(),e}function t(){let t=[];for(let n of Object.values(e().c))n.exports&&n.exports!==window&&t.push(n.exports);return t}function n(e){return t().find(e)}function r(e){return t().filter(e)}function o(e,t=!1){var o=t?[]:null;let i=(t?r:n)(function(n){let r=e(n);return r&&(t?o.push(r):o=r),r});return t?o.map((e,t)=>"string"==typeof e?i[t][e]:i[t]):"string"==typeof o?i[o]:i}function i(e,t){if(e?.displayName===t||"function"==typeof e?.getName&&e.getName()===t)return!0;for(let n of Object.getOwnPropertyNames(e)){try{e[n]}catch{console.warn("%c[elysia] %cFailed to access property","color: purple","",n,e);continue}if(e[n]?.displayName===t||"function"==typeof e[n]?.getName&&e[n]?.getName()===t)return n}}function l(e,t){var n=null;for(let r of t){if(e&&["object","function"].includes(typeof e)&&r in e)continue;let o=null;for(let i of Object.getOwnProper