aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/consoleShortcuts.ts
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-11-12 15:09:02 +0100
committerVendicated <vendicated@riseup.net>2022-11-12 17:20:19 +0100
commit81edc1407071c6c0328f40a1ee487ea0388b9a7e (patch)
tree42c54ab94a58d9ffd5a2b201cfe9539a158386e4 /src/plugins/consoleShortcuts.ts
parentb48c8d8a4a003ffe4bdee4c3ba3ae6f54ce1f317 (diff)
downloadVencord-81edc1407071c6c0328f40a1ee487ea0388b9a7e.tar.gz
Vencord-81edc1407071c6c0328f40a1ee487ea0388b9a7e.tar.bz2
Vencord-81edc1407071c6c0328f40a1ee487ea0388b9a7e.zip
fix PronounDB crash with new profile in dms, force start dependencies
Diffstat (limited to 'src/plugins/consoleShortcuts.ts')
-rw-r--r--src/plugins/consoleShortcuts.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/consoleShortcuts.ts b/src/plugins/consoleShortcuts.ts
index 6cfa357..eeb5d8d 100644
--- a/src/plugins/consoleShortcuts.ts
+++ b/src/plugins/consoleShortcuts.ts
@@ -37,6 +37,7 @@ export default definePlugin({
wreq: Vencord.Webpack.wreq,
wpsearch: Vencord.Webpack.search,
wpex: Vencord.Webpack.extract,
+ wpexs: (code: string) => Vencord.Webpack.extract(Vencord.Webpack.findModuleId(code)!),
findByProps: Vencord.Webpack.findByProps,
find: Vencord.Webpack.find,
Plugins: Vencord.Plugins,