add fix
This commit is contained in:
parent
ef528820bc
commit
bd621c5653
@ -11,6 +11,7 @@ def check_message_condition(
|
||||
message.chat.type not in [ChatType.PRIVATE, ChatType.BOT],
|
||||
bool(message.from_user),
|
||||
bool(message.text),
|
||||
bool('bot' not in message.from_user.username.lower()),
|
||||
)
|
||||
return all(conditions)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user