MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / so

Function so

search/search.ts:686–693  ·  view source on GitHub ↗
(msg: Api.Message)

Source from the content-addressed store, hash-verified

684}
685
686const so = async (msg: Api.Message) => {
687 const client = await getGlobalClient();
688 if (!client) return;
689
690 const service = new SearchService(client);
691 await service.initialize();
692 await service.handle(msg);
693};
694
695class ChannelSearchPlugin extends Plugin {
696 cleanup(): void {

Callers

nothing calls this directly

Calls 2

initializeMethod · 0.95
handleMethod · 0.95

Tested by

no test coverage detected