someone get me audio working pls
This commit is contained in:
parent
d3630feef9
commit
bf24849b59
1 changed files with 38 additions and 34 deletions
|
@ -25,6 +25,7 @@ class TtsvcCommand extends Command {
|
||||||
}
|
}
|
||||||
|
|
||||||
async exec(message, args) {
|
async exec(message, args) {
|
||||||
|
try {
|
||||||
let text = args.text;
|
let text = args.text;
|
||||||
|
|
||||||
// Construct the request
|
// Construct the request
|
||||||
|
@ -65,6 +66,9 @@ class TtsvcCommand extends Command {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
} catch (err) {
|
||||||
|
console.error(err);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
module.exports = TtsvcCommand;
|
module.exports = TtsvcCommand;
|
Loading…
Reference in a new issue