diff --git a/commands/general/tts.js b/commands/general/tts.js index aefa1777..f57c2077 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 84b85813..625a88f8 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},