forked from Supositware/Haha-Yes
remove url encoding
This commit is contained in:
parent
ae01c51473
commit
ae264aa661
1 changed files with 0 additions and 1 deletions
|
@ -29,7 +29,6 @@ class dectalkvcCommand extends Command {
|
||||||
async exec(message, args) {
|
async exec(message, args) {
|
||||||
args.decMessage = rand.random(args.decMessage, message);
|
args.decMessage = rand.random(args.decMessage, message);
|
||||||
args.decMessage = args.decMessage.replace('\n', ' ');
|
args.decMessage = args.decMessage.replace('\n', ' ');
|
||||||
args.decMessage = encodeURI(args.decMessage);
|
|
||||||
|
|
||||||
if (process.platform == 'win32') {
|
if (process.platform == 'win32') {
|
||||||
exec(`cd .\\dectalk && .\\say.exe -w dectalkvc.wav "${args.decMessage}"`)
|
exec(`cd .\\dectalk && .\\say.exe -w dectalkvc.wav "${args.decMessage}"`)
|
||||||
|
|
Loading…
Reference in a new issue