Update functions/reactWord.py

pull/36/head
Stijn De Clercq 2021-02-08 22:19:40 +01:00 committed by GitHub
parent a63642c21f
commit 78a015e30d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ def check(content, earlier=[]):
return False, ["Controleer je argumenten."] return False, ["Controleer je argumenten."]
# More than 20 reacts queried # 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."] return False, ["Er kunnen maximaal 20 emoji's op een message geplaatst worden."]
# This command should work case insensitive # This command should work case insensitive