mwittrien / BetterDiscordAddons

A series of plugins and themes for BetterDiscord.
GNU General Public License v2.0
2.05k stars 3.88k forks source link

[BUG] - ServerDetails - Freezes Discord on Load #2728

Closed FoxPodZ closed 1 week ago

FoxPodZ commented 1 week ago

Describe the bug When the Plugin loads, Discord freezes (every now and then it will go to the next frame)

To Reproduce

  1. Install the latest BDFDB (3.7.0)
  2. Install the latest ServerDetails (1.1.9)
  3. Load the Plugins (Either by Drag n Drop or by Restarting)

Expected behavior Discord will not freeze and work

Screenshots N/A

Discord Build (stable, ptb or canary): Stable 303557 (3b02892)

Additional context Having Discord's console Open, while dropping the Plugin into the Plugins folder to have it load automatically Reveals warnings about a String not being found image

After Exporting Logs, Errors seem to be identical. See Error Below


79892.12f589e0c28d7404f9ba.js:1 [ServerDetails] (v1.1.9) has been started
79892.12f589e0c28d7404f9ba.js:1 [BDFDB] (v3.7.0) ["hasCommunityInfoSubheader()","publicUpdatesChannelId",".GuildFeatures.NON_COMMUNITY_RAID_ALERTS"] [string] not found in WebModules
t.<computed> @ 79892.12f589e0c28d7404f9ba.js:1
Internal.console @ 0BDFDB.plugin.js:247
BDFDB.LogUtils.warn @ 0BDFDB.plugin.js:253
Internal.findModule @ 0BDFDB.plugin.js:1255
BDFDB.ModuleUtils.findByString @ 0BDFDB.plugin.js:1389
get @ 0BDFDB.plugin.js:1476
BDFDB.GuildUtils.is @ 0BDFDB.plugin.js:3146
processGuildItem @ ServerDetails.plugin.js:362
Internal.initiatePatch @ 0BDFDB.plugin.js:2301
after @ 0BDFDB.plugin.js:8383
patches.<computed>.plugins.<computed>.<computed> @ 0BDFDB.plugin.js:2380
eval @ 0BDFDB.plugin.js:304
eval @ 0BDFDB.plugin.js:2358
(anonymous) @ renderer.js:5
aS @ 67096.30c593c3471420b5c889.js:12
om @ 67096.30c593c3471420b5c889.js:12
of @ 67096.30c593c3471420b5c889.js:12
od @ 67096.30c593c3471420b5c889.js:12
u @ 67096.30c593c3471420b5c889.js:12
sF @ 67096.30c593c3471420b5c889.js:12
(anonymous) @ 67096.30c593c3471420b5c889.js:12
sB @ 67096.30c593c3471420b5c889.js:12
sC @ 67096.30c593c3471420b5c889.js:12
x @ 67096.30c593c3471420b5c889.js:12
A @ 67096.30c593c3471420b5c889.js:12
D.<computed> @ 67096.30c593c3471420b5c889.js:1
O @ 67096.30c593c3471420b5c889.js:1
k @ 67096.30c593c3471420b5c889.js:1```