Fix linter issues and unittests
This commit is contained in:
@@ -12,7 +12,8 @@ def protected(func):
|
||||
f"User with ID {message.from_user.id} attempted"
|
||||
"to text this bot!")
|
||||
log.info(
|
||||
f"Only users allowed are: {' '.join(settings.allowed_ids_list)}")
|
||||
"Only users allowed are:"
|
||||
f"{' '.join(settings.allowed_ids_list)}")
|
||||
return await message.reply_text("You are not on the list!")
|
||||
return await func(client, message)
|
||||
return wrapper
|
||||
|
||||
Reference in New Issue
Block a user