forked from Supositware/Haha-Yes
im dumb
This commit is contained in:
parent
124d30b660
commit
06f9ee8985
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ class dectalkCommand extends Command {
|
||||||
return message.channel.send({files: ['./dectalk/dectalk.wav']});
|
return message.channel.send({files: ['./dectalk/dectalk.wav']});
|
||||||
});
|
});
|
||||||
} else if (process.platform == 'linux') {
|
} 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 => {
|
.catch(err => {
|
||||||
return console.error(err);
|
return console.error(err);
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue