Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/7xrrr/discord-quests-bot
/ functions
Functions
287 in github.com/7xrrr/discord-quests-bot
⨍
Functions
287
◇
Types & classes
136
↓ 153 callers
Method
t
(lang: string, key: string, variables: Record<string, string | number> = {})
src/core/i18n.ts:28
↓ 70 callers
Method
get
(lang: string)
src/core/i18n.ts:57
↓ 52 callers
Method
error
(...args: any[])
src/core/logger.ts:161
↓ 40 callers
Method
info
(...args: any[])
src/core/logger.ts:156
↓ 31 callers
Method
has
(key: string)
src/core/cooldown.ts:28
↓ 23 callers
Method
stop
(immediate: boolean = false)
src/lib/quest/User.ts:130
↓ 23 callers
Method
warn
(...args: any[])
src/core/logger.ts:166
↓ 18 callers
Method
toString
()
src/utils/nunjucks.ts:13
↓ 17 callers
Method
filter
(i: any)
src/slashCommands/config/setLang.ts:53
↓ 16 callers
Method
create
(key: string, time: number | string, saveDb: boolean = false)
src/core/cooldown.ts:24
↓ 16 callers
Function
formatDiscordTimestamp
( timestampMs: number, styleOrFormat: "Date" | 't' | 'T' | 'd' | 'D' | 'f' | 'F' | 'R' | string = 'R
src/utils/tools.ts:295
↓ 15 callers
Method
send
(message: ChildMessage)
src/lib/quest/User.ts:81
↓ 15 callers
Function
t
(key: string)
src/slashCommands/nitro/nitro.ts:94
↓ 14 callers
Function
sendToProcess
(message: ChildMessage)
src/childProcess/tools.ts:19
↓ 13 callers
Method
debug
(...args: any[])
src/core/logger.ts:171
↓ 12 callers
Method
getRepo
(entity: EntityTarget<T>)
src/core/DataSource.ts:31
↓ 12 callers
Method
logAndUpdate
(user: User, msg, log: string)
src/slashCommands/badge/badge.ts:53
↓ 11 callers
Method
delete
(key: string)
src/core/cooldown.ts:56
↓ 8 callers
Method
genreate_message
( )
src/lib/quest/User.ts:235
↓ 8 callers
Function
loadFolder
( folderPath: string, options: LoadFolderOptions = {} )
src/handler/folderLoader.ts:13
↓ 8 callers
Method
setCustomId
(customId: string)
src/lib/handler/TextInputBuilder.ts:34
↓ 7 callers
Method
getRemaining
()
src/core/cooldown.ts:95
↓ 7 callers
Method
setRequired
(required: boolean)
src/lib/handler/TextInputBuilder.ts:45
↓ 6 callers
Function
findClosestIndexFolder
()
src/utils/tools.ts:572
↓ 6 callers
Function
findProjectRoot
()
src/utils/tools.ts:208
↓ 6 callers
Function
getIdFromToken
(token: string)
src/utils/quest/tokenUtils.ts:11
↓ 6 callers
Method
sendUpdate
(progress: number, completed: boolean)
src/childProcess/childUser.ts:65
↓ 6 callers
Method
setLabel
(label: string)
src/lib/handler/TextInputBuilder.ts:24
↓ 6 callers
Method
stop
(message: string = "Stopped by user")
src/childProcess/childUser.ts:267
↓ 5 callers
Function
cleanupTempFiles
(...files: string[])
src/utils/loadEmoji.ts:150
↓ 5 callers
Method
clear
()
src/lib/handler/customCollection.ts:56
↓ 5 callers
Method
getCallerFile
()
src/core/logger.ts:121
↓ 5 callers
Method
setPlaceholder
(placeholder: string)
src/lib/handler/TextInputBuilder.ts:29
↓ 5 callers
Method
tempSet
( key: K, value: V, time: number = client.clientMs( "30m") )
src/lib/handler/customCollection.ts:14
↓ 4 callers
Method
delay
(time: number)
src/childProcess/childUser.ts:263
↓ 4 callers
Method
delete
(key: K)
src/lib/handler/customCollection.ts:47
↓ 4 callers
Method
destroy
()
src/lib/quest/User.ts:361
↓ 4 callers
Method
destroy
()
src/childProcess/childUser.ts:295
↓ 4 callers
Method
execute
(options: MessageCommandContext)
src/commands/test.ts:16
↓ 4 callers
Method
extractProgress
(quest: any)
src/childProcess/childUser.ts:280
↓ 4 callers
Method
formatArgs
(args: any[])
src/core/logger.ts:145
↓ 4 callers
Function
isObject
(val: any)
src/utils/tools.ts:79
↓ 4 callers
Method
kill
()
src/core/cooldown.ts:134
↓ 3 callers
Function
capitalizeWords
(str: string)
src/utils/tools.ts:21
↓ 3 callers
Method
cdn
(path: string)
src/lib/quest/Quest.ts:142
↓ 3 callers
Function
customAxiosWithProxy
( token: string, useProxy?: ProxyInterface, )
src/utils/quest/axiosInstance.ts:23
↓ 3 callers
Function
decodeTimestampFromUrl
(url)
src/utils/quest/tokenUtils.ts:45
↓ 3 callers
Function
disableComponents
(components: any, defult?: String | String[])
src/utils/tools.ts:607
↓ 3 callers
Method
fetchQuests
()
src/lib/quest/User.ts:182
↓ 3 callers
Method
getRewardImage
()
src/lib/quest/Quest.ts:150
↓ 3 callers
Function
isValidDiscordToken
(token: string)
src/utils/quest/tokenUtils.ts:4
↓ 3 callers
Function
isVideoFile
(fileName: string | null | undefined)
src/utils/quest/imageUtils.ts:1
↓ 3 callers
Method
updateActivity
()
src/core/customClient.ts:71
↓ 2 callers
Method
awaitLangSelection
( interaction: ChatInputCommandInteraction, langMenu: ActionRowBuilder<StringSelectMenuBuilder>
src/slashCommands/config/setLang.ts:49
↓ 2 callers
Method
buildLangMenu
(i18n: I18nInstance, lang: string, interactionId: string)
src/slashCommands/config/setLang.ts:29
↓ 2 callers
Function
delay
(ms: number)
src/utils/tools.ts:601
↓ 2 callers
Method
executeEvent
()
src/events/ready.ts:19
↓ 2 callers
Function
extractFirstFrame
( videoBuffer: Buffer, size: number = 128, name: string, roundImage: boolean = false, cropImage
src/utils/loadEmoji.ts:269
↓ 2 callers
Function
fetchChannel
(guildId: string, channelId: string)
src/utils/quest/questsUtils.ts:14
↓ 2 callers
Method
formatTasks
(i18n: I18nInstance = this.i18n)
src/lib/quest/Quest.ts:103
↓ 2 callers
Function
genratePayLoad
(i18n: I18nInstance, nitroDate: Date, author: User, targetLevelName: string, color?: string)
src/slashCommands/nitro/nitro.ts:86
↓ 2 callers
Function
genratePayLoad
(i18n: I18nInstance, boostDate: Date, author: User, targetLevelNumber: number, color?: string)
src/slashCommands/nitro/boost.ts:84
↓ 2 callers
Method
getMember
(id: string)
src/slashCommands/badge/badge.ts:57
↓ 2 callers
Method
getNestedValue
(obj: any, key: string)
src/core/i18n.ts:44
↓ 2 callers
Method
notification_message
(i18n: I18nInstance = this.i18n)
src/lib/quest/Quest.ts:343
↓ 2 callers
Function
refreshExpiredImage
(questImage)
src/utils/quest/questsUtils.ts:23
↓ 2 callers
Method
setDoc
(doc: Cooldown)
src/core/cooldown.ts:111
↓ 2 callers
Method
setQuest
(quest: Quest)
src/lib/quest/User.ts:58
↓ 2 callers
Method
tryFetchQuests
(user: User, msg, i18n: I18nInstance)
src/slashCommands/badge/badge.ts:140
↓ 2 callers
Method
updateLangSetting
( interaction: ChatInputCommandInteraction, i18n: I18nInstance, selectedLang: string
src/slashCommands/config/setLang.ts:61
↓ 1 callers
Method
ConsoleString
()
src/lib/quest/User.ts:222
↓ 1 callers
Function
_extractFirstFrame
( videoBuffer: Buffer, size: number = 128, name: string, roundImage: boolean = false, cropImage
src/utils/loadEmoji.ts:157
↓ 1 callers
Function
_uploadNewImage
(key: string, url: string, round: boolean)
src/utils/quest/questsUtils.ts:42
↓ 1 callers
Function
addClient
(client: ChildUser)
src/childProcess/childProcess.ts:33
↓ 1 callers
Function
addFallbackToTemplate
(template: string)
src/utils/nunjucks.ts:47
↓ 1 callers
Method
checkQuest
Check if the quest has already been sent
src/events/quest/newQuests.ts:20
↓ 1 callers
Function
check_token
(token: string)
src/utils/quest/tokenUtils.ts:22
↓ 1 callers
Function
cleanToken
(token: string)
src/utils/quest/tokenUtils.ts:56
↓ 1 callers
Method
clearProcessListeners
()
src/lib/quest/User.ts:73
↓ 1 callers
Method
createLogger
()
src/core/logger.ts:14
↓ 1 callers
Method
enroll
()
src/lib/quest/Quest.ts:463
↓ 1 callers
Method
fetchMembersToDM
Fetch members eligible for DM notifications
src/events/quest/newQuests.ts:47
↓ 1 callers
Method
formatProgress
()
src/lib/quest/Quest.ts:96
↓ 1 callers
Function
generateHeaders
(token: string, options?: HeaderOptions)
src/utils/quest/genrateHeaders.ts:9
↓ 1 callers
Function
generateSuperProperties
()
src/utils/quest/genrateHeaders.ts:38
↓ 1 callers
Method
get
(key: string, databaseCooldowns: boolean = false)
src/core/cooldown.ts:31
↓ 1 callers
Method
getAvailableLanguages
()
src/core/i18n.ts:48
↓ 1 callers
Method
getCommandName
(interaction: ChatInputCommandInteraction)
src/core/customClient.ts:182
↓ 1 callers
Method
getDataSourceOptions
()
src/core/databaseConfig.ts:74
↓ 1 callers
Method
getDb
()
src/lib/quest/Quest.ts:270
↓ 1 callers
Method
getFromDatabase
(key: string)
src/core/cooldown.ts:36
↓ 1 callers
Method
getGuildAndChannel
Fetch guild and notification channel
src/events/quest/newQuests.ts:26
↓ 1 callers
Method
getLang
()
src/core/i18n.ts:75
↓ 1 callers
Method
getLowestUsageChild
()
src/core/ChildManager.ts:92
↓ 1 callers
Function
getProcessUsage
(pid: number)
src/slashCommands/badge/usage.ts:57
↓ 1 callers
Method
getRewardsDisplay
(i18n: I18nInstance = this.i18n)
src/lib/quest/Quest.ts:324
↓ 1 callers
Method
getSolvedCount
()
src/lib/quest/Quest.ts:314
↓ 1 callers
Method
getTaskType
(taskId: string)
src/lib/quest/Quest.ts:55
↓ 1 callers
Function
getUrlFromDatabase
(key: string, url: string, round: boolean)
src/utils/quest/questsUtils.ts:102
↓ 1 callers
Method
getUserSettings
Fetch user settings with caching
src/events/quest/newQuests.ts:67
next →
1–100 of 287, ranked by callers