diff --git a/commands/general/tts.js b/commands/general/tts.js index aefa177..f57c207 100644 --- a/commands/general/tts.js +++ b/commands/general/tts.js @@ -23,6 +23,7 @@ class TtsCommand extends Command { } async exec(message, args) { + let text = args.text; // Construct the request const request = { diff --git a/commands/general/ttsvc.js b/commands/general/ttsvc.js index 84b8581..625a88f 100644 --- a/commands/general/ttsvc.js +++ b/commands/general/ttsvc.js @@ -23,6 +23,8 @@ class TtsvcCommand extends Command { } async exec(message, args) { + let text = args.text; + // Construct the request const request = { input: {text: text},