MCPcopy Create free account

hub / github.com/ZeppelinBot/Zeppelin / functions

Functions1,683 in github.com/ZeppelinBot/Zeppelin

↓ 237 callersMethodpush
(content: MessageBufferContent)
backend/src/utils/MessageBuffer.ts:56
↓ 231 callersMethodget
(ids: number[])
backend/src/data/GuildCases.ts:23
↓ 119 callersMethodhas
(key: string)
backend/src/SimpleCache.ts:61
↓ 115 callersFunctionmakePublicFn
( pluginData: TPluginData, fn: T, )
backend/src/pluginUtils.ts:219
↓ 106 callersMethoddelete
(id: string)
backend/src/data/Webhooks.ts:45
↓ 85 callersMethodset
(userId: string, data: Partial<PersistedData> = {})
backend/src/data/GuildPersistedData.ts:23
↓ 84 callersMethodadd
(requestorId: string, userId: string, channelId: string, expiresAt: string, body: string, active: boolean)
backend/src/data/GuildVCAlerts.ts:57
↓ 72 callersFunctioncreateTypedTemplateSafeValueContainer
( data: T, )
backend/src/templateFormatter.ts:92
↓ 71 callersFunctionlog
( pluginData: GuildPluginData<LogsPluginType>, type: TLogType, data: TypedTemplateSafeValueContainer<ILo
backend/src/plugins/Logs/util/log.ts:74
↓ 66 callersFunctionrenderUsername
(username: string | User | GuildMember | UnknownUser, discriminator?: string)
backend/src/utils.ts:1520
↓ 61 callersMethodlog
(type: keyof typeof LogType, data: any, ignoreId?: string)
backend/src/data/GuildLogs.ts:30
↓ 60 callersFunctionuserToTemplateSafeUser
(user: User | UnknownUser | PartialUser)
backend/src/utils/templateSafeObjects.ts:247
↓ 56 callersMethodfind
(id: string)
backend/src/data/Webhooks.ts:20
↓ 56 callersFunctionresolveMember
( bot: Client, guild: Guild, value: string, fresh = false, )
backend/src/utils.ts:1189
↓ 54 callersFunctionzBoundedCharacters
(min: number, max: number)
backend/src/utils.ts:159
↓ 53 callersMethodgetGuildInstance
* 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 callersFunctionresolveUser
(bot: Client, value: unknown, context?: string)
backend/src/utils.ts:1171
↓ 47 callersMethodupdate
(id, data)
backend/src/data/GuildCases.ts:214
↓ 43 callersFunctionconvertDelayStringToMS
(str, defaultUnit = "m")
backend/src/utils.ts:426
↓ 36 callersFunctiontrimLines
(str: string)
backend/src/utils.ts:665
↓ 33 callersFunctionchannelToTemplateSafeChannel
(channel: GuildBasedChannel)
backend/src/utils/templateSafeObjects.ts:297
↓ 31 callersFunctionresolveMessageMember
(message: Message<true>)
backend/src/pluginUtils.ts:228
↓ 29 callersFunctionautomodTrigger
(...args)
backend/src/plugins/Automod/helpers.ts:48
↓ 29 callersMethodon
(event: U, listener: MutesEvents[U])
backend/src/plugins/Mutes/types.ts:44
↓ 28 callersFunctioncanActOn
( pluginData: GuildPluginData<any>, member1: GuildMember, member2: GuildMember, allowSameLevel = false
backend/src/pluginUtils.ts:39
↓ 27 callersFunctionmemberToTemplateSafeMember
(member: GuildMember | PartialGuildMember)
backend/src/utils/templateSafeObjects.ts:283
↓ 27 callersFunctionrenderTemplate
( template: string, values: TemplateSafeValueContainer = new TemplateSafeValueContainer(), includeBaseVa
backend/src/templateFormatter.ts:467
↓ 26 callersFunctionresolveChannelIds
(channel: Channel)
backend/src/utils/resolveChannelIds.ts:12
↓ 22 callersMethodall
()
backend/src/data/GuildTags.ts:17
↓ 22 callersMethodget
(key: string)
backend/src/SimpleCache.ts:54
↓ 22 callersFunctionhasPermission
( pluginData: GuildPluginData<UtilityPluginType>, member: GuildMember, channelId: Snowflake, permissio
backend/src/plugins/Utility/functions/hasPermission.ts:5
↓ 22 callersMethodignoreLog
(type: keyof typeof LogType, ignoreId: any, timeout?: number)
backend/src/data/GuildLogs.ts:39
↓ 22 callersMethodoff
(eventName: string, listener: Listener)
backend/src/QueuedEventEmitter.ts:23
↓ 20 callersFunctionautomodAction
( blueprint: AutomodActionBlueprint<TConfigSchema>, )
backend/src/plugins/Automod/helpers.ts:70
↓ 20 callersMethodcreate
(data: Partial<Webhook>)
backend/src/data/Webhooks.ts:40
↓ 20 callersFunctionverboseChannelMention
(channel: GuildBasedChannel)
backend/src/utils.ts:1361
↓ 19 callersFunctionisDiscordAPIError
(err: Error | string)
backend/src/utils.ts:86
↓ 18 callersMethodgetForMessage
(messageId: string)
backend/src/data/GuildReactionRoles.ts:22
↓ 18 callersFunctionmapElement
(s: $ZodType)
backend/src/utils/zodDeepPartial.ts:38
↓ 18 callersFunctionsorter
(getter: sorterGetterResolvable, direction: sorterDirection = "ASC")
backend/src/utils.ts:980
↓ 17 callersMethodset
(key: string, value: T)
backend/src/SimpleCache.ts:42
↓ 16 callersFunctionclientError
(res: Response, message: string)
backend/src/api/responses.ts:15
↓ 15 callersMethodclear
(userId)
backend/src/data/GuildMutes.ts:143
↓ 15 callersMethodexec
(regex: RegExp, str: string)
backend/src/RegExpRunner.ts:83
↓ 15 callersFunctiongenerateAttachmentSlashOptions
(amount: number, options: AttachmentSlashOptions)
backend/src/utils/multipleSlashOptions.ts:5
↓ 15 callersFunctioningestDataIntoTemplateSafeValueContainer
( target: TemplateSafeValueContainer, data: Record<string, TemplateSafeValue> = {}, )
backend/src/templateFormatter.ts:73
↓ 15 callersFunctionretrieveMultipleOptions
(amount: number, options: any, name: string)
backend/src/utils/multipleSlashOptions.ts:15
↓ 15 callersFunctionsleep
(ms: number)
backend/src/utils.ts:529
↓ 14 callersFunctionasSingleLine
(str: string)
backend/src/utils.ts:681
↓ 13 callersFunctionfilterObject
( object: T, filterFn: <K extends keyof T>(value: T[K], key: K) => boolean, )
backend/src/utils/filterObject.ts:9
↓ 13 callersFunctionformatReasonWithMessageLinkForAttachments
( pluginData: GuildPluginData<ModActionsPluginType>, reason: string, context: Message | ChatInputCommand
backend/src/plugins/ModActions/functions/formatReasonForAttachments.ts:6
↓ 13 callersFunctionhandleAttachmentLinkDetectionAndGetRestriction
( pluginData: GuildPluginData<ModActionsPluginType>, context: SendableChannels | Message | ChatInputComman
backend/src/plugins/ModActions/functions/attachmentLinkReaction.ts:33
↓ 13 callersMethodon
(event: "timeout", listener: (regexSource: string, timeoutMs: number) => void)
backend/src/RegExpRunner.ts:43
↓ 12 callersFunctioncensorMessage
( pluginData: GuildPluginData<CensorPluginType>, savedMessage: SavedMessage, reason: string, )
backend/src/plugins/Censor/util/censorMessage.ts:9
↓ 12 callersFunctioncreateChunkedMessage
( channel: SendableChannels | User, messageText: string, allowedMentions?: MessageMentionOptions, )
backend/src/utils.ts:857
↓ 12 callersMethodemit
(event: U, ...args: Parameters<MutesEvents[U]>)
backend/src/plugins/Mutes/types.ts:45
↓ 12 callersFunctionerrorMessage
(str, emoji = "⚠")
backend/src/utils.ts:470
↓ 12 callersFunctionsendContextResponse
( context: GenericCommandSource, content: string | ContextResponseOptions, ephemeral = false, )
backend/src/pluginUtils.ts:119
↓ 11 callersMethodaddEntry
( guildId: string, authorId: string, eventType: TEventType, eventData: AuditLogEventData[TEven
backend/src/data/ApiAuditLog.ts:15
↓ 11 callersFunctionformatNumber
(numberToFormat: number)
backend/src/utils.ts:1394
↓ 11 callersFunctiongetBaseUrl
(pluginData: AnyPluginData<any>)
backend/src/pluginUtils.ts:183
↓ 11 callersMethodgetByUserId
( userId: string, filters: Omit<FindOptionsWhere<Case>, "guild_id" | "user_id"> = {}, )
backend/src/data/GuildCases.ts:76
↓ 11 callersMethodgetUrl
(baseUrl, archiveId)
backend/src/data/GuildArchives.ts:149
↓ 11 callersFunctionisBanned
( pluginData: GuildPluginData<ModActionsPluginType>, userId: string, timeout: number = 5 * SECONDS, )
backend/src/plugins/ModActions/functions/isBanned.ts:8
↓ 11 callersFunctionrequireGuildPermission
(permission: ApiPermissions)
backend/src/api/permissions.ts:25
↓ 11 callersFunctionrunAutomod
( pluginData: GuildPluginData<AutomodPluginType>, context: AutomodContext, dryRun = false, )
backend/src/plugins/Automod/functions/runAutomod.ts:51
↓ 11 callersFunctionserializeCustomId
(opts: ModMenuActionOpts)
backend/src/plugins/ContextMenus/commands/ModMenuUserCtxCmd.ts:292
↓ 11 callersFunctionunique
(arr: T[])
backend/src/utils.ts:1507
↓ 11 callersFunctionverboseUserMention
(user: User | UnknownUser)
backend/src/utils.ts:1345
↓ 10 callersMethodemit
(event: U, ...args: Parameters<ModActionsEvents[U]>)
backend/src/plugins/ModActions/types.ts:83
↓ 10 callersMethodfindExistingMuteForUserId
(userId: string)
backend/src/data/GuildMutes.ts:35
↓ 10 callersMethodget
()
backend/src/utils/DecayingCounter.ts:18
↓ 10 callersMethodgetRelations
* Gets and resets the relations primed using with()
backend/src/data/BaseRepository.ts:27
↓ 10 callersFunctionhasDiscordPermissions
( resolvedPermissions: PermissionsBitField | Readonly<PermissionsBitField> | null, requiredPermissions: nu
backend/src/utils/hasDiscordPermissions.ts:7
↓ 10 callersFunctionisSnowflake
(v: unknown)
backend/src/utils.ts:525
↓ 10 callersFunctionmissingPermissionError
(missingPermissions: number | bigint)
backend/src/utils/missingPermissionError.ts:3
↓ 10 callersFunctionreadContactMethodsFromArgs
(args: { notify?: string | null; "notify-channel"?: GuildTextBasedChannel | null; })
backend/src/plugins/ModActions/functions/readContactMethodsFromArgs.ts:4
↓ 9 callersMethodadd
(fn: TQueueFunction)
backend/src/Queue.ts:31
↓ 9 callersMethodgetChannelSlowmode
(channelId)
backend/src/data/GuildSlowmodes.ts:18
↓ 9 callersFunctionignoreEvent
( pluginData: GuildPluginData<ModActionsPluginType>, type: IgnoredEventType, userId: string, timeout =
backend/src/plugins/ModActions/functions/ignoreEvent.ts:8
↓ 9 callersFunctioninputPatternToRegExp
(pattern: string)
backend/src/utils.ts:182
↓ 9 callersFunctionmessageLink
(guildIdOrMessage: string | Message | null, channelId?: string, messageId?: string)
backend/src/utils.ts:1371
↓ 9 callersFunctionok
(res: Response)
backend/src/api/responses.ts:23
↓ 9 callersFunctionparseTemplate
(str: string)
backend/src/templateFormatter.ts:110
↓ 9 callersFunctionsavedMessageToTemplateSafeSavedMessage
(savedMessage: SavedMessage)
backend/src/utils/templateSafeObjects.ts:341
↓ 9 callersFunctionwaitForButtonConfirm
( context: GenericCommandSource, toPost: Omit<MessageCreateOptions, "flags">, options?: WaitForOptions,
backend/src/utils/waitForInteraction.ts:14
↓ 8 callersFunctionasyncMap
( arr: T[], callback: (currentValue: T, index: number, array: T[]) => Awaitable<V>, )
backend/src/utils/async.ts:42
↓ 8 callersFunctioncreateMessageSpamTrigger
(spamType: RecentActionType, prettyName: string)
backend/src/plugins/Automod/functions/createMessageSpamTrigger.ts:22
↓ 8 callersFunctionget
(resource: string, params: QueryParamObject = {})
dashboard/src/api.ts:45
↓ 8 callersFunctiongetUrlsInString
(str: string, onlyUnique = false)
backend/src/utils.ts:545
↓ 8 callersFunctionlazyMemoize
(fn: T, key?: string, time?: number)
backend/src/utils.ts:1425
↓ 8 callersFunctionlogAndDetectMessageSpam
( pluginData: GuildPluginData<SpamPluginType>, savedMessage: SavedMessage, type: RecentActionType, spa
backend/src/plugins/Spam/util/logAndDetectMessageSpam.ts:21
↓ 8 callersFunctionprofilingEnabled
()
backend/src/utils/easyProfiler.ts:9
↓ 8 callersMethodremove
(id)
backend/src/data/AllowedGuilds.ts:63
↓ 8 callersFunctionzBoundedRecord
( record: TRecord, minKeys: number, maxKeys: number, )
backend/src/utils.ts:396
↓ 7 callersMethodaddUser
(guildId, userId, permissions: ApiPermissions[], expiresAt: string | null = null)
backend/src/data/ApiPermissionAssignments.ts:51
↓ 7 callersFunctioncatchTemplateError
(fn: () => Promise<string>, errorText: string)
backend/src/plugins/CustomEvents/catchTemplateError.ts:4
↓ 7 callersFunctionformatReasonWithAttachments
(reason: string, attachments: Attachment[])
backend/src/plugins/ModActions/functions/formatReasonForAttachments.ts:27
↓ 7 callersMethodgetByGuildAndUserId
(guildId, userId)
backend/src/data/ApiPermissionAssignments.ts:41
↓ 7 callersFunctiongetGuildPrefix
(pluginData: GuildPluginData<any>)
backend/src/utils/getGuildPrefix.ts:3
next →1–100 of 1,683, ranked by callers