add fix
This commit is contained in:
parent
a7fa075167
commit
97c7dcdb71
@ -22,7 +22,7 @@ def check_message_condition(
|
|||||||
if 'bot' in message.from_user.username.lower():
|
if 'bot' in message.from_user.username.lower():
|
||||||
return False
|
return False
|
||||||
|
|
||||||
emoji_count = emoji.emoji_count(message.text)
|
emoji_count = emoji.emoji_count(str(message.text))
|
||||||
if emoji_count > 3:
|
if emoji_count > 3:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user