mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix DECTalk
This commit is contained in:
@@ -36,7 +36,7 @@ module.exports = class DECTalkCommand extends Command {
|
||||
try {
|
||||
const connection = await channel.join();
|
||||
const data = await snekfetch
|
||||
.get('http://tts.cyzon.us/tts', { redirects: false })
|
||||
.get('http://tts.cyzon.us/tts', { redirect: false })
|
||||
.query({ text });
|
||||
const dispatcher = connection.play(`http://tts.cyzon.us${data.headers.location}`);
|
||||
dispatcher.once('finish', () => channel.leave());
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "77.0.3",
|
||||
"version": "77.0.4",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user