diff --git a/src/api/PluginManager.ts b/src/api/PluginManager.ts index 9acfc94ee..d5b01f39d 100644 --- a/src/api/PluginManager.ts +++ b/src/api/PluginManager.ts @@ -365,9 +365,12 @@ export const initPluginManager = onlyOnce(function init() { if (p.renderMessageAccessory) neededApiPlugins.add("MessageAccessoriesAPI"); if (p.renderMessageDecoration) neededApiPlugins.add("MessageDecorationsAPI"); if (p.messagePopoverButton || p.renderMessagePopoverButton) neededApiPlugins.add("MessagePopoverAPI"); - if (p.renderNicknameIcon) neededApiPlugins.add("NicknameIconsAPI"); if (p.userProfileBadge) neededApiPlugins.add("BadgeAPI"); + // Custom + if (p.renderNicknameIcon) neededApiPlugins.add("NicknameIconsAPI"); + if (p.audioProcessor) neededApiPlugins.add("AudioPlayerAPI"); + for (const key of pluginKeysToBind) { p[key] &&= p[key].bind(p) as any; }