1
0
Fork 1
mirror of https://github.com/Vendicated/Vencord.git synced 2025-01-10 18:06:22 +00:00

devCompanion: add findComponentByCode (#2026)

This commit is contained in:
AutumnVN 2023-12-07 04:27:06 +07:00 committed by Luna
parent 187f041c51
commit dc09a06163

View file

@ -215,6 +215,9 @@ function initWs(isManual = false) {
case "ModuleId":
results = Object.keys(search(parsedArgs[0]));
break;
case "ComponentByCode":
results = findAll(filters.componentByCode(...parsedArgs));
break;
default:
return reply("Unknown Find Type " + type);
}