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

Method handleKkp

search/search.ts:413–415  ·  view source on GitHub ↗
(msg: Api.Message, useSpoiler: boolean)

Source from the content-addressed store, hash-verified

411 }
412
413 private async handleKkp(msg: Api.Message, useSpoiler: boolean) {
414 await this.findAndSendVideo(msg, null, useSpoiler, true, "kkp");
415 }
416
417 private async handleSearch(msg: Api.Message, query: string, useSpoiler: boolean, useRandom: boolean) {
418 if (!query) throw new Error("请输入搜索关键词。");

Callers 1

handleMethod · 0.95

Calls 1

findAndSendVideoMethod · 0.95

Tested by

no test coverage detected