Strencher / BetterDiscordStuff

A collection of my BetterDiscord plugins
https://strencher.github.io/BetterDiscordStuff/
366 stars 226 forks source link

Crashes when clicking on profiles, after updating it no longer works #342

Closed Senor-SawCon closed 1 year ago

Senor-SawCon commented 1 year ago

@name ShowAllActivities

Here is the error console: TypeError: Cannot read property 'Components' of undefined at eval (betterdiscord://plugins/ShowAllActivities.plugin.js:303:33) at Object.requireAddon (:4:37871) at Object.loadAddon (:4:8814) at Object.loadAddon (:4:35543) at Object.loadAllAddons (:4:11288) at Object.initialize (:4:5710) at Object.initialize (:4:34738) at Object.startup (:4:392305)

Senor-SawCon commented 1 year ago

(credits to Disease#5663 from Betterdiscord discord server) open the ShowAllActivities plugin file and replace line 301 const Tooltip = Webpack$1.getByPrototypeFields("renderTooltip");

with const Tooltip = BdApi.Components.Tooltip;

This will fix the plugin for now.