fixes to tts
parent
c0d5a437f6
commit
d976dca60e
|
@ -194,7 +194,7 @@ export default class Page extends Command {
|
|||
const fileExtension = `${randomBytes(10).toString('hex')}`;
|
||||
|
||||
const [response] = await this.client.util.tts.synthesizeSpeech({
|
||||
input: { text: `Hello, this call was automatically dialed by the Library of Code Private Branch Exchange. You have received a page from Pager Number, ${recipientNumber}. The Pager Code is ${code}. Please check your Direct Messages on Discord for further information.` },
|
||||
input: { text: `Hello, this call was automatically dialed by the Library of Code Private Branch Exchange. You have received a page from Pager Number, ${senderNumber}. The Pager Code is ${code}. Please check your Direct Messages on Discord for further information.` },
|
||||
voice: { languageCode: 'en-US', ssmlGender: 'MALE' },
|
||||
audioConfig: { audioEncoding: 'OGG_OPUS' },
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue