Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TeleBoxOrg/TeleBox_Plugins
/ functions
Functions
2,362 in github.com/TeleBoxOrg/TeleBox_Plugins
⨍
Functions
2,362
◇
Types & classes
565
↓ 1 callers
Function
buildMessageText
(message: any)
biko/biko.ts:296
↓ 1 callers
Function
buildNormalizedFileName
(artist: string, title: string)
yt-dlp/yt-dlp.ts:241
↓ 1 callers
Method
buildPriceResponse
(price: number, cryptoSymbol: string, fiatSymbol: string, lastUpdated: Date)
rate/rate.ts:612
↓ 1 callers
Function
buildQAHtml
(headerLines: string[], question: string, answerMarkdown: string, collapseSafe: boolean)
deepwiki/deepwiki.ts:600
↓ 1 callers
Function
buildQuestionWithContext
(turns: ContextTurn[], userQuestion: string)
deepwiki/deepwiki.ts:557
↓ 1 callers
Method
buildRequestOptions
* 构建请求选项 * @param {string} prompt * @returns {Object}
scripts/update-template.js:328
↓ 1 callers
Function
buildResponsesInputContent
( text: string, images: AIContentPart[], )
ai/ai.ts:510
↓ 1 callers
Function
buildSortComment
( stat: AdminStat, index: number, total: number, )
admin_board/admin_board.ts:672
↓ 1 callers
Function
buildSortText
( target: TargetChat, stats: AdminStat[], counts: { totalCount: number; botCount: number; nonBotCount: n
admin_board/admin_board.ts:925
↓ 1 callers
Function
buildTailComment
( stat: AdminStat, index: number, total: number, )
admin_board/admin_board.ts:745
↓ 1 callers
Function
buildTailText
( target: TargetChat, stats: AdminStat[], counts: { totalCount: number; botCount: number; nonBotCount: n
admin_board/admin_board.ts:948
↓ 1 callers
Function
buildUserDisplayFromCache
( userId: string, cachedUser?: { name?: string; username?: string | null }, )
admin_board/admin_board.ts:267
↓ 1 callers
Function
buildUserDisplayFromId
(userId: string)
admin_board/admin_board.ts:263
↓ 1 callers
Method
buildVideoFilters
( flipMode: FlipMode, invertColors: boolean )
rev/rev.ts:456
↓ 1 callers
Method
buildWeatherReport
(data: OpenMeteoResponse, locationName: string)
weather/weather.ts:419
↓ 1 callers
Function
buildWordItems
(counts: Map<string, number>)
cy/cy.ts:228
↓ 1 callers
Function
calcWindDirection
(deg: number)
weather/weather.ts:100
↓ 1 callers
Method
calculate
(expression: string)
calc/calc.ts:192
↓ 1 callers
Function
calculateDailyUsage
(totalUsed: number, startTime: number, currentTime: number)
subinfo/subinfo.ts:112
↓ 1 callers
Method
calculateOffset
(text: string)
trace/trace.ts:123
↓ 1 callers
Function
calculateRemainingDailyAllowance
(remain: number, days: number)
subinfo/subinfo.ts:118
↓ 1 callers
Method
callAI
( question: string, images: AIContentPart[] = [], token?: AbortToken, )
ai/ai.ts:3639
↓ 1 callers
Function
callCodexImage
( prompt: string, referenceImage?: { buffer: Buffer; mimeType: string }, updateStatus?: StatusUpdater,
codex_image/codex_image.ts:141
↓ 1 callers
Function
callGemini
( apiKey: string, baseUrl: string, model: string, messages: string, prompt: string, timeout: numbe
sum/sum.ts:345
↓ 1 callers
Function
callGemini
( provider: Provider, prompt: string, content: string, timeout: number )
uai/uai.ts:159
↓ 1 callers
Method
callGemini
(question: string, imageInfo?: MediaInfo)
xmsl/xmsl.ts:677
↓ 1 callers
Function
callGeminiAPI
* 增强的 Gemini API 调用函数(向后兼容) * @param {string} apiKey - API 密钥 * @param {string} prompt - 提示词 * @returns {Promise<Object>} 调用结果
scripts/update-template.js:550
↓ 1 callers
Function
callOpenAI
( apiKey: string, baseUrl: string, model: string, messages: string, prompt: string, timeout: numbe
sum/sum.ts:306
↓ 1 callers
Function
callOpenAI
( provider: Provider, prompt: string, content: string, timeout: number )
uai/uai.ts:124
↓ 1 callers
Method
callOpenAI
(question: string, imageInfo?: MediaInfo)
xmsl/xmsl.ts:634
↓ 1 callers
Method
callSearch
( question: string, images: AIContentPart[] = [], token?: AbortToken, )
ai/ai.ts:3660
↓ 1 callers
Method
canDeleteMessages
( client: TelegramClient, chatId: any )
aban/aban.ts:570
↓ 1 callers
Method
cancelAllOperations
(reason?: string)
ai/ai.ts:3626
↓ 1 callers
Method
cancelAutoDelSetting
(msg: Api.Message, isGlobal: boolean)
autodel/autodel.ts:179
↓ 1 callers
Function
cast
()
zhijiao/zhijiao.ts:120
↓ 1 callers
Method
categorizeCommit
* 分类单个提交 * @param {Object} commit * @param {Object} structure
scripts/update-template.js:615
↓ 1 callers
Method
censorUrl
(url: string | null)
outdated/gemini/gemini.ts:138
↓ 1 callers
Method
changePassword
(msg: Api.Message, args: string[])
ssh/ssh.ts:902
↓ 1 callers
Method
changeSSHPort
(msg: Api.Message, portStr: string)
ssh/ssh.ts:940
↓ 1 callers
Method
chaos
(word: string, flag: string, chaosRate: number = 0.8)
yinglish/yinglish.ts:177
↓ 1 callers
Function
checkAdminPermissions
(msg: Api.Message)
clean_member/clean_member.ts:170
↓ 1 callers
Method
checkAllSources
(msg: Api.Message)
music_hub/music_hub.ts:1162
↓ 1 callers
Method
checkAndInstallDependencies
()
music/music.ts:169
↓ 1 callers
Method
checkAndInstallTools
()
getstickers/getstickers.ts:515
↓ 1 callers
Method
checkAndRepeat
(message: Api.Message)
autorepeat/autorepeat.ts:300
↓ 1 callers
Method
checkAndRun
()
checkin/checkin.ts:322
↓ 1 callers
Method
checkBanPermission
(client: any, chatId: any)
clean/clean.ts:599
↓ 1 callers
Function
checkCache
(chatId: number, mode: string, day: number, statusCallback?: (message: string, forceUpdate?: boolean) => Promi
clean_member/clean_member.ts:520
↓ 1 callers
Function
checkChatHistory
* 2. 聊天记录过白 (chat_history) * 用户历史消息数 >= N 时自动通过
pmcaptcha/pmcaptcha.ts:1127
↓ 1 callers
Method
checkDependencies
()
music/music.ts:897
↓ 1 callers
Method
checkFfmpeg
()
music/music.ts:215
↓ 1 callers
Function
checkGroupsInCommon
* 3. 共同群过白 (groups_in_common) * 用户与自己的共同群 >= N 个时自动通过
pmcaptcha/pmcaptcha.ts:1153
↓ 1 callers
Function
checkPortInUse
(port: number)
ssh/ssh.ts:60
↓ 1 callers
Function
checkPremium
* 5. Premium 用户处理 (premium) * allow: Premium 用户自动通过 * ban: Premium 用户自动拦截 * only: 仅允许 Premium 用户(非 Premium 自动拦截) * none: 不做特殊处理
pmcaptcha/pmcaptcha.ts:1215
↓ 1 callers
Method
checkSource
(source: SourceKey)
music_hub/music_hub.ts:1105
↓ 1 callers
Function
checkTgsDependencies
()
yvlu/yvlu.ts:69
↓ 1 callers
Method
checkWeatherWarnings
(current: any, daily: any)
weather/weather.ts:477
↓ 1 callers
Function
checkWordFilter
* 4. 关键词过白 (word_filter) * 消息包含白名单关键词 → 自动通过 * 消息包含黑名单关键词 → 自动拦截
pmcaptcha/pmcaptcha.ts:1178
↓ 1 callers
Method
chs2yin
(text: string, chaosRate: number = 0.8)
yinglish/yinglish.ts:291
↓ 1 callers
Function
chunkHtml
分割 HTML 文本为多个分段(避免超过长度限制)
javdb/javdb.ts:40
↓ 1 callers
Method
chunkMentions
(mentions: string[], header: string, maxLen = 3500, maxCount = 25)
atadmins/atadmins.ts:96
↓ 1 callers
Function
classifyError
(error: unknown)
cosplay/cosplay.ts:49
↓ 1 callers
Method
cleanBlockedPM
(client: any, msg: Api.Message, includeAll: boolean = false)
clean/clean.ts:327
↓ 1 callers
Method
cleanDeletedMember
(client: any, msg: Api.Message, cleanMembers: boolean = false)
clean/clean.ts:259
↓ 1 callers
Method
cleanDeletedPM
(client: any, msg: Api.Message, deleteDialogs: boolean = false)
clean/clean.ts:172
↓ 1 callers
Function
cleanTextForTTS
清理文本(emoji/不在白名单的符号;合并连续标点)
tts/tts.ts:35
↓ 1 callers
Method
cleanTraces
(msg: Api.Message)
trace/trace.ts:451
↓ 1 callers
Function
cleanup
(files: string[])
cosplay/cosplay.ts:276
↓ 1 callers
Method
cleanup
()
deepwiki/deepwiki.ts:650
↓ 1 callers
Method
cleanupAllTempFiles
()
convert/convert.ts:248
↓ 1 callers
Method
cleanupFiles
(paths: string[])
rev/rev.ts:337
↓ 1 callers
Method
cleanupFiles
(files: string[])
gif/gif.ts:445
↓ 1 callers
Function
cleanupGroupBuffers
()
shift/shift.ts:588
↓ 1 callers
Method
cleanupMessage
(msg: Api.Message)
rev/rev.ts:330
↓ 1 callers
Method
cleanupTempDirectory
()
save/save.ts:678
↓ 1 callers
Function
cleanupTempFile
(filePath?: string)
outdated/gpt/gpt.ts:564
↓ 1 callers
Method
cleanupTempFiles
(...files: (string | undefined)[])
convert/convert.ts:236
↓ 1 callers
Function
clearAllWarehouses
()
lottery/lottery.ts:290
↓ 1 callers
Method
clearAuthorizedKeys
(msg: Api.Message)
ssh/ssh.ts:753
↓ 1 callers
Function
clearAvgCache
(target?: TargetChat)
admin_board/admin_board.ts:497
↓ 1 callers
Method
clearCache
(msg: Api.Message)
fadian/fadian.ts:348
↓ 1 callers
Method
clearCache
()
aban/aban.ts:684
↓ 1 callers
Method
clearExitMessages
()
autodelcmd/autodelcmd.ts:294
↓ 1 callers
Method
clearHistory
(msg: Api.Message)
whois/whois.ts:612
↓ 1 callers
Method
clearRes
(msg: Api.Message)
eatgif/eatgif.ts:191
↓ 1 callers
Method
clearTempFiles
(msg: Api.Message)
gif/gif.ts:143
↓ 1 callers
Function
clearTrackedTimer
(timer: ReturnType<typeof setTimeout>)
im/im.ts:111
↓ 1 callers
Function
clearTrackedTimer
(timer: ReturnType<typeof setTimeout>)
autorepeat/autorepeat.ts:141
↓ 1 callers
Function
clearWarehouse
(warehouseName: string)
lottery/lottery.ts:279
↓ 1 callers
Method
clickCallbackButton
(client: any, peer: string, msg: Api.Message, target: SignTarget)
checkin/checkin.ts:494
↓ 1 callers
Method
closePort
(msg: Api.Message, portStr: string)
ssh/ssh.ts:1333
↓ 1 callers
Function
collectAdminStat
( target: TargetChat, user: Api.User, lockedSeatSet: Set<string>, )
admin_board/admin_board.ts:549
↓ 1 callers
Function
collectAnimatedEmojiIds
(messages: any[])
quote/quote.ts:837
↓ 1 callers
Function
collectAnimatedMediaMessages
(messages: any[])
quote/quote.ts:936
↓ 1 callers
Function
collectMessages
( client: any, sourceChat: ResolvedChat, sourceUser: ResolvedSourceUser, requestedCount: number, )
biko/biko.ts:420
↓ 1 callers
Function
collectMessages
(msg: Api.Message, args: QuoteArgs)
quote/quote.ts:1263
↓ 1 callers
Function
collectMessages
( client: any, peer: any, startId: number, desiredCount: number )
bs/bs.ts:563
↓ 1 callers
Function
collectOpenAISources
( data: any, )
ai/ai.ts:1899
↓ 1 callers
Function
collectWords
(text: string, counts: Map<string, number>)
cy/cy.ts:199
↓ 1 callers
Method
combine
( timeoutController: AbortController, externalToken?: AbortToken, )
ai/ai.ts:2420
← previous
next →
1,001–1,100 of 2,362, ranked by callers