replace new line just to be sure
This commit is contained in:
parent
20ef0c946c
commit
27f0405c38
1 changed files with 1 additions and 0 deletions
|
@ -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({
|
||||||
|
|
Loading…
Reference in a new issue