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
↓ 6 callers
Function
formatBytes
(bytes?: number)
music_hub/music_hub.ts:247
↓ 6 callers
Method
formatCommitMessage
* 格式化提交消息 * @param {string} message * @returns {string}
scripts/update-template.js:709
↓ 6 callers
Method
formatPrice
(value: number)
rate/rate.ts:559
↓ 6 callers
Method
generateMessageLink
(chatId: string, messageId: number)
save/save.ts:459
↓ 6 callers
Function
getActiveLifecycle
()
pmcaptcha/pmcaptcha.ts:676
↓ 6 callers
Function
getAllShiftRules
()
shift/shift.ts:407
↓ 6 callers
Method
getConfig
()
music_hub/music_hub.ts:439
↓ 6 callers
Function
getDB
()
acron/acron.ts:121
↓ 6 callers
Function
getDB
()
kitt/kitt.ts:55
↓ 6 callers
Function
getMessageText
(m?: Api.Message | null)
ai/ai.ts:490
↓ 6 callers
Function
getTask
(chatId: string)
da/da.ts:67
↓ 6 callers
Function
getUserIdString
(user: Api.User)
admin_board/admin_board.ts:227
↓ 6 callers
Method
hasCmd
(cmd: string)
openlist/openlist.ts:836
↓ 6 callers
Function
htmlEscape
(text: string)
epic/epic.ts:10
↓ 6 callers
Function
htmlEscape
(text: string)
dc/dc.ts:6
↓ 6 callers
Function
htmlEscape
(text: string)
ids/ids.ts:9
↓ 6 callers
Function
htmlEscape
(input: string)
codex_image/codex_image.ts:38
↓ 6 callers
Function
htmlEscape
(text: string)
ai/ai.ts:496
↓ 6 callers
Function
htmlEscape
(text: string)
his/his.ts:19
↓ 6 callers
Function
htmlEscape
(text: string)
soutu/soutu.ts:9
↓ 6 callers
Function
htmlEscape
(text: unknown)
tts/tts.ts:75
↓ 6 callers
Method
init
()
autochangename/autochangename.ts:187
↓ 6 callers
Function
isAbortError
(error: unknown)
shift/shift.ts:537
↓ 6 callers
Function
isBot
(client: TelegramClient, userId: number)
pmcaptcha/pmcaptcha.ts:407
↓ 6 callers
Method
normalize
()
im/im.ts:159
↓ 6 callers
Function
pad
(n: number, w = 2)
ntp/ntp.ts:207
↓ 6 callers
Function
parseDataUrl
( url: string, )
ai/ai.ts:621
↓ 6 callers
Function
removeCaptchaState
(userId: number)
pmcaptcha/pmcaptcha.ts:700
↓ 6 callers
Function
restartSSHService
()
ssh/ssh.ts:213
↓ 6 callers
Method
safeGetInputEntity
( client: TelegramClient, target: any )
aban/aban.ts:272
↓ 6 callers
Method
saveConfig
()
autodelcmd/autodelcmd.ts:260
↓ 6 callers
Function
saveUserData
(userData: AllUserData)
t/t.ts:65
↓ 6 callers
Function
shellEscape
(arg: string)
ssh/ssh.ts:32
↓ 6 callers
Function
splitLongMessage
(text: string, maxLength = 4000)
subinfo/subinfo.ts:241
↓ 6 callers
Function
unitConvert
( bytes: number, isBytes: boolean = false )
speedtest/speedtest.ts:354
↓ 5 callers
Method
addLine
(str: string)
trace/trace.ts:105
↓ 5 callers
Function
cacheUserFromSender
(sender: any)
pmcaptcha/pmcaptcha.ts:352
↓ 5 callers
Function
cleanup
()
ntp/ntp.ts:82
↓ 5 callers
Function
createProviderProfile
( id: ProviderType, options: Omit<ProviderProfile, "id">, )
ai/ai.ts:230
↓ 5 callers
Function
downloadCli
()
speedtest/speedtest.ts:243
↓ 5 callers
Method
editOrReplaceSessionMessage
( msg: Api.Message, session: SearchSession, text: string, parseMode: "html" | undefined = "htm
music_hub/music_hub.ts:707
↓ 5 callers
Function
exec
( text: string, msg: Api.Message, trigger?: Api.Message, options?: { isEdited?: boolean } )
kitt/kitt.ts:168
↓ 5 callers
Function
extractQuestionFromArgs
(args: string[], replyMsg?: Api.Message | null)
outdated/gemini/gemini.ts:1030
↓ 5 callers
Method
fetchBinancePrice
(symbol: string)
rate/rate.ts:338
↓ 5 callers
Function
getAllServers
()
speedtest/speedtest.ts:792
↓ 5 callers
Method
getChatDisplayName
(chatId: string)
save/save.ts:254
↓ 5 callers
Method
getChatId
(msg: Api.Message)
pangu/pangu.ts:230
↓ 5 callers
Method
getChatType
(message: Api.Message)
aban/aban.ts:255
↓ 5 callers
Method
getConfig
()
im/im.ts:147
↓ 5 callers
Method
getCurrentProviderConfig
( type: "chat" | "search" | "image" | "video", )
ai/ai.ts:2546
↓ 5 callers
Function
getGeminiClient
()
outdated/gemini/gemini.ts:895
↓ 5 callers
Method
getLocalSaveRoot
()
save/save.ts:145
↓ 5 callers
Function
getLotteryParticipants
(lotteryId: number)
lottery/lottery.ts:404
↓ 5 callers
Method
getMainPrefix
()
deepwiki/deepwiki.ts:684
↓ 5 callers
Function
getPeerId
(client: TelegramClient, msg: Api.Message, chatIdStr?: string)
im/im.ts:82
↓ 5 callers
Function
getPopSentence
( filename: string, originals: string[] = [], replacers: string[] = [] )
fadian/fadian.ts:102
↓ 5 callers
Method
getSession
(msg: Api.Message)
music_hub/music_hub.ts:620
↓ 5 callers
Function
getTextAfterTokens
(text: string, count: number)
admin_board/admin_board.ts:134
↓ 5 callers
Method
handleBasicCommand
( client: TelegramClient, message: Api.Message, action: 'kick' | 'ban' | 'unban' | 'mute' | 'unmut
aban/aban.ts:1135
↓ 5 callers
Function
htmlEscape
(text: string)
clean_member/clean_member.ts:13
↓ 5 callers
Function
htmlEscape
(text: string)
eatgif/eatgif.ts:78
↓ 5 callers
Function
htmlEscape
(text: string)
hitokoto/hitokoto.ts:58
↓ 5 callers
Function
htmlEscape
(text: string)
tmp_admin/tmp_admin.ts:103
↓ 5 callers
Function
htmlEscape
(text: string)
qr/qr.ts:16
↓ 5 callers
Function
htmlEscape
(text: string)
annualreport/annualreport.ts:11
↓ 5 callers
Function
htmlEscape
(text: string)
botmzt/botmzt.ts:10
↓ 5 callers
Function
htmlEscape
(text: string)
clean/clean.ts:13
↓ 5 callers
Method
htmlEscape
(text: string)
calc/calc.ts:266
↓ 5 callers
Method
init
()
music/music.ts:327
↓ 5 callers
Method
initDatabase
()
teletype/teletype.ts:51
↓ 5 callers
Method
isAdContent
(message: Api.Message)
search/search.ts:674
↓ 5 callers
Function
isTemporaryAdminParticipant
(participant?: any)
tmp_admin/tmp_admin.ts:296
↓ 5 callers
Function
lifecycleSleep
(ms: number, label: string)
sticker/sticker.ts:140
↓ 5 callers
Function
messageHasReply
(msg: Api.Message)
tmp_admin/tmp_admin.ts:215
↓ 5 callers
Function
modeLabel
(m: CaptchaMode)
pmcaptcha/pmcaptcha.ts:812
↓ 5 callers
Method
normalizeSearchTerm
(text: string)
search/search.ts:658
↓ 5 callers
Function
normalizeSource
(input?: string)
music_hub/music_hub.ts:185
↓ 5 callers
Function
normalizeTag
(v: string)
deepwiki/deepwiki.ts:483
↓ 5 callers
Function
peerIdNumber
(peer: any)
quote/quote.ts:317
↓ 5 callers
Function
requireOrInstall
(pkg: string)
quote/quote.ts:103
↓ 5 callers
Method
resolveMode
( providerConfig: ProviderConfig, mode: ProviderMode, model: string, )
ai/ai.ts:2577
↓ 5 callers
Method
resolveParticipant
( client: TelegramClient, userId: number, participant?: any )
aban/aban.ts:707
↓ 5 callers
Function
resolveTargetChat
( msg: Api.Message, rawTarget?: string, )
admin_board/admin_board.ts:337
↓ 5 callers
Function
resolveUser
(client: TelegramClient, arg: string)
pmcaptcha/pmcaptcha.ts:1423
↓ 5 callers
Method
safeDelete
(msg: Api.Message)
clean/clean.ts:512
↓ 5 callers
Method
saveToDB
()
sendat/sendat.ts:238
↓ 5 callers
Function
scheduleTimer
(fn: () => void, ms: number)
bulk_delete/bulk_delete.ts:268
↓ 5 callers
Method
sendHtml
( msg: Api.Message, html: string, replyToId?: number, linkPreview?: boolean, )
ai/ai.ts:1509
↓ 5 callers
Method
set
(key: string, value: string)
convert/convert.ts:65
↓ 5 callers
Function
sleep
(ms: number)
outdated/gpt/gpt.ts:216
↓ 5 callers
Function
truncateBySections
(text: string, maxLen: number)
deepwiki/deepwiki.ts:533
↓ 4 callers
Method
_log
(level, emoji, message, data = null)
scripts/update-template.js:55
↓ 4 callers
Function
abortableSleep
(ms: number, signal?: AbortSignal)
shift/shift.ts:547
↓ 4 callers
Method
add
(fromCid: number, toCid: number)
keyword/keyword.ts:352
↓ 4 callers
Function
addWord
(counts: Map<string, number>, word: string, weight = 1)
cy/cy.ts:180
↓ 4 callers
Function
archiveChat
(client: TelegramClient, userId: number)
pmcaptcha/pmcaptcha.ts:414
↓ 4 callers
Function
buildFooter
()
pmcaptcha/pmcaptcha.ts:736
↓ 4 callers
Function
callGeminiChat
( prompt: string, useSearch: boolean = false, imageData?: string )
outdated/gemini/gemini.ts:905
↓ 4 callers
Function
clampFraction
(value?: number)
music_hub/music_hub.ts:265
↓ 4 callers
Method
cleanResponseText
(text: string)
outdated/gemini/gemini.ts:415
← previous
next →
201–300 of 2,362, ranked by callers