mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-08 22:23:02 -04:00
Add Ignore
This commit is contained in:
parent
d4b86ae0b3
commit
20c350a31f
1 changed files with 1 additions and 0 deletions
|
@ -146,6 +146,7 @@ function speak(text: string) {
|
|||
new Logger("VcNarrator").error(`Voice "${settings.store.voice}" not found. Resetting to default.`);
|
||||
voice = speechSynthesis.getVoices().find(v => v.default);
|
||||
if (!voice) return; // This should never happen
|
||||
// @ts-ignore
|
||||
settings.store.voice = voice.voiceURI;
|
||||
}
|
||||
speech.voice = voice!;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue