From c4f7dc7104dc1cb250907273b0f71366cd6185bf Mon Sep 17 00:00:00 2001 From: Loic Bersier Date: Sun, 30 Dec 2018 02:16:00 +0100 Subject: [PATCH] forgot something --- commands/general/tts.js | 1 + commands/general/ttsvc.js | 2 ++ 2 files changed, 3 insertions(+) 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},