Beep beep

This commit is contained in:
Daniel Odendahl Jr
2017-10-08 18:59:52 +00:00
parent 3ed9f7a423
commit 6a9d24cf87
18 changed files with 150 additions and 116 deletions
+1 -1
View File
@@ -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);