diff --git a/src/commands/page.ts b/src/commands/page.ts index 2cda747..7243a29 100644 --- a/src/commands/page.ts +++ b/src/commands/page.ts @@ -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' }, });