From b63f869213a9f2098cc3b9bb975b06b76c30bd55 Mon Sep 17 00:00:00 2001
From: Adrien Nunes <adrien.nunes@ensiie.fr>
Date: Thu, 7 Oct 2021 18:52:33 +0200
Subject: [PATCH] change limit vote

---
 commands/CommandVoteParser.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commands/CommandVoteParser.js b/commands/CommandVoteParser.js
index 3f3c5e5..10b4339 100644
--- a/commands/CommandVoteParser.js
+++ b/commands/CommandVoteParser.js
@@ -12,7 +12,7 @@ class CommandVoteParser{
             const content = message.content.toLowerCase();
             if(content.startsWith(this.command)){
                 const score = parseInt(content.slice(this.command.length));
-                if(score > 1){
+                if(score > 0){
                     this.voteParser.setScore(score);
                     message.reply(`Fait, score à ${score}`);
                 }
-- 
GitLab