Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AlekEagle/dadbot
/ functions
Functions
189 in github.com/AlekEagle/dadbot
⨍
Functions
189
◇
Types & classes
56
↓ 44 callers
Method
edit
(options: any, reason: string)
old/utils/Dadhook.ts:79
↓ 35 callers
Method
get
(key: PartialEmoji)
old/utils/ReactionMenu.ts:31
↓ 29 callers
Method
setState
* 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 callers
Method
log
(message: any, ...optionalParams: any[])
src/utils/Logger.ts:129
↓ 24 callers
Method
delete
(reason: string)
old/utils/Dadhook.ts:90
↓ 23 callers
Method
has
(key: PartialEmoji)
old/utils/ReactionMenu.ts:39
↓ 22 callers
Method
error
(message: any, ...optionalParams: any[])
src/utils/Logger.ts:65
↓ 15 callers
Function
incrementResponseCount
()
src/utils/Statistics.ts:18
↓ 14 callers
Function
isOwner
( id: string, admin: boolean = false, )
src/utils/Owners.ts:15
↓ 14 callers
Function
numberToFlags
(num: number)
src/utils/Settings.ts:23
↓ 10 callers
Function
uploadOutput
(output: string)
old/commands/Eval.ts:157
↓ 10 callers
Function
uploadOutput
(output: string)
src/events/EvalCommand.ts:14
↓ 9 callers
Method
addState
* 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 callers
Function
doRandom
(stuff: SettingsConfigObject)
src/events/AutoResponse.ts:37
↓ 7 callers
Function
decimalToFraction
(decimal: number)
src/utils/Settings.ts:381
↓ 7 callers
Method
restartInactivityTimer
* Restarts the inactivity timer to the current timeoutDur. * * @returns {void}
old/utils/ReactionMenu.ts:179
↓ 6 callers
Method
delete
(key: PartialEmoji)
old/utils/ReactionMenu.ts:45
↓ 6 callers
Function
enumToArray
(val: any)
src/utils/Settings.ts:359
↓ 6 callers
Method
stringify
()
src/utils/Memory.ts:12
↓ 5 callers
Function
addZero
(n: number)
src/utils/Logger.ts:12
↓ 5 callers
Function
date
()
src/utils/Logger.ts:15
↓ 5 callers
Function
getChannelSettings
( id: string, )
src/utils/Settings.ts:80
↓ 5 callers
Function
getGuildSettings
( id: string, )
src/utils/Settings.ts:92
↓ 5 callers
Function
getUserSettings
( id: string, )
src/utils/Settings.ts:68
↓ 5 callers
Method
warn
(message: any, ...optionalParams: any[])
src/utils/Logger.ts:97
↓ 3 callers
Function
CPU
()
src/utils/CPU.ts:3
↓ 3 callers
Method
addReactions
(reactions: PartialEmoji[])
old/utils/ReactionMenu.ts:206
↓ 3 callers
Function
checkPremiumStatus
( client: ECH.CommandClient, id: string )
old/utils/PremiumUtils.ts:10
↓ 3 callers
Function
disableBrownMe
(id: string)
src/utils/BrownMe.ts:36
↓ 3 callers
Method
doubleDigits
(val: number)
src/utils/ReadableTime.ts:40
↓ 3 callers
Method
ellipsisText
(text: string | number)
src/utils/Table.ts:255
↓ 3 callers
Function
evaluateSafe
(code: string, args: any)
src/utils/SafeEval.ts:26
↓ 3 callers
Function
getOptOuts
(id: string)
src/utils/FeatureOptOut.ts:45
↓ 3 callers
Function
getOwner
(id: string)
src/utils/Owners.ts:7
↓ 3 callers
Function
getValueByID
(id: string)
src/utils/Blacklist.ts:9
↓ 3 callers
Function
isBrownMeEnabled
( id: string, )
src/utils/BrownMe.ts:48
↓ 3 callers
Function
response
( status: string, gameType?: number | null, gameStr?: string | null, url?: string | null )
old/commands/SetPlayingStatus.ts:13
↓ 3 callers
Function
safeWrapSetter
( fn: Function, setter: any, clearer: any, ...args: any )
src/utils/SafeEval.ts:49
↓ 3 callers
Function
setChannelSettings
( id: string, flags?: Flags, RNG?: number | null, )
src/utils/Settings.ts:230
↓ 3 callers
Function
setGuildSettings
( id: string, flags?: Flags, RNG?: number | null, )
src/utils/Settings.ts:293
↓ 3 callers
Function
setUserSettings
( id: string, flags?: Flags, RNG?: number | null, )
src/utils/Settings.ts:167
↓ 3 callers
Method
toShorthand
()
src/utils/ReadableTime.ts:52
↓ 2 callers
Function
analyzeComment
( text: string, attrs: Attribute[] )
old/utils/Perspective.ts:65
↓ 2 callers
Method
changeChannel
( channel: Eris.GuildTextableChannel )
old/utils/Dadhook.ts:48
↓ 2 callers
Function
checkBlacklistStatus
( msg: Message, )
src/utils/Blacklist.ts:47
↓ 2 callers
Function
checkNewPrefixes
(client: ECH.CommandClient)
old/utils/Prefixes.ts:15
↓ 2 callers
Function
clearSendShardInfoInterval
()
src/index.ts:42
↓ 2 callers
Function
constructMessage
( output: any, input: string, isError: boolean, options: string[], message: Message )
old/commands/Eval.ts:9
↓ 2 callers
Function
constructMessage
( output: any, input: string, isError: boolean, flags: ValidFlags[], )
src/events/EvalCommand.ts:36
↓ 2 callers
Method
constructTable
()
src/utils/Table.ts:73
↓ 2 callers
Function
doRandom
(stuff: SettingsConfigObject)
old/events/Autoresponse.ts:30
↓ 2 callers
Method
endMenu
* Closes the ReactionMenu * @param {boolean} [fromTimeout=false] Wether or not the menu ended from the menu timing out.
old/utils/ReactionMenu.ts:188
↓ 2 callers
Function
getAllMembers
()
src/utils/Patreon.ts:17
↓ 2 callers
Function
getComputedSettings
( msg: Message, guildId?: string, )
src/utils/Settings.ts:104
↓ 2 callers
Method
getGuildDadhook
(guild: Eris.Guild)
old/utils/Dadhook.ts:15
↓ 2 callers
Function
getShardAllocation
( options: ShardAllocatorOptions, )
src/utils/ShardAllocator.ts:30
↓ 2 callers
Function
incrementBarbecuesServed
()
src/utils/Statistics.ts:22
↓ 2 callers
Function
incrementMsgCount
()
src/utils/Statistics.ts:14
↓ 2 callers
Method
promoteToDadhook
(dumb: Webhook)
src/utils/Dadhook.ts:19
↓ 2 callers
Method
send
(stuff: Eris.WebhookPayload)
old/utils/Dadhook.ts:99
↓ 2 callers
Method
sendMenuMessage
()
old/utils/ReactionMenu.ts:120
↓ 2 callers
Method
sortedTableData
(data: TableDataObject)
src/utils/Table.ts:213
↓ 1 callers
Method
addReaction
()
old/utils/ReactionMenu.ts:209
↓ 1 callers
Function
bestFrac
(n: number, m: number)
old/utils/Settings.ts:385
↓ 1 callers
Function
bestFrac
(n: number, m: number)
src/utils/Settings.ts:389
↓ 1 callers
Method
calculateColumnWidth
( name: string, data: string[], totalData: string, )
src/utils/Table.ts:186
↓ 1 callers
Method
calculateMaxRows
(data: TableDataObject)
src/utils/Table.ts:182
↓ 1 callers
Method
calculateTableData
()
src/utils/Table.ts:237
↓ 1 callers
Function
capitalize
(str: string)
old/utils/Suggestions.ts:11
↓ 1 callers
Function
checkDeletedPrefixes
(client: ECH.CommandClient)
old/utils/Prefixes.ts:31
↓ 1 callers
Method
debug
(message: any, ...optionalParams: any[])
src/utils/Logger.ts:165
↓ 1 callers
Function
enableBrownMe
( id: string, roleID: string, )
src/utils/BrownMe.ts:13
↓ 1 callers
Method
getAvatar
(client: Client)
src/utils/Dadhook.ts:13
↓ 1 callers
Function
getChannelSettings
( id: string )
old/utils/Settings.ts:94
↓ 1 callers
Function
getComputedSettings
( msg: Message )
old/utils/Settings.ts:118
↓ 1 callers
Function
getGuildSettings
( id: string )
old/utils/Settings.ts:106
↓ 1 callers
Function
getHierarchySettings
( msg: Message, guildId?: string, )
src/utils/Settings.ts:142
↓ 1 callers
Function
getMembersFromPage
( page: string = `${PATREON_API_URL}/campaigns/${process.env.PATREON_CAMPAIGN_ID}/members?include=currentl
src/utils/Patreon.ts:18
↓ 1 callers
Function
getSupporterByDiscordID
(discordID: string)
src/utils/Patreon.ts:102
↓ 1 callers
Function
getUserSettings
( id: string )
old/utils/Settings.ts:82
↓ 1 callers
Method
giveMeDadhook
( channel: Exclude< AnyTextableChannel, PrivateChannel | AnnouncementThreadChannel | ThreadCha
src/utils/Dadhook.ts:28
↓ 1 callers
Method
handleReaction
(emoji: PartialEmoji, user: User)
old/utils/ReactionMenu.ts:158
↓ 1 callers
Function
parseDiscordMessageURL
(url: string)
src/commands/Debug.ts:28
↓ 1 callers
Method
quadDigits
(val: number)
src/utils/ReadableTime.ts:45
↓ 1 callers
Method
raw
()
src/utils/Memory.ts:8
↓ 1 callers
Function
removePrefix
( client: ECH.CommandClient, serverID: string )
old/utils/Prefixes.ts:93
↓ 1 callers
Method
removeReaction
* 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 callers
Function
sendSuggestion
( type: A, msg: Eris.Message, suggestion: Suggestions )
old/utils/Suggestions.ts:15
↓ 1 callers
Function
setOptOuts
( id: string, features: Features, )
src/utils/FeatureOptOut.ts:57
↓ 1 callers
Function
setUserSettings
( id: string, flags?: Flags, RNG?: number | null )
old/utils/Settings.ts:163
↓ 1 callers
Function
testConnection
()
src/utils/DB/index.ts:26
↓ 1 callers
Function
thankPatreonSupporter
()
src/index.ts:51
↓ 1 callers
Function
updatePrefix
( client: ECH.CommandClient, serverID: string, prefix: string )
old/utils/Prefixes.ts:63
↓ 1 callers
Function
verifyChairIntegrity
()
src/utils/VerifyChairIntegrity.ts:7
↓ 1 callers
Function
volumeDown
(msg: string)
old/events/Autoresponse.ts:23
↓ 1 callers
Function
volumeDown
(message: string)
src/events/AutoResponse.ts:25
Function
AutoResponseEvent
(msg: Message)
src/events/AutoResponse.ts:45
Function
BrownMeEvent
(msg: Message)
src/events/BrownMeEvent.ts:4
Function
EvalCommand
(message: Message)
src/events/EvalCommand.ts:306
Function
StringIsNumber
(value: string)
old/utils/Settings.ts:352
next →
1–100 of 189, ranked by callers