fix ruff
This commit is contained in:
@@ -77,7 +77,7 @@ def find_messages(
|
||||
query = query.where(Messages.user_id != global_config.bot.qq_account)
|
||||
|
||||
if filter_command:
|
||||
query = query.where(Messages.is_command == False)
|
||||
query = query.where(not Messages.is_command)
|
||||
|
||||
if limit > 0:
|
||||
if limit_mode == "earliest":
|
||||
|
||||
Reference in New Issue
Block a user