MCPcopy Create free account

hub / github.com/AlekEagle/dadbot / functions

Functions189 in github.com/AlekEagle/dadbot

↓ 44 callersMethodedit
(options: any, reason: string)
old/utils/Dadhook.ts:79
↓ 35 callersMethodget
(key: PartialEmoji)
old/utils/ReactionMenu.ts:31
↓ 29 callersMethodsetState
* Changes the state of the ReactionMenu to another state. * @param {string} state The state to switch to. * * @returns {Promise<void>} * @
old/utils/ReactionMenu.ts:244
↓ 28 callersMethodlog
(message: any, ...optionalParams: any[])
src/utils/Logger.ts:129
↓ 24 callersMethoddelete
(reason: string)
old/utils/Dadhook.ts:90
↓ 23 callersMethodhas
(key: PartialEmoji)
old/utils/ReactionMenu.ts:39
↓ 22 callersMethoderror
(message: any, ...optionalParams: any[])
src/utils/Logger.ts:65
↓ 15 callersFunctionincrementResponseCount
()
src/utils/Statistics.ts:18
↓ 14 callersFunctionisOwner
( id: string, admin: boolean = false, )
src/utils/Owners.ts:15
↓ 14 callersFunctionnumberToFlags
(num: number)
src/utils/Settings.ts:23
↓ 10 callersFunctionuploadOutput
(output: string)
old/commands/Eval.ts:157
↓ 10 callersFunctionuploadOutput
(output: string)
src/events/EvalCommand.ts:14
↓ 9 callersMethodaddState
* Adds a new state to the ReactionMenu * @param state Name of the new state. * @param reactionMenuState The reaction menu state structure for th
old/utils/ReactionMenu.ts:267
↓ 8 callersFunctiondoRandom
(stuff: SettingsConfigObject)
src/events/AutoResponse.ts:37
↓ 7 callersFunctiondecimalToFraction
(decimal: number)
src/utils/Settings.ts:381
↓ 7 callersMethodrestartInactivityTimer
* Restarts the inactivity timer to the current timeoutDur. * * @returns {void}
old/utils/ReactionMenu.ts:179
↓ 6 callersMethoddelete
(key: PartialEmoji)
old/utils/ReactionMenu.ts:45
↓ 6 callersFunctionenumToArray
(val: any)
src/utils/Settings.ts:359
↓ 6 callersMethodstringify
()
src/utils/Memory.ts:12
↓ 5 callersFunctionaddZero
(n: number)
src/utils/Logger.ts:12
↓ 5 callersFunctiondate
()
src/utils/Logger.ts:15
↓ 5 callersFunctiongetChannelSettings
( id: string, )
src/utils/Settings.ts:80
↓ 5 callersFunctiongetGuildSettings
( id: string, )
src/utils/Settings.ts:92
↓ 5 callersFunctiongetUserSettings
( id: string, )
src/utils/Settings.ts:68
↓ 5 callersMethodwarn
(message: any, ...optionalParams: any[])
src/utils/Logger.ts:97
↓ 3 callersFunctionCPU
()
src/utils/CPU.ts:3
↓ 3 callersMethodaddReactions
(reactions: PartialEmoji[])
old/utils/ReactionMenu.ts:206
↓ 3 callersFunctioncheckPremiumStatus
( client: ECH.CommandClient, id: string )
old/utils/PremiumUtils.ts:10
↓ 3 callersFunctiondisableBrownMe
(id: string)
src/utils/BrownMe.ts:36
↓ 3 callersMethoddoubleDigits
(val: number)
src/utils/ReadableTime.ts:40
↓ 3 callersMethodellipsisText
(text: string | number)
src/utils/Table.ts:255
↓ 3 callersFunctionevaluateSafe
(code: string, args: any)
src/utils/SafeEval.ts:26
↓ 3 callersFunctiongetOptOuts
(id: string)
src/utils/FeatureOptOut.ts:45
↓ 3 callersFunctiongetOwner
(id: string)
src/utils/Owners.ts:7
↓ 3 callersFunctiongetValueByID
(id: string)
src/utils/Blacklist.ts:9
↓ 3 callersFunctionisBrownMeEnabled
( id: string, )
src/utils/BrownMe.ts:48
↓ 3 callersFunctionresponse
( status: string, gameType?: number | null, gameStr?: string | null, url?: string | null )
old/commands/SetPlayingStatus.ts:13
↓ 3 callersFunctionsafeWrapSetter
( fn: Function, setter: any, clearer: any, ...args: any )
src/utils/SafeEval.ts:49
↓ 3 callersFunctionsetChannelSettings
( id: string, flags?: Flags, RNG?: number | null, )
src/utils/Settings.ts:230
↓ 3 callersFunctionsetGuildSettings
( id: string, flags?: Flags, RNG?: number | null, )
src/utils/Settings.ts:293
↓ 3 callersFunctionsetUserSettings
( id: string, flags?: Flags, RNG?: number | null, )
src/utils/Settings.ts:167
↓ 3 callersMethodtoShorthand
()
src/utils/ReadableTime.ts:52
↓ 2 callersFunctionanalyzeComment
( text: string, attrs: Attribute[] )
old/utils/Perspective.ts:65
↓ 2 callersMethodchangeChannel
( channel: Eris.GuildTextableChannel )
old/utils/Dadhook.ts:48
↓ 2 callersFunctioncheckBlacklistStatus
( msg: Message, )
src/utils/Blacklist.ts:47
↓ 2 callersFunctioncheckNewPrefixes
(client: ECH.CommandClient)
old/utils/Prefixes.ts:15
↓ 2 callersFunctionclearSendShardInfoInterval
()
src/index.ts:42
↓ 2 callersFunctionconstructMessage
( output: any, input: string, isError: boolean, options: string[], message: Message )
old/commands/Eval.ts:9
↓ 2 callersFunctionconstructMessage
( output: any, input: string, isError: boolean, flags: ValidFlags[], )
src/events/EvalCommand.ts:36
↓ 2 callersMethodconstructTable
()
src/utils/Table.ts:73
↓ 2 callersFunctiondoRandom
(stuff: SettingsConfigObject)
old/events/Autoresponse.ts:30
↓ 2 callersMethodendMenu
* Closes the ReactionMenu * @param {boolean} [fromTimeout=false] Wether or not the menu ended from the menu timing out.
old/utils/ReactionMenu.ts:188
↓ 2 callersFunctiongetAllMembers
()
src/utils/Patreon.ts:17
↓ 2 callersFunctiongetComputedSettings
( msg: Message, guildId?: string, )
src/utils/Settings.ts:104
↓ 2 callersMethodgetGuildDadhook
(guild: Eris.Guild)
old/utils/Dadhook.ts:15
↓ 2 callersFunctiongetShardAllocation
( options: ShardAllocatorOptions, )
src/utils/ShardAllocator.ts:30
↓ 2 callersFunctionincrementBarbecuesServed
()
src/utils/Statistics.ts:22
↓ 2 callersFunctionincrementMsgCount
()
src/utils/Statistics.ts:14
↓ 2 callersMethodpromoteToDadhook
(dumb: Webhook)
src/utils/Dadhook.ts:19
↓ 2 callersMethodsend
(stuff: Eris.WebhookPayload)
old/utils/Dadhook.ts:99
↓ 2 callersMethodsendMenuMessage
()
old/utils/ReactionMenu.ts:120
↓ 2 callersMethodsortedTableData
(data: TableDataObject)
src/utils/Table.ts:213
↓ 1 callersMethodaddReaction
()
old/utils/ReactionMenu.ts:209
↓ 1 callersFunctionbestFrac
(n: number, m: number)
old/utils/Settings.ts:385
↓ 1 callersFunctionbestFrac
(n: number, m: number)
src/utils/Settings.ts:389
↓ 1 callersMethodcalculateColumnWidth
( name: string, data: string[], totalData: string, )
src/utils/Table.ts:186
↓ 1 callersMethodcalculateMaxRows
(data: TableDataObject)
src/utils/Table.ts:182
↓ 1 callersMethodcalculateTableData
()
src/utils/Table.ts:237
↓ 1 callersFunctioncapitalize
(str: string)
old/utils/Suggestions.ts:11
↓ 1 callersFunctioncheckDeletedPrefixes
(client: ECH.CommandClient)
old/utils/Prefixes.ts:31
↓ 1 callersMethoddebug
(message: any, ...optionalParams: any[])
src/utils/Logger.ts:165
↓ 1 callersFunctionenableBrownMe
( id: string, roleID: string, )
src/utils/BrownMe.ts:13
↓ 1 callersMethodgetAvatar
(client: Client)
src/utils/Dadhook.ts:13
↓ 1 callersFunctiongetChannelSettings
( id: string )
old/utils/Settings.ts:94
↓ 1 callersFunctiongetComputedSettings
( msg: Message )
old/utils/Settings.ts:118
↓ 1 callersFunctiongetGuildSettings
( id: string )
old/utils/Settings.ts:106
↓ 1 callersFunctiongetHierarchySettings
( msg: Message, guildId?: string, )
src/utils/Settings.ts:142
↓ 1 callersFunctiongetMembersFromPage
( page: string = `${PATREON_API_URL}/campaigns/${process.env.PATREON_CAMPAIGN_ID}/members?include=currentl
src/utils/Patreon.ts:18
↓ 1 callersFunctiongetSupporterByDiscordID
(discordID: string)
src/utils/Patreon.ts:102
↓ 1 callersFunctiongetUserSettings
( id: string )
old/utils/Settings.ts:82
↓ 1 callersMethodgiveMeDadhook
( channel: Exclude< AnyTextableChannel, PrivateChannel | AnnouncementThreadChannel | ThreadCha
src/utils/Dadhook.ts:28
↓ 1 callersMethodhandleReaction
(emoji: PartialEmoji, user: User)
old/utils/ReactionMenu.ts:158
↓ 1 callersFunctionparseDiscordMessageURL
(url: string)
src/commands/Debug.ts:28
↓ 1 callersMethodquadDigits
(val: number)
src/utils/ReadableTime.ts:45
↓ 1 callersMethodraw
()
src/utils/Memory.ts:8
↓ 1 callersFunctionremovePrefix
( client: ECH.CommandClient, serverID: string )
old/utils/Prefixes.ts:93
↓ 1 callersMethodremoveReaction
* Remove reaction from the reaction state. * @param state The state you want to remove the reaction from. * @param reaction The reaction you wan
old/utils/ReactionMenu.ts:327
↓ 1 callersFunctionsendSuggestion
( type: A, msg: Eris.Message, suggestion: Suggestions )
old/utils/Suggestions.ts:15
↓ 1 callersFunctionsetOptOuts
( id: string, features: Features, )
src/utils/FeatureOptOut.ts:57
↓ 1 callersFunctionsetUserSettings
( id: string, flags?: Flags, RNG?: number | null )
old/utils/Settings.ts:163
↓ 1 callersFunctiontestConnection
()
src/utils/DB/index.ts:26
↓ 1 callersFunctionthankPatreonSupporter
()
src/index.ts:51
↓ 1 callersFunctionupdatePrefix
( client: ECH.CommandClient, serverID: string, prefix: string )
old/utils/Prefixes.ts:63
↓ 1 callersFunctionverifyChairIntegrity
()
src/utils/VerifyChairIntegrity.ts:7
↓ 1 callersFunctionvolumeDown
(msg: string)
old/events/Autoresponse.ts:23
↓ 1 callersFunctionvolumeDown
(message: string)
src/events/AutoResponse.ts:25
FunctionAutoResponseEvent
(msg: Message)
src/events/AutoResponse.ts:45
FunctionBrownMeEvent
(msg: Message)
src/events/BrownMeEvent.ts:4
FunctionEvalCommand
(message: Message)
src/events/EvalCommand.ts:306
FunctionStringIsNumber
(value: string)
old/utils/Settings.ts:352
next →1–100 of 189, ranked by callers