Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ZeppelinBot/Zeppelin
/ functions
Functions
1,683 in github.com/ZeppelinBot/Zeppelin
⨍
Functions
1,683
◇
Types & classes
609
↓ 237 callers
Method
push
(content: MessageBufferContent)
backend/src/utils/MessageBuffer.ts:56
↓ 231 callers
Method
get
(ids: number[])
backend/src/data/GuildCases.ts:23
↓ 119 callers
Method
has
(key: string)
backend/src/SimpleCache.ts:61
↓ 115 callers
Function
makePublicFn
( pluginData: TPluginData, fn: T, )
backend/src/pluginUtils.ts:219
↓ 106 callers
Method
delete
(id: string)
backend/src/data/Webhooks.ts:45
↓ 85 callers
Method
set
(userId: string, data: Partial<PersistedData> = {})
backend/src/data/GuildPersistedData.ts:23
↓ 84 callers
Method
add
(requestorId: string, userId: string, channelId: string, expiresAt: string, body: string, active: boolean)
backend/src/data/GuildVCAlerts.ts:57
↓ 72 callers
Function
createTypedTemplateSafeValueContainer
( data: T, )
backend/src/templateFormatter.ts:92
↓ 71 callers
Function
log
( pluginData: GuildPluginData<LogsPluginType>, type: TLogType, data: TypedTemplateSafeValueContainer<ILo
backend/src/plugins/Logs/util/log.ts:74
↓ 66 callers
Function
renderUsername
(username: string | User | GuildMember | UnknownUser, discriminator?: string)
backend/src/utils.ts:1520
↓ 61 callers
Method
log
(type: keyof typeof LogType, data: any, ignoreId?: string)
backend/src/data/GuildLogs.ts:30
↓ 60 callers
Function
userToTemplateSafeUser
(user: User | UnknownUser | PartialUser)
backend/src/utils/templateSafeObjects.ts:247
↓ 56 callers
Method
find
(id: string)
backend/src/data/Webhooks.ts:20
↓ 56 callers
Function
resolveMember
( bot: Client, guild: Guild, value: string, fresh = false, )
backend/src/utils.ts:1189
↓ 54 callers
Function
zBoundedCharacters
(min: number, max: number)
backend/src/utils.ts:159
↓ 53 callers
Method
getGuildInstance
* Returns a cached instance of the inheriting class for the specified guildId, * or creates a new instance if one doesn't exist yet
backend/src/data/BaseGuildRepository.ts:17
↓ 52 callers
Function
resolveUser
(bot: Client, value: unknown, context?: string)
backend/src/utils.ts:1171
↓ 47 callers
Method
update
(id, data)
backend/src/data/GuildCases.ts:214
↓ 43 callers
Function
convertDelayStringToMS
(str, defaultUnit = "m")
backend/src/utils.ts:426
↓ 36 callers
Function
trimLines
(str: string)
backend/src/utils.ts:665
↓ 33 callers
Function
channelToTemplateSafeChannel
(channel: GuildBasedChannel)
backend/src/utils/templateSafeObjects.ts:297
↓ 31 callers
Function
resolveMessageMember
(message: Message<true>)
backend/src/pluginUtils.ts:228
↓ 29 callers
Function
automodTrigger
(...args)
backend/src/plugins/Automod/helpers.ts:48
↓ 29 callers
Method
on
(event: U, listener: MutesEvents[U])
backend/src/plugins/Mutes/types.ts:44
↓ 28 callers
Function
canActOn
( pluginData: GuildPluginData<any>, member1: GuildMember, member2: GuildMember, allowSameLevel = false
backend/src/pluginUtils.ts:39
↓ 27 callers
Function
memberToTemplateSafeMember
(member: GuildMember | PartialGuildMember)
backend/src/utils/templateSafeObjects.ts:283
↓ 27 callers
Function
renderTemplate
( template: string, values: TemplateSafeValueContainer = new TemplateSafeValueContainer(), includeBaseVa
backend/src/templateFormatter.ts:467
↓ 26 callers
Function
resolveChannelIds
(channel: Channel)
backend/src/utils/resolveChannelIds.ts:12
↓ 22 callers
Method
all
()
backend/src/data/GuildTags.ts:17
↓ 22 callers
Method
get
(key: string)
backend/src/SimpleCache.ts:54
↓ 22 callers
Function
hasPermission
( pluginData: GuildPluginData<UtilityPluginType>, member: GuildMember, channelId: Snowflake, permissio
backend/src/plugins/Utility/functions/hasPermission.ts:5
↓ 22 callers
Method
ignoreLog
(type: keyof typeof LogType, ignoreId: any, timeout?: number)
backend/src/data/GuildLogs.ts:39
↓ 22 callers
Method
off
(eventName: string, listener: Listener)
backend/src/QueuedEventEmitter.ts:23
↓ 20 callers
Function
automodAction
( blueprint: AutomodActionBlueprint<TConfigSchema>, )
backend/src/plugins/Automod/helpers.ts:70
↓ 20 callers
Method
create
(data: Partial<Webhook>)
backend/src/data/Webhooks.ts:40
↓ 20 callers
Function
verboseChannelMention
(channel: GuildBasedChannel)
backend/src/utils.ts:1361
↓ 19 callers
Function
isDiscordAPIError
(err: Error | string)
backend/src/utils.ts:86
↓ 18 callers
Method
getForMessage
(messageId: string)
backend/src/data/GuildReactionRoles.ts:22
↓ 18 callers
Function
mapElement
(s: $ZodType)
backend/src/utils/zodDeepPartial.ts:38
↓ 18 callers
Function
sorter
(getter: sorterGetterResolvable, direction: sorterDirection = "ASC")
backend/src/utils.ts:980
↓ 17 callers
Method
set
(key: string, value: T)
backend/src/SimpleCache.ts:42
↓ 16 callers
Function
clientError
(res: Response, message: string)
backend/src/api/responses.ts:15
↓ 15 callers
Method
clear
(userId)
backend/src/data/GuildMutes.ts:143
↓ 15 callers
Method
exec
(regex: RegExp, str: string)
backend/src/RegExpRunner.ts:83
↓ 15 callers
Function
generateAttachmentSlashOptions
(amount: number, options: AttachmentSlashOptions)
backend/src/utils/multipleSlashOptions.ts:5
↓ 15 callers
Function
ingestDataIntoTemplateSafeValueContainer
( target: TemplateSafeValueContainer, data: Record<string, TemplateSafeValue> = {}, )
backend/src/templateFormatter.ts:73
↓ 15 callers
Function
retrieveMultipleOptions
(amount: number, options: any, name: string)
backend/src/utils/multipleSlashOptions.ts:15
↓ 15 callers
Function
sleep
(ms: number)
backend/src/utils.ts:529
↓ 14 callers
Function
asSingleLine
(str: string)
backend/src/utils.ts:681
↓ 13 callers
Function
filterObject
( object: T, filterFn: <K extends keyof T>(value: T[K], key: K) => boolean, )
backend/src/utils/filterObject.ts:9
↓ 13 callers
Function
formatReasonWithMessageLinkForAttachments
( pluginData: GuildPluginData<ModActionsPluginType>, reason: string, context: Message | ChatInputCommand
backend/src/plugins/ModActions/functions/formatReasonForAttachments.ts:6
↓ 13 callers
Function
handleAttachmentLinkDetectionAndGetRestriction
( pluginData: GuildPluginData<ModActionsPluginType>, context: SendableChannels | Message | ChatInputComman
backend/src/plugins/ModActions/functions/attachmentLinkReaction.ts:33
↓ 13 callers
Method
on
(event: "timeout", listener: (regexSource: string, timeoutMs: number) => void)
backend/src/RegExpRunner.ts:43
↓ 12 callers
Function
censorMessage
( pluginData: GuildPluginData<CensorPluginType>, savedMessage: SavedMessage, reason: string, )
backend/src/plugins/Censor/util/censorMessage.ts:9
↓ 12 callers
Function
createChunkedMessage
( channel: SendableChannels | User, messageText: string, allowedMentions?: MessageMentionOptions, )
backend/src/utils.ts:857
↓ 12 callers
Method
emit
(event: U, ...args: Parameters<MutesEvents[U]>)
backend/src/plugins/Mutes/types.ts:45
↓ 12 callers
Function
errorMessage
(str, emoji = "⚠")
backend/src/utils.ts:470
↓ 12 callers
Function
sendContextResponse
( context: GenericCommandSource, content: string | ContextResponseOptions, ephemeral = false, )
backend/src/pluginUtils.ts:119
↓ 11 callers
Method
addEntry
( guildId: string, authorId: string, eventType: TEventType, eventData: AuditLogEventData[TEven
backend/src/data/ApiAuditLog.ts:15
↓ 11 callers
Function
formatNumber
(numberToFormat: number)
backend/src/utils.ts:1394
↓ 11 callers
Function
getBaseUrl
(pluginData: AnyPluginData<any>)
backend/src/pluginUtils.ts:183
↓ 11 callers
Method
getByUserId
( userId: string, filters: Omit<FindOptionsWhere<Case>, "guild_id" | "user_id"> = {}, )
backend/src/data/GuildCases.ts:76
↓ 11 callers
Method
getUrl
(baseUrl, archiveId)
backend/src/data/GuildArchives.ts:149
↓ 11 callers
Function
isBanned
( pluginData: GuildPluginData<ModActionsPluginType>, userId: string, timeout: number = 5 * SECONDS, )
backend/src/plugins/ModActions/functions/isBanned.ts:8
↓ 11 callers
Function
requireGuildPermission
(permission: ApiPermissions)
backend/src/api/permissions.ts:25
↓ 11 callers
Function
runAutomod
( pluginData: GuildPluginData<AutomodPluginType>, context: AutomodContext, dryRun = false, )
backend/src/plugins/Automod/functions/runAutomod.ts:51
↓ 11 callers
Function
serializeCustomId
(opts: ModMenuActionOpts)
backend/src/plugins/ContextMenus/commands/ModMenuUserCtxCmd.ts:292
↓ 11 callers
Function
unique
(arr: T[])
backend/src/utils.ts:1507
↓ 11 callers
Function
verboseUserMention
(user: User | UnknownUser)
backend/src/utils.ts:1345
↓ 10 callers
Method
emit
(event: U, ...args: Parameters<ModActionsEvents[U]>)
backend/src/plugins/ModActions/types.ts:83
↓ 10 callers
Method
findExistingMuteForUserId
(userId: string)
backend/src/data/GuildMutes.ts:35
↓ 10 callers
Method
get
()
backend/src/utils/DecayingCounter.ts:18
↓ 10 callers
Method
getRelations
* Gets and resets the relations primed using with()
backend/src/data/BaseRepository.ts:27
↓ 10 callers
Function
hasDiscordPermissions
( resolvedPermissions: PermissionsBitField | Readonly<PermissionsBitField> | null, requiredPermissions: nu
backend/src/utils/hasDiscordPermissions.ts:7
↓ 10 callers
Function
isSnowflake
(v: unknown)
backend/src/utils.ts:525
↓ 10 callers
Function
missingPermissionError
(missingPermissions: number | bigint)
backend/src/utils/missingPermissionError.ts:3
↓ 10 callers
Function
readContactMethodsFromArgs
(args: { notify?: string | null; "notify-channel"?: GuildTextBasedChannel | null; })
backend/src/plugins/ModActions/functions/readContactMethodsFromArgs.ts:4
↓ 9 callers
Method
add
(fn: TQueueFunction)
backend/src/Queue.ts:31
↓ 9 callers
Method
getChannelSlowmode
(channelId)
backend/src/data/GuildSlowmodes.ts:18
↓ 9 callers
Function
ignoreEvent
( pluginData: GuildPluginData<ModActionsPluginType>, type: IgnoredEventType, userId: string, timeout =
backend/src/plugins/ModActions/functions/ignoreEvent.ts:8
↓ 9 callers
Function
inputPatternToRegExp
(pattern: string)
backend/src/utils.ts:182
↓ 9 callers
Function
messageLink
(guildIdOrMessage: string | Message | null, channelId?: string, messageId?: string)
backend/src/utils.ts:1371
↓ 9 callers
Function
ok
(res: Response)
backend/src/api/responses.ts:23
↓ 9 callers
Function
parseTemplate
(str: string)
backend/src/templateFormatter.ts:110
↓ 9 callers
Function
savedMessageToTemplateSafeSavedMessage
(savedMessage: SavedMessage)
backend/src/utils/templateSafeObjects.ts:341
↓ 9 callers
Function
waitForButtonConfirm
( context: GenericCommandSource, toPost: Omit<MessageCreateOptions, "flags">, options?: WaitForOptions,
backend/src/utils/waitForInteraction.ts:14
↓ 8 callers
Function
asyncMap
( arr: T[], callback: (currentValue: T, index: number, array: T[]) => Awaitable<V>, )
backend/src/utils/async.ts:42
↓ 8 callers
Function
createMessageSpamTrigger
(spamType: RecentActionType, prettyName: string)
backend/src/plugins/Automod/functions/createMessageSpamTrigger.ts:22
↓ 8 callers
Function
get
(resource: string, params: QueryParamObject = {})
dashboard/src/api.ts:45
↓ 8 callers
Function
getUrlsInString
(str: string, onlyUnique = false)
backend/src/utils.ts:545
↓ 8 callers
Function
lazyMemoize
(fn: T, key?: string, time?: number)
backend/src/utils.ts:1425
↓ 8 callers
Function
logAndDetectMessageSpam
( pluginData: GuildPluginData<SpamPluginType>, savedMessage: SavedMessage, type: RecentActionType, spa
backend/src/plugins/Spam/util/logAndDetectMessageSpam.ts:21
↓ 8 callers
Function
profilingEnabled
()
backend/src/utils/easyProfiler.ts:9
↓ 8 callers
Method
remove
(id)
backend/src/data/AllowedGuilds.ts:63
↓ 8 callers
Function
zBoundedRecord
( record: TRecord, minKeys: number, maxKeys: number, )
backend/src/utils.ts:396
↓ 7 callers
Method
addUser
(guildId, userId, permissions: ApiPermissions[], expiresAt: string | null = null)
backend/src/data/ApiPermissionAssignments.ts:51
↓ 7 callers
Function
catchTemplateError
(fn: () => Promise<string>, errorText: string)
backend/src/plugins/CustomEvents/catchTemplateError.ts:4
↓ 7 callers
Function
formatReasonWithAttachments
(reason: string, attachments: Attachment[])
backend/src/plugins/ModActions/functions/formatReasonForAttachments.ts:27
↓ 7 callers
Method
getByGuildAndUserId
(guildId, userId)
backend/src/data/ApiPermissionAssignments.ts:41
↓ 7 callers
Function
getGuildPrefix
(pluginData: GuildPluginData<any>)
backend/src/utils/getGuildPrefix.ts:3
next →
1–100 of 1,683, ranked by callers