forgot something

This commit is contained in:
Loic Bersier 2018-12-30 02:16:00 +01:00
parent b87435bc98
commit c4f7dc7104
2 changed files with 3 additions and 0 deletions

View file

@ -23,6 +23,7 @@ class TtsCommand extends Command {
} }
async exec(message, args) { async exec(message, args) {
let text = args.text;
// Construct the request // Construct the request
const request = { const request = {

View file

@ -23,6 +23,8 @@ class TtsvcCommand extends Command {
} }
async exec(message, args) { async exec(message, args) {
let text = args.text;
// Construct the request // Construct the request
const request = { const request = {
input: {text: text}, input: {text: text},