diff --git a/src/tg/handlers/get_board_credentials_handler.py b/src/tg/handlers/get_board_credentials_handler.py index 17c021a..c9a4ab0 100644 --- a/src/tg/handlers/get_board_credentials_handler.py +++ b/src/tg/handlers/get_board_credentials_handler.py @@ -11,6 +11,8 @@ def get_board_credentials(update: telegram.Update, tg_context): + if update.message.chat_id < 0: + return member = next(( member for member in DBClient().get_all_members() if member.telegram == f"@{get_sender_username(update)}"