BetterDiscordAPI
The plugin API for BetterDiscord is a globally (window.BdApi) accessible object for use by plugins and developers to make their lives easier.
The global instance can be accessed without binding to a specific plugin, but in that case, some methods will require the plugin name to be passed in.
Alternatively, a plugin can create a bound instance by calling new BdApi("PluginName"). In that case, the plugin name is automatically used for methods that require it.
To start exploring the API, check out the BdApi class and its members.
Enumerations
Classes
- AddonAPI
- AddonError
- BdApi
- CommandAPI
- Components
- ContextMenu
- Data
- DOM
- ErrorBoundary
- FetchResponse
- Hooks
- Logger
- Net
- Patcher
- ReactUtils
- ReactWrapper
- Store
- Tooltip
- UI
- Utils
- Webpack
Interfaces
- ButtonActions
- ChangelogEntry
- ChangelogProps
- Channel
- Choice
- ColorpickerProps
- ColorSetting
- Command
- DropdownSetting
- FetchOptions
- FetchResponseData
- FileSetting
- FluxStore
- GetOwnerInstanceOptions
- Guild
- KeybindProps
- KeybindSetting
- Module
- NoticeButton
- NoticeOptions
- Notification
- NumberInputProps
- NumberSetting
- Option
- PatchedReactHooks
- PermissionOverwrite
- PositionSetting
- RadioOption
- RadioProps
- RadioSetting
- Require
- SearchProps
- SelectOption
- SelectProps
- SettingItem
- SliderMarker
- SliderProps
- SliderSetting
- SpinnerProps
- SwitchProps
- SwitchSetting
- TextboxProps
- TextSetting
- ToastOptions
- TooltipOptions
- User
- WebpackOptions
Type Aliases
- AddStyleArgs
- BulkQueries
- ButtonProps
- ChangelogEntryType
- Color
- CommonlyUsedStores
- ElementType
- ErrorBoundaryProps
- ExportedOnlyFilter
- Falsey
- Filter
- GroupProps
- HexString
- IsTruthy
- LazyOptions
- NoticeType
- NotificationType
- Options
- RawModule
- ReactDOMType
- RemoveStyleArgs
- Setting
- SettingItemProp
- SettingType
- SpinnerTypes
- StoreNameType
- StoreType
- ToastType
- TreeFilter
- WithKeyOptions
- WithOptions