Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BetterDiscord/BetterDiscord
/ functions
Functions
1,293 in github.com/BetterDiscord/BetterDiscord
⨍
Functions
1,293
◇
Types & classes
302
↓ 2 callers
Method
allowPreloadOverride
()
src/electron/main/modules/betterdiscord.ts:74
↓ 2 callers
Function
attemptRecovery
()
src/betterdiscord/builtins/developer/recovery.tsx:22
↓ 2 callers
Method
before
* 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 callers
Function
buildDirectionOptions
()
src/betterdiscord/ui/settings/addonshared.tsx:11
↓ 2 callers
Method
buildMenuChildren
* 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 callers
Function
buildOptions
()
scripts/build.ts:36
↓ 2 callers
Method
centerHorizontally
()
src/betterdiscord/ui/tooltip.ts:174
↓ 2 callers
Method
centerVertically
()
src/betterdiscord/ui/tooltip.ts:179
↓ 2 callers
Method
checkForUpdate
(filename: string, currentVersion: string)
src/betterdiscord/modules/updater.ts:290
↓ 2 callers
Method
closeModal
(key: string | number)
src/betterdiscord/ui/modals.ts:37
↓ 2 callers
Function
createFallback
()
src/betterdiscord/ui/customcss/editor.tsx:104
↓ 2 callers
Function
createMonaco
()
src/betterdiscord/ui/customcss/editor.tsx:137
↓ 2 callers
Function
createRequire
(path: string)
src/betterdiscord/polyfill/index.ts:25
↓ 2 callers
Method
default
(title: string, content: string | ReactElement | ReactElement[] | HTMLElement | Array<string | ReactElement>,
src/betterdiscord/ui/modals.ts:59
↓ 2 callers
Method
deleteAddon
()
src/betterdiscord/ui/settings/addoncard.tsx:95
↓ 2 callers
Method
deleteData
(pluginName: string, key: string)
src/betterdiscord/stores/json.ts:181
↓ 2 callers
Method
download
* 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 callers
Function
dryReadableStream
(stream: ReadableStream<Uint8Array<ArrayBuffer>>)
src/common/native-fetch.ts:52
↓ 2 callers
Method
e
(id: PropertyKey)
src/betterdiscord/types/discord/webpack.d.ts:7
↓ 2 callers
Method
enable
()
src/betterdiscord/structs/builtin.ts:64
↓ 2 callers
Method
extractDiscordProtocolList
()
src/betterdiscord/builtins/store/addonstore.ts:160
↓ 2 callers
Function
fetch
(input: string | URL | Request, init?: NativeRequestInit)
src/betterdiscord/api/fetch.ts:51
↓ 2 callers
Function
findEndOfRegex
(moduleString: string, startIndex: number)
src/common/parseDeclarations.ts:190
↓ 2 callers
Function
findEndOfString
(moduleString: string, startIndex: number, quoteChar: CharCodes)
src/common/parseDeclarations.ts:173
↓ 2 callers
Function
findExtension
(dataPath: string)
src/electron/main/modules/reactdevtools.ts:12
↓ 2 callers
Function
findLatestVersion
(extensionPath: string)
src/electron/main/modules/reactdevtools.ts:7
↓ 2 callers
Function
generateTab
(id: string, errors: AddonErrorType[])
src/betterdiscord/ui/modals/addonerrormodal.tsx:60
↓ 2 callers
Method
get
(collection: string, category: string, id?: string)
src/betterdiscord/stores/settings.ts:259
↓ 2 callers
Function
getAddonList
(manager: AddonManager)
src/betterdiscord/utils/debug.ts:79
↓ 2 callers
Method
getAll
()
src/betterdiscord/types/discord/modules.d.ts:59
↓ 2 callers
Method
getCommandsByCaller
(caller: string)
src/betterdiscord/modules/commandmanager.tsx:490
↓ 2 callers
Function
getCoreInfo
()
src/betterdiscord/utils/debug.ts:83
↓ 2 callers
Function
getDebugInfo
()
src/betterdiscord/utils/debug.ts:97
↓ 2 callers
Function
getDiscordInfo
(string = true)
src/betterdiscord/utils/debug.ts:61
↓ 2 callers
Method
getIdFromStack
(suffix?: string | number)
src/betterdiscord/webpack/cache.ts:63
↓ 2 callers
Function
getOptions
()
src/betterdiscord/ui/customcss/editor.tsx:138
↓ 2 callers
Method
getReleaseChannelType
* This will allow preloading of the addon channels * @param {string} channelId * @returns {"plugin" | "theme" | undefined}
src/betterdiscord/data/web.ts:60
↓ 2 callers
Method
getSetting
(collection: string, category: string, id?: string)
src/betterdiscord/stores/settings.ts:250
↓ 2 callers
Function
getState
(type, control, defaultValue)
src/betterdiscord/ui/settings/addonshared.tsx:23
↓ 2 callers
Function
getStore
(name: string)
src/betterdiscord/api/webpack.ts:180
↓ 2 callers
Function
globToRegExp
(glob: string)
src/betterdiscord/api/contextmenu.ts:139
↓ 2 callers
Method
handleCSSInstall
(cssBlock: string)
src/betterdiscord/ui/customcss/mdinstallcss.tsx:80
↓ 2 callers
Method
handleRender
(Component: T)
src/betterdiscord/api/contextmenu.ts:192
↓ 2 callers
Method
hide
(id: string)
src/betterdiscord/ui/notifications.tsx:111
↓ 2 callers
Function
hydrateReadableStream
(stream: DryReadableStream)
src/common/native-fetch.ts:65
↓ 2 callers
Method
info
Shorthand for `type = "info"` for {@link module:Notices.show}
src/betterdiscord/ui/notices.ts:26
↓ 2 callers
Method
isDestroyed
()
src/betterdiscord/modules/nodepatcher.ts:18
↓ 2 callers
Function
isValidPlural
(value: unknown)
src/common/i18n.ts:57
↓ 2 callers
Method
isValidWindow
(item: any)
src/electron/main/modules/editor.ts:145
↓ 2 callers
Function
listenToModules
(modules: Record<PropertyKey, RawModule>)
src/betterdiscord/webpack/require.ts:27
↓ 2 callers
Method
loadCSS
()
src/betterdiscord/builtins/customcss.ts:140
↓ 2 callers
Method
loadCollection
(id: string)
src/betterdiscord/stores/settings.ts:203
↓ 2 callers
Method
log
(...message: string[])
src/betterdiscord/structs/builtin.ts:79
↓ 2 callers
Function
makeControlButton
(title: string, children: ReactNode, action: () => void, selected = false)
src/betterdiscord/ui/settings/addonlist.tsx:60
↓ 2 callers
Function
makeNode
(d: string, color: React.CSSProperties["color"] | undefined | null)
src/betterdiscord/ui/logo.tsx:14
↓ 2 callers
Method
makeOverride
(patch: Patch<M, K>)
src/betterdiscord/modules/patcher.ts:99
↓ 2 callers
Method
makeStack
()
src/betterdiscord/ui/modals.ts:329
↓ 2 callers
Function
mo
scripts/translations.ts:73
↓ 2 callers
Method
onAdded
* 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 callers
Method
onChange
()
src/betterdiscord/ui/settings/panel.tsx:49
↓ 2 callers
Function
onClick
(event: MouseEvent)
src/betterdiscord/ui/updater.tsx:32
↓ 2 callers
Method
onClick
(e: MouseEvent)
src/betterdiscord/ui/modals/backdrop.tsx:12
↓ 2 callers
Function
onLoadEnd
()
src/betterdiscord/webpack/require.ts:83
↓ 2 callers
Function
onLoadStart
()
src/betterdiscord/webpack/require.ts:75
↓ 2 callers
Method
onRemoved
* 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 callers
Method
openAuthorPage
* Opens the raw code page * @public
src/betterdiscord/modules/addonstore.ts:258
↓ 2 callers
Function
openCategory
(id: string)
src/betterdiscord/ui/settings.tsx:520
↓ 2 callers
Method
openNative
()
src/betterdiscord/builtins/customcss.ts:168
↓ 2 callers
Method
openSourceCode
* Opens the addons github page * @public
src/betterdiscord/modules/addonstore.ts:250
↓ 2 callers
Function
out
(uri: string, res: http.IncomingMessage)
src/electron/preload/api/fetch.ts:17
↓ 2 callers
Function
parseJsDoc
(text: string)
src/common/utils/jsdoc.ts:4
↓ 2 callers
Method
read
()
src/common/native-fetch.ts:8
↓ 2 callers
Method
readText
()
src/editor/types/global.d.ts:15
↓ 2 callers
Method
registerCommand
(caller: string, command: Command)
src/betterdiscord/modules/commandmanager.tsx:329
↓ 2 callers
Method
removeChangeListener
(listener: () => void)
src/betterdiscord/types/discord/modules.d.ts:47
↓ 2 callers
Function
removeListeners
()
src/betterdiscord/ui/modals/installmodal.tsx:65
↓ 2 callers
Method
removeTheme
(id: string)
src/betterdiscord/modules/dommanager.ts:117
↓ 2 callers
Method
render
()
src/betterdiscord/ui/modals.ts:303
↓ 2 callers
Method
runPatches
(id: string, res: MenuRenderNode, props: MenuRenderProps, instance?: React.Component<MenuRenderProps>)
src/betterdiscord/api/contextmenu.ts:256
↓ 2 callers
Method
save
()
src/betterdiscord/webpack/cache.ts:55
↓ 2 callers
Method
searchable
()
src/betterdiscord/stores/settings.ts:33
↓ 2 callers
Method
set
(collection: string, category: string, id: string | unknown, value?: unknown)
src/betterdiscord/stores/settings.ts:269
↓ 2 callers
Method
set
(id: string, moduleId: string)
src/betterdiscord/webpack/cache.ts:13
↓ 2 callers
Method
setData
(pluginName: string, key: string, value: unknown)
src/betterdiscord/stores/json.ts:172
↓ 2 callers
Function
setLoaderTheme
(theme: string)
src/editor/script.ts:34
↓ 2 callers
Method
setMaxListeners
()
src/common/events.ts:9
↓ 2 callers
Method
shouldShowWarning
(shouldShowWarning: boolean)
src/editor/types/global.d.ts:14
↓ 2 callers
Method
showAbove
Force showing the tooltip above the node.
src/betterdiscord/ui/tooltip.ts:147
↓ 2 callers
Method
showAddonSettingsModal
(name: string, panel: Element | string | (() => ReactNode) | ReactNode | ComponentType)
src/betterdiscord/ui/modals.ts:281
↓ 2 callers
Method
showBelow
Force showing the tooltip below the node.
src/betterdiscord/ui/tooltip.ts:154
↓ 2 callers
Method
showLeft
Force showing the tooltip to the left of the node.
src/betterdiscord/ui/tooltip.ts:161
↓ 2 callers
Method
showModal
()
src/betterdiscord/builtins/window/removeminimumsize.ts:20
↓ 2 callers
Method
showModal
(info: string)
src/betterdiscord/builtins/window/transparency.ts:24
↓ 2 callers
Method
showModal
()
src/betterdiscord/builtins/developer/reactdevtools.ts:38
↓ 2 callers
Method
showModal
()
src/betterdiscord/builtins/general/mediakeys.ts:22
↓ 2 callers
Method
showRight
Force showing the tooltip to the right of the node.
src/betterdiscord/ui/tooltip.ts:168
↓ 2 callers
Method
stacktrace
* 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 callers
Method
startAddon
(idOrAddon: string | Theme)
src/betterdiscord/modules/thememanager.ts:59
↓ 2 callers
Method
startUpdateInterval
()
src/betterdiscord/modules/updater.ts:85
↓ 2 callers
Method
stopAddon
(idOrAddon: string | Theme)
src/betterdiscord/modules/thememanager.ts:68
← previous
next →
201–300 of 1,293, ranked by callers