MCPcopy Create free account

hub / github.com/TeleBoxOrg/TeleBox_Plugins / functions

Functions2,362 in github.com/TeleBoxOrg/TeleBox_Plugins

↓ 2 callersFunctioncleanTextForTTS
清理文本(emoji/不在白名单的符号;合并连续标点)
t/t.ts:102
↓ 2 callersMethodcleanTimeFromName
(name: string)
autochangename/autochangename.ts:528
↓ 2 callersFunctioncleanup
()
shift/shift.ts:565
↓ 2 callersMethodcleanupTempFile
(filePath: string | null)
save/save.ts:665
↓ 2 callersFunctionclearCaptchaTimer
(state: CaptchaState)
pmcaptcha/pmcaptcha.ts:693
↓ 2 callersMethodclearContext
(chatKey: string, tag?: string)
deepwiki/deepwiki.ts:321
↓ 2 callersMethodcloseResources
()
deepwiki/deepwiki.ts:660
↓ 2 callersFunctioncodeTag
(text: string | number)
listusernames/listusernames.ts:16
↓ 2 callersFunctioncollectDialogs
(params: Record<string, any>)
isalive/isalive.ts:279
↓ 2 callersFunctioncollectDialogs
(params: Record<string, any>)
annualreport/annualreport.ts:20
↓ 2 callersFunctioncollectImagePartsFromSingleMessage
( msg: Api.Message, out: AIContentPart[], )
ai/ai.ts:712
↓ 2 callersFunctioncollectMessages
( chatPeerId: any, // msg.peerId filterSenderId: string | null, // senderId 用于过滤(数字形式的 userId) l
uai/uai.ts:212
↓ 2 callersFunctioncollectResponsesSources
( item: any, )
ai/ai.ts:2018
↓ 2 callersFunctionconvertAnimatedEmojiToPng
(buffer: Buffer)
quote/quote.ts:759
↓ 2 callersMethodconvertCookie
(cookie: string)
music/music.ts:1074
↓ 2 callersMethodconvertJsonToNetscape
(input: string)
music/music.ts:716
↓ 2 callersMethodcreateArchive
(sourceDir: string, outputPath: string, files: string[])
ssh/ssh.ts:1531
↓ 2 callersMethodcreateDefaultConfig
()
zpr/zpr.ts:136
↓ 2 callersFunctioncreateOpenAIProfile
( id: "openai-compatible" | "openai", )
ai/ai.ts:238
↓ 2 callersMethodcreateTelegraphPage
( markdown: string, titleSource?: string, token?: AbortToken, )
ai/ai.ts:1218
↓ 2 callersMethoddebug
(message, data)
scripts/update-template.js:66
↓ 2 callersFunctiondeduplicateCommits
(commits)
scripts/commit-summary.js:197
↓ 2 callersFunctiondeleteCommandMessage
私聊删除命令:为双方删除;群/频道:仅自己删除
t/t.ts:210
↓ 2 callersFunctiondeleteCommandMessage
私聊删除命令:为双方删除;群/频道:仅自己删除
tts/tts.ts:20
↓ 2 callersMethoddeleteHistoryInCurrentChat
( client: TelegramClient, chatId: any, userId: number, participant?: any )
aban/aban.ts:874
↓ 2 callersFunctiondeleteInSavedMessages
* 收藏夹直接按数量删除(不做媒体编辑)
dme/dme.ts:611
↓ 2 callersMethoddemoteAdmin
(client: any, channel: any, userEntity: any, originalRank?: string)
tmp_admin/tmp_admin.ts:845
↓ 2 callersMethoddirExists
(path: string)
openlist/openlist.ts:845
↓ 2 callersMethoddisplayWhoisResult
(msg: Api.Message, record: WhoisRecord, fromCache: boolean)
whois/whois.ts:391
↓ 2 callersMethoddownloadAndUploadVideo
(originalMsg: Api.Message, video: Api.Message, spoiler: boolean = false, caption?: string | null)
search/search.ts:597
↓ 2 callersFunctiondownloadMediaToBuffer
(client: any, target: any)
quote/quote.ts:614
↓ 2 callersFunctiondownloadYtDlp
(msg: Api.Message, isUpdate: boolean = false)
yt-dlp/yt-dlp.ts:245
↓ 2 callersFunctiondrainCaptchaStates
()
pmcaptcha/pmcaptcha.ts:708
↓ 2 callersFunctiondrawPatternBackground
(canvas, colorOne, colorTwo, patternImage, lumOne, lumTwo)
quote/generate.js:140
↓ 2 callersFunctioneditMediaMessageToAntiRecall
* 媒体消息防撤回处理
dme/dme.ts:133
↓ 2 callersFunctioneditMessageIgnoringNotModified
( msg: Api.Message, options: Parameters<Api.Message["edit"]>[0] )
tmp_admin/tmp_admin.ts:120
↓ 2 callersFunctioneditTextMessageToPlaceholder
( client: TelegramClient, message: Api.Message, chatEntity: any )
dme/dme.ts:193
↓ 2 callersFunctionemojiStatusIdFromEntity
(entity: any)
quote/quote.ts:431
↓ 2 callersFunctionensureConfigLoaded
(msg?: Api.Message)
eat/eat.ts:372
↓ 2 callersFunctionensureDependencies
()
qr/qr.ts:26
↓ 2 callersFunctionensureDirectories
()
speedtest/speedtest.ts:180
↓ 2 callersFunctionensureDirectories
()
clean_member/clean_member.ts:80
↓ 2 callersMethodensureInitialized
()
zpr/zpr.ts:192
↓ 2 callersFunctionexecFileCaptureAsync
(cmd: string, args: string[], timeout = 10000)
quote/quote.ts:700
↓ 2 callersMethodexecuteBackup
( taskId: string, options: BackupCallbacks, signal?: AbortSignal )
shift/shift.ts:930
↓ 2 callersFunctionexecuteSummary
(task: SummaryTask)
sum/sum.ts:727
↓ 2 callersMethodexecuteTeletype
(msg: Api.Message, text: string)
teletype/teletype.ts:213
↓ 2 callersFunctionexpandableBlock
(input: string)
codex_image/codex_image.ts:51
↓ 2 callersFunctionexpireOldClaims
()
lottery/lottery.ts:513
↓ 2 callersFunctionextractDomainFromArgs
(args: string[])
dig/dig.ts:54
↓ 2 callersFunctionextractErrorMessage
(error: any)
ai/ai.ts:543
↓ 2 callersFunctionextractFileName
(message: any)
sum/sum.ts:469
↓ 2 callersFunctionextractGeminiVideoResult
( data: any, )
ai/ai.ts:2303
↓ 2 callersFunctionextractSongInfo
( geminiResponse: string, userInput: string )
music/music.ts:848
↓ 2 callersFunctionextractTopLevelDomain
(domain: string)
bgp/bgp.ts:190
↓ 2 callersFunctionextractUrlsFromEntities
(message: any)
sum/sum.ts:413
↓ 2 callersFunctionextractWhoisFromSSE
(raw: string)
whois/whois.ts:41
↓ 2 callersMethodfastDeleteBatch
* 高速删除批处理(参考da.ts)
paolu/paolu.ts:265
↓ 2 callersMethodfetchFiatRates
(base: string)
rate/rate.ts:286
↓ 2 callersMethodfindAndSendVideo
( msg: Api.Message, query: string | null, useSpoiler: boolean, useRandom: boolean, type: "
search/search.ts:422
↓ 2 callersMethodfindCallbackButton
(msg: Api.Message, target: SignTarget)
checkin/checkin.ts:506
↓ 2 callersMethodfinishSongSend
(msg: Api.Message, session?: SearchSession)
music_hub/music_hub.ts:784
↓ 2 callersFunctionfmtTime
(iso: string)
pmcaptcha/pmcaptcha.ts:1441
↓ 2 callersFunctionformatAvgPerDay
(value: number)
admin_board/admin_board.ts:203
↓ 2 callersFunctionformatDate
(dateStr: string)
epic/epic.ts:99
↓ 2 callersFunctionformatDateInTimeZone
(date, timeZone)
scripts/commit-summary.js:13
↓ 2 callersFunctionformatDateTimeWithOffset
(date, offsetMinutes)
scripts/commit-summary.js:15
↓ 2 callersFunctionformatEntity
( target: any, mention?: boolean, throwErrorIfFailed?: boolean )
manage_admin/manage_admin.ts:35
↓ 2 callersFunctionformatEntity
( target: any, mention?: boolean, throwErrorIfFailed?: boolean, )
dbdj/dbdj.ts:27
↓ 2 callersFunctionformatEntity
(target: any, mention?: boolean, throwErrorIfFailed?: boolean)
tmp_admin/tmp_admin.ts:309
↓ 2 callersFunctionformatEntity
( target: any, mention?: boolean, throwErrorIfFailed?: boolean )
shift/shift.ts:23
↓ 2 callersFunctionformatEntity
( target: any, mention?: boolean, throwErrorIfFailed?: boolean )
bs/bs.ts:107
↓ 2 callersMethodformatLocalDirectorySummary
(savedFiles: LocalSavedFile[])
save/save.ts:197
↓ 2 callersFunctionformatMessagesForAI
(messageData: MessageData[])
sum/sum.ts:607
↓ 2 callersFunctionformatMessagesForAI
(messages: MessageData[])
uai/uai.ts:279
↓ 2 callersFunctionformatMode
(mode: BsMode)
bs/bs.ts:369
↓ 2 callersFunctionformatProviderTypeLabel
( providerConfig: Pick<ProviderConfig, "url" | "type">, )
ai/ai.ts:393
↓ 2 callersFunctionformatResponse
(question: string, answer: string)
outdated/gpt/gpt.ts:545
↓ 2 callersFunctionformatServerInfo
( server: Server, serviceData?: Map<string, number> )
nezha/nezha.ts:428
↓ 2 callersMethodformatSize
(bytes: number)
music/music.ts:259
↓ 2 callersMethodformatSourceLine
(chatLabel: string, chatId: string, messageId: number)
save/save.ts:214
↓ 2 callersFunctionformatSpeed
(bytes: number)
nezha/nezha.ts:135
↓ 2 callersFunctionforwardedSource
(msg: Api.Message)
quote/quote.ts:368
↓ 2 callersMethodgenerateGeminiImageRest
( providerConfig: ProviderConfig, model: string, prompt: string, modeConfig: ProviderModeConfi
ai/ai.ts:3262
↓ 2 callersFunctiongeneratePrompt
* 生成增强版 Gemini AI 提示词 * @param {string} date - 日期字符串 YYYY-MM-DD * @param {string} version - 版本号 * @returns {string} 格式化的提示词
scripts/update-template.js:134
↓ 2 callersFunctiongenerateQRCode
(text: string)
qr/qr.ts:75
↓ 2 callersFunctiongenerateRandomSeed
* 生成随机种子
bizhi/bizhi.ts:88
↓ 2 callersMethodgenerateSSHKeys
(msg: Api.Message, client: any, mode: "add" | "replace" = "add")
ssh/ssh.ts:445
↓ 2 callersMethodgenerateTTS
(params: { model: string; contents: any[]; voiceName?: string; })
outdated/gemini/gemini.ts:708
↓ 2 callersFunctiongenerationDelay
(ms: number)
pmcaptcha/pmcaptcha.ts:228
↓ 2 callersMethodget
(key: string, defaultValue?: string)
sticker/sticker.ts:49
↓ 2 callersMethodgetAccessToken
()
outdated/gemini/gemini.ts:525
↓ 2 callersMethodgetActionName
(action: string)
aban/aban.ts:1236
↓ 2 callersMethodgetAllTasks
()
sendat/sendat.ts:276
↓ 2 callersFunctiongetAvgCacheKey
(target: TargetChat, userId: string)
admin_board/admin_board.ts:433
↓ 2 callersMethodgetBasicGroupChatId
(chatId: any)
aban/aban.ts:736
↓ 2 callersFunctiongetCacheKey
(chatId: number, mode: string, day: number)
clean_member/clean_member.ts:60
↓ 2 callersFunctiongetCachedAvgEntry
( target: TargetChat, userId: string, )
admin_board/admin_board.ts:437
↓ 2 callersMethodgetCachedResult
(domain: string)
whois/whois.ts:352
↓ 2 callersFunctiongetChatIdFromMessage
(message: any, isEdited?: boolean)
shift/shift.ts:2186
← previousnext →601–700 of 2,362, ranked by callers