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
↓ 2 callers
Function
cleanTextForTTS
清理文本(emoji/不在白名单的符号;合并连续标点)
t/t.ts:102
↓ 2 callers
Method
cleanTimeFromName
(name: string)
autochangename/autochangename.ts:528
↓ 2 callers
Function
cleanup
()
shift/shift.ts:565
↓ 2 callers
Method
cleanupTempFile
(filePath: string | null)
save/save.ts:665
↓ 2 callers
Function
clearCaptchaTimer
(state: CaptchaState)
pmcaptcha/pmcaptcha.ts:693
↓ 2 callers
Method
clearContext
(chatKey: string, tag?: string)
deepwiki/deepwiki.ts:321
↓ 2 callers
Method
closeResources
()
deepwiki/deepwiki.ts:660
↓ 2 callers
Function
codeTag
(text: string | number)
listusernames/listusernames.ts:16
↓ 2 callers
Function
collectDialogs
(params: Record<string, any>)
isalive/isalive.ts:279
↓ 2 callers
Function
collectDialogs
(params: Record<string, any>)
annualreport/annualreport.ts:20
↓ 2 callers
Function
collectImagePartsFromSingleMessage
( msg: Api.Message, out: AIContentPart[], )
ai/ai.ts:712
↓ 2 callers
Function
collectMessages
( chatPeerId: any, // msg.peerId filterSenderId: string | null, // senderId 用于过滤(数字形式的 userId) l
uai/uai.ts:212
↓ 2 callers
Function
collectResponsesSources
( item: any, )
ai/ai.ts:2018
↓ 2 callers
Function
convertAnimatedEmojiToPng
(buffer: Buffer)
quote/quote.ts:759
↓ 2 callers
Method
convertCookie
(cookie: string)
music/music.ts:1074
↓ 2 callers
Method
convertJsonToNetscape
(input: string)
music/music.ts:716
↓ 2 callers
Method
createArchive
(sourceDir: string, outputPath: string, files: string[])
ssh/ssh.ts:1531
↓ 2 callers
Method
createDefaultConfig
()
zpr/zpr.ts:136
↓ 2 callers
Function
createOpenAIProfile
( id: "openai-compatible" | "openai", )
ai/ai.ts:238
↓ 2 callers
Method
createTelegraphPage
( markdown: string, titleSource?: string, token?: AbortToken, )
ai/ai.ts:1218
↓ 2 callers
Method
debug
(message, data)
scripts/update-template.js:66
↓ 2 callers
Function
deduplicateCommits
(commits)
scripts/commit-summary.js:197
↓ 2 callers
Function
deleteCommandMessage
私聊删除命令:为双方删除;群/频道:仅自己删除
t/t.ts:210
↓ 2 callers
Function
deleteCommandMessage
私聊删除命令:为双方删除;群/频道:仅自己删除
tts/tts.ts:20
↓ 2 callers
Method
deleteHistoryInCurrentChat
( client: TelegramClient, chatId: any, userId: number, participant?: any )
aban/aban.ts:874
↓ 2 callers
Function
deleteInSavedMessages
* 收藏夹直接按数量删除(不做媒体编辑)
dme/dme.ts:611
↓ 2 callers
Method
demoteAdmin
(client: any, channel: any, userEntity: any, originalRank?: string)
tmp_admin/tmp_admin.ts:845
↓ 2 callers
Method
dirExists
(path: string)
openlist/openlist.ts:845
↓ 2 callers
Method
displayWhoisResult
(msg: Api.Message, record: WhoisRecord, fromCache: boolean)
whois/whois.ts:391
↓ 2 callers
Method
downloadAndUploadVideo
(originalMsg: Api.Message, video: Api.Message, spoiler: boolean = false, caption?: string | null)
search/search.ts:597
↓ 2 callers
Function
downloadMediaToBuffer
(client: any, target: any)
quote/quote.ts:614
↓ 2 callers
Function
downloadYtDlp
(msg: Api.Message, isUpdate: boolean = false)
yt-dlp/yt-dlp.ts:245
↓ 2 callers
Function
drainCaptchaStates
()
pmcaptcha/pmcaptcha.ts:708
↓ 2 callers
Function
drawPatternBackground
(canvas, colorOne, colorTwo, patternImage, lumOne, lumTwo)
quote/generate.js:140
↓ 2 callers
Function
editMediaMessageToAntiRecall
* 媒体消息防撤回处理
dme/dme.ts:133
↓ 2 callers
Function
editMessageIgnoringNotModified
( msg: Api.Message, options: Parameters<Api.Message["edit"]>[0] )
tmp_admin/tmp_admin.ts:120
↓ 2 callers
Function
editTextMessageToPlaceholder
( client: TelegramClient, message: Api.Message, chatEntity: any )
dme/dme.ts:193
↓ 2 callers
Function
emojiStatusIdFromEntity
(entity: any)
quote/quote.ts:431
↓ 2 callers
Function
ensureConfigLoaded
(msg?: Api.Message)
eat/eat.ts:372
↓ 2 callers
Function
ensureDependencies
()
qr/qr.ts:26
↓ 2 callers
Function
ensureDirectories
()
speedtest/speedtest.ts:180
↓ 2 callers
Function
ensureDirectories
()
clean_member/clean_member.ts:80
↓ 2 callers
Method
ensureInitialized
()
zpr/zpr.ts:192
↓ 2 callers
Function
execFileCaptureAsync
(cmd: string, args: string[], timeout = 10000)
quote/quote.ts:700
↓ 2 callers
Method
executeBackup
( taskId: string, options: BackupCallbacks, signal?: AbortSignal )
shift/shift.ts:930
↓ 2 callers
Function
executeSummary
(task: SummaryTask)
sum/sum.ts:727
↓ 2 callers
Method
executeTeletype
(msg: Api.Message, text: string)
teletype/teletype.ts:213
↓ 2 callers
Function
expandableBlock
(input: string)
codex_image/codex_image.ts:51
↓ 2 callers
Function
expireOldClaims
()
lottery/lottery.ts:513
↓ 2 callers
Function
extractDomainFromArgs
(args: string[])
dig/dig.ts:54
↓ 2 callers
Function
extractErrorMessage
(error: any)
ai/ai.ts:543
↓ 2 callers
Function
extractFileName
(message: any)
sum/sum.ts:469
↓ 2 callers
Function
extractGeminiVideoResult
( data: any, )
ai/ai.ts:2303
↓ 2 callers
Function
extractSongInfo
( geminiResponse: string, userInput: string )
music/music.ts:848
↓ 2 callers
Function
extractTopLevelDomain
(domain: string)
bgp/bgp.ts:190
↓ 2 callers
Function
extractUrlsFromEntities
(message: any)
sum/sum.ts:413
↓ 2 callers
Function
extractWhoisFromSSE
(raw: string)
whois/whois.ts:41
↓ 2 callers
Method
fastDeleteBatch
* 高速删除批处理(参考da.ts)
paolu/paolu.ts:265
↓ 2 callers
Method
fetchFiatRates
(base: string)
rate/rate.ts:286
↓ 2 callers
Method
findAndSendVideo
( msg: Api.Message, query: string | null, useSpoiler: boolean, useRandom: boolean, type: "
search/search.ts:422
↓ 2 callers
Method
findCallbackButton
(msg: Api.Message, target: SignTarget)
checkin/checkin.ts:506
↓ 2 callers
Method
finishSongSend
(msg: Api.Message, session?: SearchSession)
music_hub/music_hub.ts:784
↓ 2 callers
Function
fmtTime
(iso: string)
pmcaptcha/pmcaptcha.ts:1441
↓ 2 callers
Function
formatAvgPerDay
(value: number)
admin_board/admin_board.ts:203
↓ 2 callers
Function
formatDate
(dateStr: string)
epic/epic.ts:99
↓ 2 callers
Function
formatDateInTimeZone
(date, timeZone)
scripts/commit-summary.js:13
↓ 2 callers
Function
formatDateTimeWithOffset
(date, offsetMinutes)
scripts/commit-summary.js:15
↓ 2 callers
Function
formatEntity
( target: any, mention?: boolean, throwErrorIfFailed?: boolean )
manage_admin/manage_admin.ts:35
↓ 2 callers
Function
formatEntity
( target: any, mention?: boolean, throwErrorIfFailed?: boolean, )
dbdj/dbdj.ts:27
↓ 2 callers
Function
formatEntity
(target: any, mention?: boolean, throwErrorIfFailed?: boolean)
tmp_admin/tmp_admin.ts:309
↓ 2 callers
Function
formatEntity
( target: any, mention?: boolean, throwErrorIfFailed?: boolean )
shift/shift.ts:23
↓ 2 callers
Function
formatEntity
( target: any, mention?: boolean, throwErrorIfFailed?: boolean )
bs/bs.ts:107
↓ 2 callers
Method
formatLocalDirectorySummary
(savedFiles: LocalSavedFile[])
save/save.ts:197
↓ 2 callers
Function
formatMessagesForAI
(messageData: MessageData[])
sum/sum.ts:607
↓ 2 callers
Function
formatMessagesForAI
(messages: MessageData[])
uai/uai.ts:279
↓ 2 callers
Function
formatMode
(mode: BsMode)
bs/bs.ts:369
↓ 2 callers
Function
formatProviderTypeLabel
( providerConfig: Pick<ProviderConfig, "url" | "type">, )
ai/ai.ts:393
↓ 2 callers
Function
formatResponse
(question: string, answer: string)
outdated/gpt/gpt.ts:545
↓ 2 callers
Function
formatServerInfo
( server: Server, serviceData?: Map<string, number> )
nezha/nezha.ts:428
↓ 2 callers
Method
formatSize
(bytes: number)
music/music.ts:259
↓ 2 callers
Method
formatSourceLine
(chatLabel: string, chatId: string, messageId: number)
save/save.ts:214
↓ 2 callers
Function
formatSpeed
(bytes: number)
nezha/nezha.ts:135
↓ 2 callers
Function
forwardedSource
(msg: Api.Message)
quote/quote.ts:368
↓ 2 callers
Method
generateGeminiImageRest
( providerConfig: ProviderConfig, model: string, prompt: string, modeConfig: ProviderModeConfi
ai/ai.ts:3262
↓ 2 callers
Function
generatePrompt
* 生成增强版 Gemini AI 提示词 * @param {string} date - 日期字符串 YYYY-MM-DD * @param {string} version - 版本号 * @returns {string} 格式化的提示词
scripts/update-template.js:134
↓ 2 callers
Function
generateQRCode
(text: string)
qr/qr.ts:75
↓ 2 callers
Function
generateRandomSeed
* 生成随机种子
bizhi/bizhi.ts:88
↓ 2 callers
Method
generateSSHKeys
(msg: Api.Message, client: any, mode: "add" | "replace" = "add")
ssh/ssh.ts:445
↓ 2 callers
Method
generateTTS
(params: { model: string; contents: any[]; voiceName?: string; })
outdated/gemini/gemini.ts:708
↓ 2 callers
Function
generationDelay
(ms: number)
pmcaptcha/pmcaptcha.ts:228
↓ 2 callers
Method
get
(key: string, defaultValue?: string)
sticker/sticker.ts:49
↓ 2 callers
Method
getAccessToken
()
outdated/gemini/gemini.ts:525
↓ 2 callers
Method
getActionName
(action: string)
aban/aban.ts:1236
↓ 2 callers
Method
getAllTasks
()
sendat/sendat.ts:276
↓ 2 callers
Function
getAvgCacheKey
(target: TargetChat, userId: string)
admin_board/admin_board.ts:433
↓ 2 callers
Method
getBasicGroupChatId
(chatId: any)
aban/aban.ts:736
↓ 2 callers
Function
getCacheKey
(chatId: number, mode: string, day: number)
clean_member/clean_member.ts:60
↓ 2 callers
Function
getCachedAvgEntry
( target: TargetChat, userId: string, )
admin_board/admin_board.ts:437
↓ 2 callers
Method
getCachedResult
(domain: string)
whois/whois.ts:352
↓ 2 callers
Function
getChatIdFromMessage
(message: any, isEdited?: boolean)
shift/shift.ts:2186
← previous
next →
601–700 of 2,362, ranked by callers