|
|
@ -410,7 +410,7 @@ function runTime(token: string) {
|
|
|
|
const [code, matcher] = args;
|
|
|
|
const [code, matcher] = args;
|
|
|
|
|
|
|
|
|
|
|
|
const module = Vencord.Webpack.findModuleFactory(...code);
|
|
|
|
const module = Vencord.Webpack.findModuleFactory(...code);
|
|
|
|
if (module) result = module.toString().match(matcher);
|
|
|
|
if (module) result = module.toString().match(Vencord.Util.canonicalizeMatch(matcher));
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
// @ts-ignore
|
|
|
|
// @ts-ignore
|
|
|
|
result = Vencord.Webpack[method](...args);
|
|
|
|
result = Vencord.Webpack[method](...args);
|
|
|
|