From: Matthieu Pignolet Date: Thu, 6 Jun 2024 10:41:26 +0000 (+0400) Subject: remove more chars X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=8b0ad9670d39e7632c9e93f8506b76977ce85b9d;p=matthieu%2Fgru.git remove more chars --- diff --git a/discordjs/src/index.mjs b/discordjs/src/index.mjs index 73b5120..f46a434 100644 --- a/discordjs/src/index.mjs +++ b/discordjs/src/index.mjs @@ -31,6 +31,9 @@ const cutWord = (sentence) => { let lastWord = sentence .replaceAll("?", "") .replaceAll("!", "") + .replaceAll(".", "") + .replaceAll(",", "") + .replaceAll(";", "") .trim() .split(" ") .slice(-1)[0]