From 78a015e30d9be8796ab4f1411f7ea52e9c6d89b3 Mon Sep 17 00:00:00 2001 From: Stijn De Clercq <60451863+stijndcl@users.noreply.github.com> Date: Mon, 8 Feb 2021 22:19:40 +0100 Subject: [PATCH] Update functions/reactWord.py --- functions/reactWord.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/reactWord.py b/functions/reactWord.py index 4bf39ea..aabd886 100644 --- a/functions/reactWord.py +++ b/functions/reactWord.py @@ -4,7 +4,7 @@ def check(content, earlier=[]): return False, ["Controleer je argumenten."] # More than 20 reacts queried - if len(" ".join(content)) + len(earlier) > 20: + if len("".join(content)) + len(earlier) > 20: return False, ["Er kunnen maximaal 20 emoji's op een message geplaatst worden."] # This command should work case insensitive