From dddef5aad5a2103cb003ab2e6c5fcd48eb64945f Mon Sep 17 00:00:00 2001 From: loicbersier Date: Wed, 17 Jul 2019 23:35:27 +0200 Subject: [PATCH] fix it --- commands/fun/tts/dectalk.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/fun/tts/dectalk.js b/commands/fun/tts/dectalk.js index 04760574..857db7a0 100644 --- a/commands/fun/tts/dectalk.js +++ b/commands/fun/tts/dectalk.js @@ -39,7 +39,7 @@ class dectalkCommand extends Command { return message.channel.send({files: ['./dectalk/dectalk.wav']}); }); } else if (process.platform == 'linux') { - exec(`wine dectalk/say.exe -w dectalk.wav "${args.decMessage}"`) + exec(`cd dectalk && wine say.exe -w dectalk.wav "${args.decMessage}"`) .catch(err => { return console.error(err); })