MCPcopy Create free account

hub / github.com/BetterDiscord/BetterDiscord / functions

Functions1,293 in github.com/BetterDiscord/BetterDiscord

↓ 2 callersMethodallowPreloadOverride
()
src/electron/main/modules/betterdiscord.ts:74
↓ 2 callersFunctionattemptRecovery
()
src/betterdiscord/builtins/developer/recovery.tsx:22
↓ 2 callersMethodbefore
* This method patches onto another function, allowing your code to run beforehand. * Using this, you are also able to modify the incoming argumen
src/betterdiscord/api/patcher.ts:52
↓ 2 callersFunctionbuildDirectionOptions
()
src/betterdiscord/ui/settings/addonshared.tsx:11
↓ 2 callersMethodbuildMenuChildren
* Creates the all the items **and groups** of a context menu recursively. * There is no hard limit to the number of groups within groups or numb
src/betterdiscord/api/contextmenu.ts:470
↓ 2 callersFunctionbuildOptions
()
scripts/build.ts:36
↓ 2 callersMethodcenterHorizontally
()
src/betterdiscord/ui/tooltip.ts:174
↓ 2 callersMethodcenterVertically
()
src/betterdiscord/ui/tooltip.ts:179
↓ 2 callersMethodcheckForUpdate
(filename: string, currentVersion: string)
src/betterdiscord/modules/updater.ts:290
↓ 2 callersMethodcloseModal
(key: string | number)
src/betterdiscord/ui/modals.ts:37
↓ 2 callersFunctioncreateFallback
()
src/betterdiscord/ui/customcss/editor.tsx:104
↓ 2 callersFunctioncreateMonaco
()
src/betterdiscord/ui/customcss/editor.tsx:137
↓ 2 callersFunctioncreateRequire
(path: string)
src/betterdiscord/polyfill/index.ts:25
↓ 2 callersMethoddefault
(title: string, content: string | ReactElement | ReactElement[] | HTMLElement | Array<string | ReactElement>,
src/betterdiscord/ui/modals.ts:59
↓ 2 callersMethoddeleteAddon
()
src/betterdiscord/ui/settings/addoncard.tsx:95
↓ 2 callersMethoddeleteData
(pluginName: string, key: string)
src/betterdiscord/stores/json.ts:181
↓ 2 callersMethoddownload
* Attempt to download addon * Shows a confirmation modal (unless skipped) and installs the addon * * If the addon is installed or gets
src/betterdiscord/modules/addonstore.ts:272
↓ 2 callersFunctiondryReadableStream
(stream: ReadableStream<Uint8Array<ArrayBuffer>>)
src/common/native-fetch.ts:52
↓ 2 callersMethode
(id: PropertyKey)
src/betterdiscord/types/discord/webpack.d.ts:7
↓ 2 callersMethodenable
()
src/betterdiscord/structs/builtin.ts:64
↓ 2 callersMethodextractDiscordProtocolList
()
src/betterdiscord/builtins/store/addonstore.ts:160
↓ 2 callersFunctionfetch
(input: string | URL | Request, init?: NativeRequestInit)
src/betterdiscord/api/fetch.ts:51
↓ 2 callersFunctionfindEndOfRegex
(moduleString: string, startIndex: number)
src/common/parseDeclarations.ts:190
↓ 2 callersFunctionfindEndOfString
(moduleString: string, startIndex: number, quoteChar: CharCodes)
src/common/parseDeclarations.ts:173
↓ 2 callersFunctionfindExtension
(dataPath: string)
src/electron/main/modules/reactdevtools.ts:12
↓ 2 callersFunctionfindLatestVersion
(extensionPath: string)
src/electron/main/modules/reactdevtools.ts:7
↓ 2 callersFunctiongenerateTab
(id: string, errors: AddonErrorType[])
src/betterdiscord/ui/modals/addonerrormodal.tsx:60
↓ 2 callersMethodget
(collection: string, category: string, id?: string)
src/betterdiscord/stores/settings.ts:259
↓ 2 callersFunctiongetAddonList
(manager: AddonManager)
src/betterdiscord/utils/debug.ts:79
↓ 2 callersMethodgetAll
()
src/betterdiscord/types/discord/modules.d.ts:59
↓ 2 callersMethodgetCommandsByCaller
(caller: string)
src/betterdiscord/modules/commandmanager.tsx:490
↓ 2 callersFunctiongetCoreInfo
()
src/betterdiscord/utils/debug.ts:83
↓ 2 callersFunctiongetDebugInfo
()
src/betterdiscord/utils/debug.ts:97
↓ 2 callersFunctiongetDiscordInfo
(string = true)
src/betterdiscord/utils/debug.ts:61
↓ 2 callersMethodgetIdFromStack
(suffix?: string | number)
src/betterdiscord/webpack/cache.ts:63
↓ 2 callersFunctiongetOptions
()
src/betterdiscord/ui/customcss/editor.tsx:138
↓ 2 callersMethodgetReleaseChannelType
* This will allow preloading of the addon channels * @param {string} channelId * @returns {"plugin" | "theme" | undefined}
src/betterdiscord/data/web.ts:60
↓ 2 callersMethodgetSetting
(collection: string, category: string, id?: string)
src/betterdiscord/stores/settings.ts:250
↓ 2 callersFunctiongetState
(type, control, defaultValue)
src/betterdiscord/ui/settings/addonshared.tsx:23
↓ 2 callersFunctiongetStore
(name: string)
src/betterdiscord/api/webpack.ts:180
↓ 2 callersFunctionglobToRegExp
(glob: string)
src/betterdiscord/api/contextmenu.ts:139
↓ 2 callersMethodhandleCSSInstall
(cssBlock: string)
src/betterdiscord/ui/customcss/mdinstallcss.tsx:80
↓ 2 callersMethodhandleRender
(Component: T)
src/betterdiscord/api/contextmenu.ts:192
↓ 2 callersMethodhide
(id: string)
src/betterdiscord/ui/notifications.tsx:111
↓ 2 callersFunctionhydrateReadableStream
(stream: DryReadableStream)
src/common/native-fetch.ts:65
↓ 2 callersMethodinfo
Shorthand for `type = "info"` for {@link module:Notices.show}
src/betterdiscord/ui/notices.ts:26
↓ 2 callersMethodisDestroyed
()
src/betterdiscord/modules/nodepatcher.ts:18
↓ 2 callersFunctionisValidPlural
(value: unknown)
src/common/i18n.ts:57
↓ 2 callersMethodisValidWindow
(item: any)
src/electron/main/modules/editor.ts:145
↓ 2 callersFunctionlistenToModules
(modules: Record<PropertyKey, RawModule>)
src/betterdiscord/webpack/require.ts:27
↓ 2 callersMethodloadCSS
()
src/betterdiscord/builtins/customcss.ts:140
↓ 2 callersMethodloadCollection
(id: string)
src/betterdiscord/stores/settings.ts:203
↓ 2 callersMethodlog
(...message: string[])
src/betterdiscord/structs/builtin.ts:79
↓ 2 callersFunctionmakeControlButton
(title: string, children: ReactNode, action: () => void, selected = false)
src/betterdiscord/ui/settings/addonlist.tsx:60
↓ 2 callersFunctionmakeNode
(d: string, color: React.CSSProperties["color"] | undefined | null)
src/betterdiscord/ui/logo.tsx:14
↓ 2 callersMethodmakeOverride
(patch: Patch<M, K>)
src/betterdiscord/modules/patcher.ts:99
↓ 2 callersMethodmakeStack
()
src/betterdiscord/ui/modals.ts:329
↓ 2 callersFunctionmo
scripts/translations.ts:73
↓ 2 callersMethodonAdded
* Adds a listener for when a node matching a selector is added to the document body. * The listener is automatically removed upon firing. *
src/betterdiscord/api/dom.ts:86
↓ 2 callersMethodonChange
()
src/betterdiscord/ui/settings/panel.tsx:49
↓ 2 callersFunctiononClick
(event: MouseEvent)
src/betterdiscord/ui/updater.tsx:32
↓ 2 callersMethodonClick
(e: MouseEvent)
src/betterdiscord/ui/modals/backdrop.tsx:12
↓ 2 callersFunctiononLoadEnd
()
src/betterdiscord/webpack/require.ts:83
↓ 2 callersFunctiononLoadStart
()
src/betterdiscord/webpack/require.ts:75
↓ 2 callersMethodonRemoved
* Adds a listener for when the node is removed from the document body. * * @param {HTMLElement} node Node to be observed * @param {func
src/betterdiscord/api/dom.ts:75
↓ 2 callersMethodopenAuthorPage
* Opens the raw code page * @public
src/betterdiscord/modules/addonstore.ts:258
↓ 2 callersFunctionopenCategory
(id: string)
src/betterdiscord/ui/settings.tsx:520
↓ 2 callersMethodopenNative
()
src/betterdiscord/builtins/customcss.ts:168
↓ 2 callersMethodopenSourceCode
* Opens the addons github page * @public
src/betterdiscord/modules/addonstore.ts:250
↓ 2 callersFunctionout
(uri: string, res: http.IncomingMessage)
src/electron/preload/api/fetch.ts:17
↓ 2 callersFunctionparseJsDoc
(text: string)
src/common/utils/jsdoc.ts:4
↓ 2 callersMethodread
()
src/common/native-fetch.ts:8
↓ 2 callersMethodreadText
()
src/editor/types/global.d.ts:15
↓ 2 callersMethodregisterCommand
(caller: string, command: Command)
src/betterdiscord/modules/commandmanager.tsx:329
↓ 2 callersMethodremoveChangeListener
(listener: () => void)
src/betterdiscord/types/discord/modules.d.ts:47
↓ 2 callersFunctionremoveListeners
()
src/betterdiscord/ui/modals/installmodal.tsx:65
↓ 2 callersMethodremoveTheme
(id: string)
src/betterdiscord/modules/dommanager.ts:117
↓ 2 callersMethodrender
()
src/betterdiscord/ui/modals.ts:303
↓ 2 callersMethodrunPatches
(id: string, res: MenuRenderNode, props: MenuRenderProps, instance?: React.Component<MenuRenderProps>)
src/betterdiscord/api/contextmenu.ts:256
↓ 2 callersMethodsave
()
src/betterdiscord/webpack/cache.ts:55
↓ 2 callersMethodsearchable
()
src/betterdiscord/stores/settings.ts:33
↓ 2 callersMethodset
(collection: string, category: string, id: string | unknown, value?: unknown)
src/betterdiscord/stores/settings.ts:269
↓ 2 callersMethodset
(id: string, moduleId: string)
src/betterdiscord/webpack/cache.ts:13
↓ 2 callersMethodsetData
(pluginName: string, key: string, value: unknown)
src/betterdiscord/stores/json.ts:172
↓ 2 callersFunctionsetLoaderTheme
(theme: string)
src/editor/script.ts:34
↓ 2 callersMethodsetMaxListeners
()
src/common/events.ts:9
↓ 2 callersMethodshouldShowWarning
(shouldShowWarning: boolean)
src/editor/types/global.d.ts:14
↓ 2 callersMethodshowAbove
Force showing the tooltip above the node.
src/betterdiscord/ui/tooltip.ts:147
↓ 2 callersMethodshowAddonSettingsModal
(name: string, panel: Element | string | (() => ReactNode) | ReactNode | ComponentType)
src/betterdiscord/ui/modals.ts:281
↓ 2 callersMethodshowBelow
Force showing the tooltip below the node.
src/betterdiscord/ui/tooltip.ts:154
↓ 2 callersMethodshowLeft
Force showing the tooltip to the left of the node.
src/betterdiscord/ui/tooltip.ts:161
↓ 2 callersMethodshowModal
()
src/betterdiscord/builtins/window/removeminimumsize.ts:20
↓ 2 callersMethodshowModal
(info: string)
src/betterdiscord/builtins/window/transparency.ts:24
↓ 2 callersMethodshowModal
()
src/betterdiscord/builtins/developer/reactdevtools.ts:38
↓ 2 callersMethodshowModal
()
src/betterdiscord/builtins/general/mediakeys.ts:22
↓ 2 callersMethodshowRight
Force showing the tooltip to the right of the node.
src/betterdiscord/ui/tooltip.ts:168
↓ 2 callersMethodstacktrace
* Logs an error using a collapsed error group with stacktrace. * * @param {string} module - Name of the calling module. * @param {strin
src/common/logger.ts:36
↓ 2 callersMethodstartAddon
(idOrAddon: string | Theme)
src/betterdiscord/modules/thememanager.ts:59
↓ 2 callersMethodstartUpdateInterval
()
src/betterdiscord/modules/updater.ts:85
↓ 2 callersMethodstopAddon
(idOrAddon: string | Theme)
src/betterdiscord/modules/thememanager.ts:68
← previousnext →201–300 of 1,293, ranked by callers