forked from Talon/tardis-bot
		
	Fix non neuralness
This commit is contained in:
		| @@ -46,7 +46,7 @@ module.exports = class AzureTTS extends BaseEngine { | ||||
|         const res = await fetch(process.env.AZURE_LIST_ENDPOINT, opts); | ||||
|         const json = await res.json(); | ||||
|         json.forEach((voice) => { | ||||
|             if (this.voices[voice.DisplayName]) { | ||||
|             if (this.voices[voice.DisplayName.toLowerCase()]) { | ||||
|                 if (voice.Name.includes('Neural')) { | ||||
|                     this.voices[voice.DisplayName.toLowerCase()] = voice.ShortName; | ||||
|                 } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user