diff --git a/src/plugins/consoleShortcuts/index.ts b/src/plugins/consoleShortcuts/index.ts index a856d0a0f..2f8a240aa 100644 --- a/src/plugins/consoleShortcuts/index.ts +++ b/src/plugins/consoleShortcuts/index.ts @@ -95,6 +95,8 @@ function makeShortcuts() { findAllComponentsByCode: (...code: string[]) => cacheFindAll(filters.byComponentCode(...code)), findExportedComponent: (...props: string[]) => findByProps(...props)[props[0]], findStore: newFindWrapper(filters.byStoreName), + findByFactoryCode: newFindWrapper(filters.byFactoryCode), + findAllByFactoryCode: (...code: string[]) => cacheFindAll(filters.byFactoryCode(...code)), PluginsApi: { getter: () => Vencord.Plugins }, plugins: { getter: () => Vencord.Plugins.plugins }, Settings: { getter: () => Vencord.Settings },