MCPcopy Create free account

hub / github.com/TeleBoxOrg/TeleBox_Plugins / functions

Functions2,362 in github.com/TeleBoxOrg/TeleBox_Plugins

↓ 1 callersFunctionbuildMessageText
(message: any)
biko/biko.ts:296
↓ 1 callersFunctionbuildNormalizedFileName
(artist: string, title: string)
yt-dlp/yt-dlp.ts:241
↓ 1 callersMethodbuildPriceResponse
(price: number, cryptoSymbol: string, fiatSymbol: string, lastUpdated: Date)
rate/rate.ts:612
↓ 1 callersFunctionbuildQAHtml
(headerLines: string[], question: string, answerMarkdown: string, collapseSafe: boolean)
deepwiki/deepwiki.ts:600
↓ 1 callersFunctionbuildQuestionWithContext
(turns: ContextTurn[], userQuestion: string)
deepwiki/deepwiki.ts:557
↓ 1 callersMethodbuildRequestOptions
* 构建请求选项 * @param {string} prompt * @returns {Object}
scripts/update-template.js:328
↓ 1 callersFunctionbuildResponsesInputContent
( text: string, images: AIContentPart[], )
ai/ai.ts:510
↓ 1 callersFunctionbuildSortComment
( stat: AdminStat, index: number, total: number, )
admin_board/admin_board.ts:672
↓ 1 callersFunctionbuildSortText
( target: TargetChat, stats: AdminStat[], counts: { totalCount: number; botCount: number; nonBotCount: n
admin_board/admin_board.ts:925
↓ 1 callersFunctionbuildTailComment
( stat: AdminStat, index: number, total: number, )
admin_board/admin_board.ts:745
↓ 1 callersFunctionbuildTailText
( target: TargetChat, stats: AdminStat[], counts: { totalCount: number; botCount: number; nonBotCount: n
admin_board/admin_board.ts:948
↓ 1 callersFunctionbuildUserDisplayFromCache
( userId: string, cachedUser?: { name?: string; username?: string | null }, )
admin_board/admin_board.ts:267
↓ 1 callersFunctionbuildUserDisplayFromId
(userId: string)
admin_board/admin_board.ts:263
↓ 1 callersMethodbuildVideoFilters
( flipMode: FlipMode, invertColors: boolean )
rev/rev.ts:456
↓ 1 callersMethodbuildWeatherReport
(data: OpenMeteoResponse, locationName: string)
weather/weather.ts:419
↓ 1 callersFunctionbuildWordItems
(counts: Map<string, number>)
cy/cy.ts:228
↓ 1 callersFunctioncalcWindDirection
(deg: number)
weather/weather.ts:100
↓ 1 callersMethodcalculate
(expression: string)
calc/calc.ts:192
↓ 1 callersFunctioncalculateDailyUsage
(totalUsed: number, startTime: number, currentTime: number)
subinfo/subinfo.ts:112
↓ 1 callersMethodcalculateOffset
(text: string)
trace/trace.ts:123
↓ 1 callersFunctioncalculateRemainingDailyAllowance
(remain: number, days: number)
subinfo/subinfo.ts:118
↓ 1 callersMethodcallAI
( question: string, images: AIContentPart[] = [], token?: AbortToken, )
ai/ai.ts:3639
↓ 1 callersFunctioncallCodexImage
( prompt: string, referenceImage?: { buffer: Buffer; mimeType: string }, updateStatus?: StatusUpdater,
codex_image/codex_image.ts:141
↓ 1 callersFunctioncallGemini
( apiKey: string, baseUrl: string, model: string, messages: string, prompt: string, timeout: numbe
sum/sum.ts:345
↓ 1 callersFunctioncallGemini
( provider: Provider, prompt: string, content: string, timeout: number )
uai/uai.ts:159
↓ 1 callersMethodcallGemini
(question: string, imageInfo?: MediaInfo)
xmsl/xmsl.ts:677
↓ 1 callersFunctioncallGeminiAPI
* 增强的 Gemini API 调用函数(向后兼容) * @param {string} apiKey - API 密钥 * @param {string} prompt - 提示词 * @returns {Promise<Object>} 调用结果
scripts/update-template.js:550
↓ 1 callersFunctioncallOpenAI
( apiKey: string, baseUrl: string, model: string, messages: string, prompt: string, timeout: numbe
sum/sum.ts:306
↓ 1 callersFunctioncallOpenAI
( provider: Provider, prompt: string, content: string, timeout: number )
uai/uai.ts:124
↓ 1 callersMethodcallOpenAI
(question: string, imageInfo?: MediaInfo)
xmsl/xmsl.ts:634
↓ 1 callersMethodcallSearch
( question: string, images: AIContentPart[] = [], token?: AbortToken, )
ai/ai.ts:3660
↓ 1 callersMethodcanDeleteMessages
( client: TelegramClient, chatId: any )
aban/aban.ts:570
↓ 1 callersMethodcancelAllOperations
(reason?: string)
ai/ai.ts:3626
↓ 1 callersMethodcancelAutoDelSetting
(msg: Api.Message, isGlobal: boolean)
autodel/autodel.ts:179
↓ 1 callersFunctioncast
()
zhijiao/zhijiao.ts:120
↓ 1 callersMethodcategorizeCommit
* 分类单个提交 * @param {Object} commit * @param {Object} structure
scripts/update-template.js:615
↓ 1 callersMethodcensorUrl
(url: string | null)
outdated/gemini/gemini.ts:138
↓ 1 callersMethodchangePassword
(msg: Api.Message, args: string[])
ssh/ssh.ts:902
↓ 1 callersMethodchangeSSHPort
(msg: Api.Message, portStr: string)
ssh/ssh.ts:940
↓ 1 callersMethodchaos
(word: string, flag: string, chaosRate: number = 0.8)
yinglish/yinglish.ts:177
↓ 1 callersFunctioncheckAdminPermissions
(msg: Api.Message)
clean_member/clean_member.ts:170
↓ 1 callersMethodcheckAllSources
(msg: Api.Message)
music_hub/music_hub.ts:1162
↓ 1 callersMethodcheckAndInstallDependencies
()
music/music.ts:169
↓ 1 callersMethodcheckAndInstallTools
()
getstickers/getstickers.ts:515
↓ 1 callersMethodcheckAndRepeat
(message: Api.Message)
autorepeat/autorepeat.ts:300
↓ 1 callersMethodcheckAndRun
()
checkin/checkin.ts:322
↓ 1 callersMethodcheckBanPermission
(client: any, chatId: any)
clean/clean.ts:599
↓ 1 callersFunctioncheckCache
(chatId: number, mode: string, day: number, statusCallback?: (message: string, forceUpdate?: boolean) => Promi
clean_member/clean_member.ts:520
↓ 1 callersFunctioncheckChatHistory
* 2. 聊天记录过白 (chat_history) * 用户历史消息数 >= N 时自动通过
pmcaptcha/pmcaptcha.ts:1127
↓ 1 callersMethodcheckDependencies
()
music/music.ts:897
↓ 1 callersMethodcheckFfmpeg
()
music/music.ts:215
↓ 1 callersFunctioncheckGroupsInCommon
* 3. 共同群过白 (groups_in_common) * 用户与自己的共同群 >= N 个时自动通过
pmcaptcha/pmcaptcha.ts:1153
↓ 1 callersFunctioncheckPortInUse
(port: number)
ssh/ssh.ts:60
↓ 1 callersFunctioncheckPremium
* 5. Premium 用户处理 (premium) * allow: Premium 用户自动通过 * ban: Premium 用户自动拦截 * only: 仅允许 Premium 用户(非 Premium 自动拦截) * none: 不做特殊处理
pmcaptcha/pmcaptcha.ts:1215
↓ 1 callersMethodcheckSource
(source: SourceKey)
music_hub/music_hub.ts:1105
↓ 1 callersFunctioncheckTgsDependencies
()
yvlu/yvlu.ts:69
↓ 1 callersMethodcheckWeatherWarnings
(current: any, daily: any)
weather/weather.ts:477
↓ 1 callersFunctioncheckWordFilter
* 4. 关键词过白 (word_filter) * 消息包含白名单关键词 → 自动通过 * 消息包含黑名单关键词 → 自动拦截
pmcaptcha/pmcaptcha.ts:1178
↓ 1 callersMethodchs2yin
(text: string, chaosRate: number = 0.8)
yinglish/yinglish.ts:291
↓ 1 callersFunctionchunkHtml
分割 HTML 文本为多个分段(避免超过长度限制)
javdb/javdb.ts:40
↓ 1 callersMethodchunkMentions
(mentions: string[], header: string, maxLen = 3500, maxCount = 25)
atadmins/atadmins.ts:96
↓ 1 callersFunctionclassifyError
(error: unknown)
cosplay/cosplay.ts:49
↓ 1 callersMethodcleanBlockedPM
(client: any, msg: Api.Message, includeAll: boolean = false)
clean/clean.ts:327
↓ 1 callersMethodcleanDeletedMember
(client: any, msg: Api.Message, cleanMembers: boolean = false)
clean/clean.ts:259
↓ 1 callersMethodcleanDeletedPM
(client: any, msg: Api.Message, deleteDialogs: boolean = false)
clean/clean.ts:172
↓ 1 callersFunctioncleanTextForTTS
清理文本(emoji/不在白名单的符号;合并连续标点)
tts/tts.ts:35
↓ 1 callersMethodcleanTraces
(msg: Api.Message)
trace/trace.ts:451
↓ 1 callersFunctioncleanup
(files: string[])
cosplay/cosplay.ts:276
↓ 1 callersMethodcleanup
()
deepwiki/deepwiki.ts:650
↓ 1 callersMethodcleanupAllTempFiles
()
convert/convert.ts:248
↓ 1 callersMethodcleanupFiles
(paths: string[])
rev/rev.ts:337
↓ 1 callersMethodcleanupFiles
(files: string[])
gif/gif.ts:445
↓ 1 callersFunctioncleanupGroupBuffers
()
shift/shift.ts:588
↓ 1 callersMethodcleanupMessage
(msg: Api.Message)
rev/rev.ts:330
↓ 1 callersMethodcleanupTempDirectory
()
save/save.ts:678
↓ 1 callersFunctioncleanupTempFile
(filePath?: string)
outdated/gpt/gpt.ts:564
↓ 1 callersMethodcleanupTempFiles
(...files: (string | undefined)[])
convert/convert.ts:236
↓ 1 callersFunctionclearAllWarehouses
()
lottery/lottery.ts:290
↓ 1 callersMethodclearAuthorizedKeys
(msg: Api.Message)
ssh/ssh.ts:753
↓ 1 callersFunctionclearAvgCache
(target?: TargetChat)
admin_board/admin_board.ts:497
↓ 1 callersMethodclearCache
(msg: Api.Message)
fadian/fadian.ts:348
↓ 1 callersMethodclearCache
()
aban/aban.ts:684
↓ 1 callersMethodclearExitMessages
()
autodelcmd/autodelcmd.ts:294
↓ 1 callersMethodclearHistory
(msg: Api.Message)
whois/whois.ts:612
↓ 1 callersMethodclearRes
(msg: Api.Message)
eatgif/eatgif.ts:191
↓ 1 callersMethodclearTempFiles
(msg: Api.Message)
gif/gif.ts:143
↓ 1 callersFunctionclearTrackedTimer
(timer: ReturnType<typeof setTimeout>)
im/im.ts:111
↓ 1 callersFunctionclearTrackedTimer
(timer: ReturnType<typeof setTimeout>)
autorepeat/autorepeat.ts:141
↓ 1 callersFunctionclearWarehouse
(warehouseName: string)
lottery/lottery.ts:279
↓ 1 callersMethodclickCallbackButton
(client: any, peer: string, msg: Api.Message, target: SignTarget)
checkin/checkin.ts:494
↓ 1 callersMethodclosePort
(msg: Api.Message, portStr: string)
ssh/ssh.ts:1333
↓ 1 callersFunctioncollectAdminStat
( target: TargetChat, user: Api.User, lockedSeatSet: Set<string>, )
admin_board/admin_board.ts:549
↓ 1 callersFunctioncollectAnimatedEmojiIds
(messages: any[])
quote/quote.ts:837
↓ 1 callersFunctioncollectAnimatedMediaMessages
(messages: any[])
quote/quote.ts:936
↓ 1 callersFunctioncollectMessages
( client: any, sourceChat: ResolvedChat, sourceUser: ResolvedSourceUser, requestedCount: number, )
biko/biko.ts:420
↓ 1 callersFunctioncollectMessages
(msg: Api.Message, args: QuoteArgs)
quote/quote.ts:1263
↓ 1 callersFunctioncollectMessages
( client: any, peer: any, startId: number, desiredCount: number )
bs/bs.ts:563
↓ 1 callersFunctioncollectOpenAISources
( data: any, )
ai/ai.ts:1899
↓ 1 callersFunctioncollectWords
(text: string, counts: Map<string, number>)
cy/cy.ts:199
↓ 1 callersMethodcombine
( timeoutController: AbortController, externalToken?: AbortToken, )
ai/ai.ts:2420
← previousnext →1,001–1,100 of 2,362, ranked by callers