From 27f0405c3869c97e4143806a9072216cbbc76323 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Fri, 17 May 2019 23:55:17 +0200 Subject: [PATCH] replace new line just to be sure --- commands/fun/dectalk.js | 1 + 1 file changed, 1 insertion(+) diff --git a/commands/fun/dectalk.js b/commands/fun/dectalk.js index 299af771..efef44f1 100644 --- a/commands/fun/dectalk.js +++ b/commands/fun/dectalk.js @@ -23,6 +23,7 @@ class dectalkCommand extends Command { } async exec(message, args) { + args.decMessage = args.decMessage.replace('\n', ' '); args.decMessage = encodeURI(args.decMessage); return axios.request({