From 06f9ee89858883ae450468221c7bf95d99f3452b Mon Sep 17 00:00:00 2001 From: loicbersier Date: Wed, 17 Jul 2019 23:33:34 +0200 Subject: [PATCH] im dumb --- 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 5059185a..04760574 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(`cd dectalk && wine say.exe -w ../../dectalk.wav "${args.decMessage}"`) + exec(`wine dectalk/say.exe -w dectalk.wav "${args.decMessage}"`) .catch(err => { return console.error(err); })