MCPcopy Create free account

hub / github.com/7xrrr/discord-quests-bot / functions

Functions287 in github.com/7xrrr/discord-quests-bot

↓ 153 callersMethodt
(lang: string, key: string, variables: Record<string, string | number> = {})
src/core/i18n.ts:28
↓ 70 callersMethodget
(lang: string)
src/core/i18n.ts:57
↓ 52 callersMethoderror
(...args: any[])
src/core/logger.ts:161
↓ 40 callersMethodinfo
(...args: any[])
src/core/logger.ts:156
↓ 31 callersMethodhas
(key: string)
src/core/cooldown.ts:28
↓ 23 callersMethodstop
(immediate: boolean = false)
src/lib/quest/User.ts:130
↓ 23 callersMethodwarn
(...args: any[])
src/core/logger.ts:166
↓ 18 callersMethodtoString
()
src/utils/nunjucks.ts:13
↓ 17 callersMethodfilter
(i: any)
src/slashCommands/config/setLang.ts:53
↓ 16 callersMethodcreate
(key: string, time: number | string, saveDb: boolean = false)
src/core/cooldown.ts:24
↓ 16 callersFunctionformatDiscordTimestamp
( timestampMs: number, styleOrFormat: "Date" | 't' | 'T' | 'd' | 'D' | 'f' | 'F' | 'R' | string = 'R
src/utils/tools.ts:295
↓ 15 callersMethodsend
(message: ChildMessage)
src/lib/quest/User.ts:81
↓ 15 callersFunctiont
(key: string)
src/slashCommands/nitro/nitro.ts:94
↓ 14 callersFunctionsendToProcess
(message: ChildMessage)
src/childProcess/tools.ts:19
↓ 13 callersMethoddebug
(...args: any[])
src/core/logger.ts:171
↓ 12 callersMethodgetRepo
(entity: EntityTarget<T>)
src/core/DataSource.ts:31
↓ 12 callersMethodlogAndUpdate
(user: User, msg, log: string)
src/slashCommands/badge/badge.ts:53
↓ 11 callersMethoddelete
(key: string)
src/core/cooldown.ts:56
↓ 8 callersMethodgenreate_message
( )
src/lib/quest/User.ts:235
↓ 8 callersFunctionloadFolder
( folderPath: string, options: LoadFolderOptions = {} )
src/handler/folderLoader.ts:13
↓ 8 callersMethodsetCustomId
(customId: string)
src/lib/handler/TextInputBuilder.ts:34
↓ 7 callersMethodgetRemaining
()
src/core/cooldown.ts:95
↓ 7 callersMethodsetRequired
(required: boolean)
src/lib/handler/TextInputBuilder.ts:45
↓ 6 callersFunctionfindClosestIndexFolder
()
src/utils/tools.ts:572
↓ 6 callersFunctionfindProjectRoot
()
src/utils/tools.ts:208
↓ 6 callersFunctiongetIdFromToken
(token: string)
src/utils/quest/tokenUtils.ts:11
↓ 6 callersMethodsendUpdate
(progress: number, completed: boolean)
src/childProcess/childUser.ts:65
↓ 6 callersMethodsetLabel
(label: string)
src/lib/handler/TextInputBuilder.ts:24
↓ 6 callersMethodstop
(message: string = "Stopped by user")
src/childProcess/childUser.ts:267
↓ 5 callersFunctioncleanupTempFiles
(...files: string[])
src/utils/loadEmoji.ts:150
↓ 5 callersMethodclear
()
src/lib/handler/customCollection.ts:56
↓ 5 callersMethodgetCallerFile
()
src/core/logger.ts:121
↓ 5 callersMethodsetPlaceholder
(placeholder: string)
src/lib/handler/TextInputBuilder.ts:29
↓ 5 callersMethodtempSet
( key: K, value: V, time: number = client.clientMs( "30m") )
src/lib/handler/customCollection.ts:14
↓ 4 callersMethoddelay
(time: number)
src/childProcess/childUser.ts:263
↓ 4 callersMethoddelete
(key: K)
src/lib/handler/customCollection.ts:47
↓ 4 callersMethoddestroy
()
src/lib/quest/User.ts:361
↓ 4 callersMethoddestroy
()
src/childProcess/childUser.ts:295
↓ 4 callersMethodexecute
(options: MessageCommandContext)
src/commands/test.ts:16
↓ 4 callersMethodextractProgress
(quest: any)
src/childProcess/childUser.ts:280
↓ 4 callersMethodformatArgs
(args: any[])
src/core/logger.ts:145
↓ 4 callersFunctionisObject
(val: any)
src/utils/tools.ts:79
↓ 4 callersMethodkill
()
src/core/cooldown.ts:134
↓ 3 callersFunctioncapitalizeWords
(str: string)
src/utils/tools.ts:21
↓ 3 callersMethodcdn
(path: string)
src/lib/quest/Quest.ts:142
↓ 3 callersFunctioncustomAxiosWithProxy
( token: string, useProxy?: ProxyInterface, )
src/utils/quest/axiosInstance.ts:23
↓ 3 callersFunctiondecodeTimestampFromUrl
(url)
src/utils/quest/tokenUtils.ts:45
↓ 3 callersFunctiondisableComponents
(components: any, defult?: String | String[])
src/utils/tools.ts:607
↓ 3 callersMethodfetchQuests
()
src/lib/quest/User.ts:182
↓ 3 callersMethodgetRewardImage
()
src/lib/quest/Quest.ts:150
↓ 3 callersFunctionisValidDiscordToken
(token: string)
src/utils/quest/tokenUtils.ts:4
↓ 3 callersFunctionisVideoFile
(fileName: string | null | undefined)
src/utils/quest/imageUtils.ts:1
↓ 3 callersMethodupdateActivity
()
src/core/customClient.ts:71
↓ 2 callersMethodawaitLangSelection
( interaction: ChatInputCommandInteraction, langMenu: ActionRowBuilder<StringSelectMenuBuilder>
src/slashCommands/config/setLang.ts:49
↓ 2 callersMethodbuildLangMenu
(i18n: I18nInstance, lang: string, interactionId: string)
src/slashCommands/config/setLang.ts:29
↓ 2 callersFunctiondelay
(ms: number)
src/utils/tools.ts:601
↓ 2 callersMethodexecuteEvent
()
src/events/ready.ts:19
↓ 2 callersFunctionextractFirstFrame
( videoBuffer: Buffer, size: number = 128, name: string, roundImage: boolean = false, cropImage
src/utils/loadEmoji.ts:269
↓ 2 callersFunctionfetchChannel
(guildId: string, channelId: string)
src/utils/quest/questsUtils.ts:14
↓ 2 callersMethodformatTasks
(i18n: I18nInstance = this.i18n)
src/lib/quest/Quest.ts:103
↓ 2 callersFunctiongenratePayLoad
(i18n: I18nInstance, nitroDate: Date, author: User, targetLevelName: string, color?: string)
src/slashCommands/nitro/nitro.ts:86
↓ 2 callersFunctiongenratePayLoad
(i18n: I18nInstance, boostDate: Date, author: User, targetLevelNumber: number, color?: string)
src/slashCommands/nitro/boost.ts:84
↓ 2 callersMethodgetMember
(id: string)
src/slashCommands/badge/badge.ts:57
↓ 2 callersMethodgetNestedValue
(obj: any, key: string)
src/core/i18n.ts:44
↓ 2 callersMethodnotification_message
(i18n: I18nInstance = this.i18n)
src/lib/quest/Quest.ts:343
↓ 2 callersFunctionrefreshExpiredImage
(questImage)
src/utils/quest/questsUtils.ts:23
↓ 2 callersMethodsetDoc
(doc: Cooldown)
src/core/cooldown.ts:111
↓ 2 callersMethodsetQuest
(quest: Quest)
src/lib/quest/User.ts:58
↓ 2 callersMethodtryFetchQuests
(user: User, msg, i18n: I18nInstance)
src/slashCommands/badge/badge.ts:140
↓ 2 callersMethodupdateLangSetting
( interaction: ChatInputCommandInteraction, i18n: I18nInstance, selectedLang: string
src/slashCommands/config/setLang.ts:61
↓ 1 callersMethodConsoleString
()
src/lib/quest/User.ts:222
↓ 1 callersFunction_extractFirstFrame
( videoBuffer: Buffer, size: number = 128, name: string, roundImage: boolean = false, cropImage
src/utils/loadEmoji.ts:157
↓ 1 callersFunction_uploadNewImage
(key: string, url: string, round: boolean)
src/utils/quest/questsUtils.ts:42
↓ 1 callersFunctionaddClient
(client: ChildUser)
src/childProcess/childProcess.ts:33
↓ 1 callersFunctionaddFallbackToTemplate
(template: string)
src/utils/nunjucks.ts:47
↓ 1 callersMethodcheckQuest
Check if the quest has already been sent
src/events/quest/newQuests.ts:20
↓ 1 callersFunctioncheck_token
(token: string)
src/utils/quest/tokenUtils.ts:22
↓ 1 callersFunctioncleanToken
(token: string)
src/utils/quest/tokenUtils.ts:56
↓ 1 callersMethodclearProcessListeners
()
src/lib/quest/User.ts:73
↓ 1 callersMethodcreateLogger
()
src/core/logger.ts:14
↓ 1 callersMethodenroll
()
src/lib/quest/Quest.ts:463
↓ 1 callersMethodfetchMembersToDM
Fetch members eligible for DM notifications
src/events/quest/newQuests.ts:47
↓ 1 callersMethodformatProgress
()
src/lib/quest/Quest.ts:96
↓ 1 callersFunctiongenerateHeaders
(token: string, options?: HeaderOptions)
src/utils/quest/genrateHeaders.ts:9
↓ 1 callersFunctiongenerateSuperProperties
()
src/utils/quest/genrateHeaders.ts:38
↓ 1 callersMethodget
(key: string, databaseCooldowns: boolean = false)
src/core/cooldown.ts:31
↓ 1 callersMethodgetAvailableLanguages
()
src/core/i18n.ts:48
↓ 1 callersMethodgetCommandName
(interaction: ChatInputCommandInteraction)
src/core/customClient.ts:182
↓ 1 callersMethodgetDataSourceOptions
()
src/core/databaseConfig.ts:74
↓ 1 callersMethodgetDb
()
src/lib/quest/Quest.ts:270
↓ 1 callersMethodgetFromDatabase
(key: string)
src/core/cooldown.ts:36
↓ 1 callersMethodgetGuildAndChannel
Fetch guild and notification channel
src/events/quest/newQuests.ts:26
↓ 1 callersMethodgetLang
()
src/core/i18n.ts:75
↓ 1 callersMethodgetLowestUsageChild
()
src/core/ChildManager.ts:92
↓ 1 callersFunctiongetProcessUsage
(pid: number)
src/slashCommands/badge/usage.ts:57
↓ 1 callersMethodgetRewardsDisplay
(i18n: I18nInstance = this.i18n)
src/lib/quest/Quest.ts:324
↓ 1 callersMethodgetSolvedCount
()
src/lib/quest/Quest.ts:314
↓ 1 callersMethodgetTaskType
(taskId: string)
src/lib/quest/Quest.ts:55
↓ 1 callersFunctiongetUrlFromDatabase
(key: string, url: string, round: boolean)
src/utils/quest/questsUtils.ts:102
↓ 1 callersMethodgetUserSettings
Fetch user settings with caching
src/events/quest/newQuests.ts:67
next →1–100 of 287, ranked by callers