def _parse_command(msg_text):
        """
        Parse message text as /<command> [argument]
        Further parsing of `argument` is left for specific
        implementations of `AbstractTelegramChatSession.handle_command`
        """
        if not msg_text.startswith('/'):
            raise ValueError('The command must start with /')

        command_and_arg = msg_text[1:].strip().split(' ', 1)
        command = command_and_arg[0]
        arg = command_and_arg[1] if len(command_and_arg) > 1 else ''
        return command, arg

        Parse message text as /<command> [argument]
        Further parsing of `argument` is left for specific
        implementations of `AbstractTelegramChatSession.handle_command`
        
cakechat/utils/telegram_bot_client.py