Zerthox / BetterDiscord-Plugins

Plugins for BetterDiscord.
MIT License
158 stars 85 forks source link

Error when compiling VoiceEvents #134

Closed xXTacticalWaffleXx closed 1 year ago

xXTacticalWaffleXx commented 1 year ago

Bug description

When i start discord with this plugin installed discord says that there was an error compling the plugin and throws the following error

Error: Accessing meta before initialization at getMeta (betterdiscord://plugins/VoiceEvents.plugin.js:63:15) at print (betterdiscord://plugins/VoiceEvents.plugin.js:159:49) at error (betterdiscord://plugins/VoiceEvents.plugin.js:162:28) at findDefaultVoice (betterdiscord://plugins/VoiceEvents.plugin.js:389:9) at eval (betterdiscord://plugins/VoiceEvents.plugin.js:414:12) at Object.requireAddon (:4:37112) at Object.loadAddon (:4:8234) at Object.loadAddon (:4:34784) at Object.loadAllAddons (:4:10708) at Object.initialize (:4:5130) at Object.initialize (:4:33979) at Object.startup (:4:390667)

i am on linux if that important and im using the version of discord for the community arch repo

Plugin

voiceevents

Plugin version

v2.4.0

Discord client

Stable

Zerthox commented 1 year ago

This is an error occuring while trying to report an error. Discord on Linux can have no speech synthesis voice available, which makes the plugin unable to work properly. For more info see #55 and #27. I will fix the alert modal that is supposed to be shown.