replace new line just to be sure

This commit is contained in:
loicbersier 2019-05-17 23:55:17 +02:00
parent 20ef0c946c
commit 27f0405c38

View file

@ -23,6 +23,7 @@ class dectalkCommand extends Command {
} }
async exec(message, args) { async exec(message, args) {
args.decMessage = args.decMessage.replace('\n', ' ');
args.decMessage = encodeURI(args.decMessage); args.decMessage = encodeURI(args.decMessage);
return axios.request({ return axios.request({