mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-16 15:57:54 +02:00
Beep beep
This commit is contained in:
@@ -43,7 +43,7 @@ module.exports = class DECTalkCommand extends Command {
|
||||
try {
|
||||
const connection = await channel.join();
|
||||
const { body } = await snekfetch
|
||||
.get('http://tts.cyzon.us/tts', { followRedirects: true })
|
||||
.get('http://tts.cyzon.us/tts')
|
||||
.query({ text });
|
||||
await fs.writeFileAsync(file, body, { encoding: 'binary' });
|
||||
const dispatcher = connection.playFile(file);
|
||||
|
||||
Reference in New Issue
Block a user