MCPcopy Create free account

hub / github.com/Loukious/Vencord / functions

Functions2,306 in github.com/Loukious/Vencord

↓ 233 callersMethodmap
(mapper: (v: T, idx: number, arr: T[]) => R)
src/utils/ChangeList.ts:47
↓ 198 callersFunctiondefinePlugin
(p: P & Record<PropertyKey, any>)
src/utils/types.ts:32
↓ 166 callersMethodpush
* Append a task at the end of the queue. This task will be executed after all other tasks * If the queue exceeds the specified maxSize, the first
src/utils/Queue.ts:56
↓ 129 callersMethoderror
(...args: any[])
src/utils/Logger.ts:57
↓ 111 callersFunctiondefinePluginSettings
(def: Def, checks?: Checks)
src/api/Settings.ts:260
↓ 108 callersMethodset
(target, key: string, value)
src/shared/SettingsStore.ts:92
↓ 99 callersMethodfilter
(section: FriendsSection, searchQuery?: string | null)
packages/discord-types/src/stores/FriendsStore.d.ts:57
↓ 97 callersFunctionclasses
(...classes: Array<string | null | undefined | false>)
src/utils/misc.ts:25
↓ 93 callersMethodget
(target, key: any, receiver)
src/shared/SettingsStore.ts:58
↓ 78 callersMethodforEach
(obj: Record<string, any>, callback: (value: any, key: string) => void)
packages/discord-types/src/utils.d.ts:97
↓ 69 callersFunctionshowToast
(message: string, type = ToastType.MESSAGE, options?: ToastOptions)
src/webpack/common/utils.ts:137
↓ 64 callersMethoddispatch
(event: { [key: string]: unknown; type: FluxEventsAutoComplete; })
packages/discord-types/src/utils.d.ts:17
↓ 61 callersMethodlog
(...args: any[])
src/utils/Logger.ts:49
↓ 60 callersFunctionshikiRepoTheme
(name: string)
src/plugins/shikiCodeblocks.desktop/api/themes.ts:23
↓ 54 callersMethodentries
(obj: Record<string, any>)
packages/discord-types/src/utils.d.ts:99
↓ 54 callersFunctionwaitForStore
(name: string, cb: (v: any) => void)
src/webpack/common/internal.tsx:50
↓ 52 callersMethodadd
(item: T)
src/utils/ChangeList.ts:35
↓ 50 callersFunctionfetch
()
src/plugins/validUser/index.tsx:147
↓ 47 callersFunctionfindCssClassesLazy
(...classes: S[])
src/webpack/webpack.ts:609
↓ 44 callersFunctionopenModal
()
src/plugins/reviewDB/components/ReviewComponent.tsx:52
↓ 42 callersFunctionfindByPropsLazy
(...props: PropsFilter)
src/webpack/webpack.ts:448
↓ 41 callersFunctionclassNameFactory
(prefix: string = "")
src/utils/css.ts:27
↓ 35 callersMethodkeys
(obj: Record<string, any>)
packages/discord-types/src/utils.d.ts:96
↓ 33 callersFunctionget
()
src/plugins/biggerFileUpload/index.tsx:35
↓ 33 callersMethoduse
* React hook for getting the settings for this plugin * @param filter optional filter to avoid rerenders for irrelevant settings
src/utils/types.ts:408
↓ 29 callersFunctionshowNotification
(data: NotificationData)
src/api/Notifications/Notifications.tsx:95
↓ 27 callersFunctiongetIntlMessage
(key: string, values?: Record<PropertyKey, any>)
src/utils/discord.tsx:35
↓ 25 callersFunctionfindByCodeLazy
(...code: CodeFilter)
src/webpack/webpack.ts:467
↓ 25 callersFunctionisPluginEnabled
(p: string)
src/api/PluginManager.ts:49
↓ 24 callersMethodinfo
(...args: any[])
src/utils/Logger.ts:53
↓ 23 callersFunctionsendBotMessage
(channelId: string, message: PartialDeep<Message>)
src/api/Commands/commandHelpers.ts:37
↓ 23 callersFunctionupdateSetting
(key: keyof typeof settings.store, value: any)
src/plugins/biggerFileUpload/index.tsx:104
↓ 23 callersMethodwarn
(...args: any[])
src/utils/Logger.ts:65
↓ 22 callersFunctionfindComponentByCodeLazy
(...code: CodeFilter)
src/webpack/webpack.ts:556
↓ 22 callersFunctionuseSettings
(paths?: UseSettings<Settings>[])
src/api/Settings.ts:205
↓ 21 callersFunctionget
()
src/plugins/philsPluginLibrary/store/store.ts:66
↓ 21 callersFunctioninvoke
(event: IpcEvents, ...args: any[])
src/VencordNative.ts:15
↓ 21 callersFunctionmapMangledModuleLazy
(code: string | RegExp | CodeFilter, mappers: Record<S, FilterFn>, includeBlacklistedExports = false)
src/webpack/webpack.ts:673
↓ 21 callersMethodon
* Registers a listener for device changes. * @param event event name. * @param listener callback receiving device lists.
packages/discord-types/src/stores/MediaEngineStore.d.ts:1432
↓ 20 callersFunctionLazyComponent
(factory: () => ComponentType<T>, attempts = 5)
src/utils/lazyReact.tsx:21
↓ 20 callersFunctioncopyWithToast
(text: string, toastMessage = "Copied to clipboard!")
src/utils/discord.tsx:117
↓ 18 callersMethoddebug
(...args: any[])
src/utils/Logger.ts:69
↓ 17 callersFunctionfindGroupChildrenByChildId
(id: string | string[], children: Array<ReactElement<any> | null | undefined>, matchSubstring = false)
src/api/ContextMenu.ts:95
↓ 17 callersMethodonClose
()
src/api/Notifications/Notifications.tsx:56
↓ 17 callersFunctionwaitForComponent
(name: string, filter: FilterFn | string | string[], fallbackValue: ComponentType<any> | null = null)
src/webpack/common/internal.tsx:26
↓ 16 callersFunctionshowToast
(message: string, type = Toasts.Type.MESSAGE)
src/plugins/reviewDB/utils.tsx:45
↓ 15 callersMethodopenExternal
(path: string)
src/plugins/spotifyControls/SpotifyStore.ts:94
↓ 15 callersFunctionproxyLazy
(factory: () => T, attempts = 5, isChild = false)
src/utils/lazy.ts:88
↓ 15 callersFunctionwaitFor
(filter: string | PropsFilter | FilterFn, callback: CallbackFn, { isIndirect = false }: { isIndirect?: boolean
src/webpack/webpack.ts:773
↓ 14 callersFunctiondebounce
(func: T, delay = 300)
src/shared/debounce.ts:26
↓ 14 callersFunctionfindStoreLazy
(name: StoreNameFilter)
src/webpack/webpack.ts:522
↓ 14 callersFunctionget
(userId: string)
src/plugins/decor/lib/stores/UsersDecorationsStore.ts:84
↓ 14 callersFunctionpromisifyRequest
( request: IDBRequest<T> | IDBTransaction, )
src/api/DataStore/index.ts:21
↓ 14 callersFunctionuseAwaiter
(factory: () => Promise<T>, providedOpts?: AwaiterOpts<T | null>)
src/utils/react.tsx:92
↓ 13 callersMethodremove
(item: T)
src/utils/ChangeList.ts:39
↓ 12 callersFunctionfail
(reason: string)
scripts/generatePluginList.ts:97
↓ 12 callersMethodopenContextMenu
( event: UIEvent, render?: Menu["Menu"], options?: { enableSpellCheck?: boolean; },
packages/discord-types/src/menu.d.ts:68
↓ 12 callersFunctionset
(userId: string, decoration: string | null)
src/plugins/decor/lib/stores/UsersDecorationsStore.ts:87
↓ 12 callersMethodunshift
* Prepend a task at the beginning of the queue. This task will be executed next * If the queue exceeds the specified maxSize, the last task in qu
src/utils/Queue.ts:69
↓ 12 callersFunctionvalidateNumberInput
(value: string)
src/plugins/philsPluginLibrary/utils/utils.ts:24
↓ 12 callersFunctionvalidateTextInputNumber
(value: string)
src/plugins/philsPluginLibrary/utils/utils.ts:25
↓ 11 callersFunctioncallback
({ chunks })
src/plugins/implicitRelationships/index.ts:146
↓ 11 callersFunctioncb
()
src/webpack/common/utils.ts:30
↓ 11 callersMethodclose
This is a noop, it does nothing.
packages/discord-types/src/utils.d.ts:80
↓ 11 callersFunctiondefaultGetStore
()
src/api/DataStore/index.ts:50
↓ 11 callersFunctiondefine
(target, p, attributes)
src/webpack/patchWebpack.ts:71
↓ 11 callersFunctionlogStderr
(...data: any[])
scripts/generateReport.ts:26
↓ 11 callersFunctiontoCodeBlock
(s: string, indentation = 0, isDiscord = false)
scripts/generateReport.ts:86
↓ 10 callersFunctioncreateAndAppendStyle
(id: string, target: HTMLElement)
src/utils/css.ts:7
↓ 10 callersFunctionfindAll
(filter: FilterFn, { topLevelOnly = false }: { topLevelOnly?: boolean; } = {})
src/webpack/webpack.ts:259
↓ 10 callersMethodshow
(alert: { title: any; body: React.ReactNode; className?: string; confirmColor?
packages/discord-types/src/utils.d.ts:54
↓ 9 callersMethodaddChangeListener
* Add a scoped change listener that will fire whenever a setting matching the specified path is changed. * * For example if path is `"foo.ba
src/shared/SettingsStore.ts:248
↓ 9 callersFunctioncopyToClipboard
(text: string)
src/utils/clipboard.ts:7
↓ 9 callersFunctionenableStyle
(name: string)
src/api/Styles.ts:103
↓ 9 callersFunctiongetToken
()
src/plugins/reviewDB/auth.tsx:26
↓ 9 callersFunctionhandleModuleNotFound
(method: string, ...filter: unknown[])
src/webpack/webpack.ts:216
↓ 9 callersFunctionopenUserProfile
(id: string)
src/utils/discord.tsx:180
↓ 9 callersMethodsubscribe
(event: FluxEventsAutoComplete, callback: (data: any) => void)
packages/discord-types/src/utils.d.ts:19
↓ 9 callersFunctionwrapTab
(component: ComponentType<any>, tab: string)
src/components/settings/tabs/BaseTab.tsx:33
↓ 8 callersFunctionMakeContextCallback
(name: "Guild" | "Role" | "User" | "Channel" | "Message" | "Profile", getData?: (props: any) => any)
src/plugins/viewRaw/index.tsx:131
↓ 8 callersMethodaddListener
( emitter: EventEmitter, type: keyof Pick<EventEmitter, "on" | "once">, event: string,
src/plugins/philsPluginLibrary/emitter/emitter.ts:50
↓ 8 callersFunctionbuildEntry
(options: EntryOptions)
src/plugins/_core/settings.tsx:134
↓ 8 callersFunctioncanonicalizeMatch
(match: T)
src/utils/patches.ts:22
↓ 8 callersFunctiondisableStyle
(name: string)
src/api/Styles.ts:124
↓ 8 callersFunctionfilter
src/webpack/webpack.ts:69
↓ 8 callersFunctionfindLazy
(filter: FilterFn)
src/webpack/webpack.ts:429
↓ 8 callersFunctionfindOption
(args: CommandArgument[], name: string, fallbackValue?: any)
src/api/Commands/commandHelpers.ts:54
↓ 8 callersFunctiongetUserSettingLazy
(group: string, name: string)
src/api/UserSettings.ts:81
↓ 8 callersFunctionnotify
(text: string, icon?: string, onClick?: () => void)
src/plugins/relationshipNotifier/utils.ts:113
↓ 8 callersFunctionreadDWord
(bytes: U8Arr, off: number)
src/utils/apng.ts:210
↓ 8 callersFunctionreply
(error?: string)
src/plugins/devCompanion.dev/index.tsx:143
↓ 8 callersMethodrun
()
src/utils/Queue.ts:46
↓ 8 callersFunctionserializeErrors
(func: (...args: any[]) => any)
src/main/updater/common.ts:26
↓ 8 callersMethodupdate
(updater: (userId: string) => Partial<FriendsRow>)
packages/discord-types/src/stores/FriendsStore.d.ts:56
↓ 7 callersMethod_req
(method: "post" | "get" | "put", route: string, data: any = {})
src/plugins/spotifyControls/SpotifyStore.ts:170
↓ 7 callersFunctionaddSettingsPanelButton
(settings: PanelButton)
src/plugins/philsPluginLibrary/patches/userPanel.tsx:100
↓ 7 callersMethoddeleteProperty
(target, key: string)
src/shared/SettingsStore.ts:117
↓ 7 callersMethodformat
(url: URL)
packages/discord-types/src/utils.d.ts:389
↓ 7 callersFunctiongetCloudUrl
()
src/api/SettingsSync/cloudSetup.tsx:16
↓ 7 callersFunctiongetCurrentChannel
()
src/utils/discord.tsx:85
next →1–100 of 2,306, ranked by callers