From 5bf1c8e46ec19856493265ed854ce0f806844496 Mon Sep 17 00:00:00 2001 From: Adrien NUNES <anunes.etudiant@gmail.com> Date: Fri, 24 Nov 2023 02:11:51 +0100 Subject: [PATCH] samll fix --- vote/VoteParser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vote/VoteParser.js b/vote/VoteParser.js index a340981..ceaf51c 100644 --- a/vote/VoteParser.js +++ b/vote/VoteParser.js @@ -51,7 +51,7 @@ class VoteParser{ async add(message, category){ let content = this.categoryCase(category, message.content); - complotDB.add(category, messageString) + complotDB.add(category, content) message.delete(); message.channel.send(`"${content}" ajouté ! \n Par <@${message.author.id}>`); -- GitLab