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

Method selectRandomVideo

search/search.ts:681–683  ·  view source on GitHub ↗
(videos: Api.Message[])

Source from the content-addressed store, hash-verified

679 }
680
681 private selectRandomVideo(videos: Api.Message[]): Api.Message {
682 return videos[Math.floor(Math.random() * videos.length)];
683 }
684}
685
686const so = async (msg: Api.Message) => {

Callers 1

findAndSendVideoMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected