This document defines a WebpackModules object that can be used to find modules loaded by webpack. It first checks if the DiscordInternals library is available and at a sufficient version. If so, it uses the WebpackModules from that library. Otherwise, it defines its own find method to search through the webpack jsonp and loaded modules to find a module matching a filter. It also defines findByUniqueProperties and findByDisplayName convenience methods. Finally, it patches the isDeveloper property on a module found by unique properties to enable developer tools.
This document defines a WebpackModules object that can be used to find modules loaded by webpack. It first checks if the DiscordInternals library is available and at a sufficient version. If so, it uses the WebpackModules from that library. Otherwise, it defines its own find method to search through the webpack jsonp and loaded modules to find a module matching a filter. It also defines findByUniqueProperties and findByDisplayName convenience methods. Finally, it patches the isDeveloper property on a module found by unique properties to enable developer tools.
This document defines a WebpackModules object that can be used to find modules loaded by webpack. It first checks if the DiscordInternals library is available and at a sufficient version. If so, it uses the WebpackModules from that library. Otherwise, it defines its own find method to search through the webpack jsonp and loaded modules to find a module matching a filter. It also defines findByUniqueProperties and findByDisplayName convenience methods. Finally, it patches the isDeveloper property on a module found by unique properties to enable developer tools.
This document defines a WebpackModules object that can be used to find modules loaded by webpack. It first checks if the DiscordInternals library is available and at a sufficient version. If so, it uses the WebpackModules from that library. Otherwise, it defines its own find method to search through the webpack jsonp and loaded modules to find a module matching a filter. It also defines findByUniqueProperties and findByDisplayName convenience methods. Finally, it patches the isDeveloper property on a module found by unique properties to enable developer tools.